www.cendio.com

Bug 6054

Summary: clipboard textarea interferes with mouse input
Product: ThinLinc Reporter: Pierre Ossman <ossman@cendio.se>
Component: Web AccessAssignee: Samuel Mannehed <samuel@cendio.se>
Status: NEW QA Contact: Bugzilla mail exporter <bugzilla-qa@cendio.se>
Severity: Normal    
Priority: P2 CC: astrand@cendio.se, hean01@cendio.se
Version: trunkKeywords: focus_focus
Target Milestone: MediumPrio   
Hardware: PC   
OS: Unknown   
Acceptance Criteria:

Description From cendio 2016-10-13 11:19:17
Mouse events fail to be delivered when the clipboard textarea has focus in the
HTML client. This is noticed in several ways:

 - The first click in the session is dropped
 - If local cursor is disabled then you don't see the mouse move around (IE and
Edge)
 - Middle click can trigger a scroll mode if the session is larger than the
browser window
------- Comment #1 From cendio 2017-04-10 16:15:58 -------
Verified that Chrome, Firefox and Edge does not suffer from this problem on
Windows 10  platform.

However i found that IE is even worse then this, when clicking within the
session the clipboard windows wont release its focus and you cant write into
the session. You are forced to click the clipboard toggle button to get input
back into the session.
------- Comment #2 From cendio 2017-04-10 16:17:11 -------
Also verified that Chrome on Linux platform is not affected.
------- Comment #3 From cendio 2017-04-11 14:33:35 -------
(In reply to comment #2)
> Also verified that Chrome on Linux platform is not affected.

This works as announced while clicking in gedit, but when clicking into xterm
it fails.
------- Comment #4 From cendio 2017-04-11 14:56:02 -------
(In reply to comment #3)
> This works as announced while clicking in gedit, but when clicking into xterm
> it fails.

Could be the difference in behavior between GTK2 and GTK3 that we have seen
before. I believe one of them react on click and the other on mouse-up.

My theory is that mouse down and click are not sent the first time you click in
the session after using the clipboard. Mouse-up seems to go through though.