https://bugs.winehq.org/show_bug.cgi?id=56029
Bug ID: 56029 Summary: After focusing the window behaves as if the left mouse button is pressed and hold. Product: Wine Version: 8.21 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: johnfound@asm32.info Distribution: ---
Maybe this regression is already reported, but it is so strange, that I was not able to find it in the reports.
The effect is that if the uses switches to WINE application by Alt-Tab for example, it behaves as if the left mouse button was pressed and hold. For example, if there is a text editor, a mouse selection starts and moving the mouse you select text as if the left mouse button is pressed.
In order to stop this behavior, you need to click with some of the mouse buttons on the window (regardless of what button).
In addition, sometimes after activating the window, the focus moves to the main menu as if the Alt key was pressed.
These both appears on random intervals somehow related to what you do in the window.
The most reproducible procedure is the following:
1. Open two "notepad" instances with text files big enough to fills the whole window.
2. Switch to the **other** notepad window by Alt-Tab, click somewhere in the text.
2.1 If the text caret moves successfully, goto 2.
2.2 If text caret simply disappears from the initial position but not appeared where you clicked, go to 3
3. Switch to the other window by Alt-Tab, move the mouse, without pressing buttons, the text is selected after the mouse cursor.
This behavior stops when you press the left mouse button once on the text. Another way is to press Alt key in order to enter the main menu and then again to return to the text.
https://bugs.winehq.org/show_bug.cgi?id=56029
--- Comment #1 from John Found johnfound@asm32.info --- I just now found that this bug is similar to the bug reported by me earlier:
https://bugs.winehq.org/show_bug.cgi?id=45385
The difference is only that it was related to keyboard modifier keys, now it is about the mouse buttons.
But in general, the behavior is very similar. And possibly the source of both bugs is the same.
https://bugs.winehq.org/show_bug.cgi?id=56029
--- Comment #2 from Austin English austinenglish@gmail.com --- Can you please run a regression test?
https://wiki.winehq.org/Regression_Testing
https://bugs.winehq.org/show_bug.cgi?id=56029
--- Comment #3 from John Found johnfound@asm32.info --- (In reply to Austin English from comment #2)
Can you please run a regression test?
I will try, but I am really busy these days. Maybe in January...