http://bugs.winehq.org/show_bug.cgi?id=58371
Bug ID: 58371 Summary: Battlefield 2 Caps Lock menu annoying pop ups Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: totibuluduj@punkproof.com Distribution: ---
Enter a BF2 match, press Caps lock, run around, the kit/squads menu pops up 4 times, then press Caps lock again to close it, it pops up 4 more times. Then it finally stops popping up randomly, until the next time you press Caps lock, then repeat above. Fast team play in infantry maps is impossible because of this infuriating bug.
http://bugs.winehq.org/show_bug.cgi?id=58371
--- Comment #1 from totibuluduj@punkproof.com --- Using Wine-GE-8-26 because the game wont start with vanilla Wine 10.x
http://bugs.winehq.org/show_bug.cgi?id=58371
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Ken Sharp imwellcushtymelike@gmail.com --- Report it to Wine-GE then.
http://bugs.winehq.org/show_bug.cgi?id=58371
--- Comment #3 from totibuluduj@punkproof.com --- I have just reproduced this bug in
$ wine --version wine-10.0
http://bugs.winehq.org/show_bug.cgi?id=58371
totibuluduj@punkproof.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |--- Version|unspecified |10.0 Status|RESOLVED |UNCONFIRMED
--- Comment #4 from totibuluduj@punkproof.com --- Opened a new bug since this was erroneously marked as invalid.
http://bugs.winehq.org/show_bug.cgi?id=58371
--- Comment #5 from Ken Sharp imwellcushtymelike@gmail.com --- *** Bug 58374 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=58371
--- Comment #6 from Ken Sharp imwellcushtymelike@gmail.com --- Now provide the required information. https://gitlab.winehq.org/wine/wine/-/wikis/Bugs
http://bugs.winehq.org/show_bug.cgi?id=58371
--- Comment #7 from totibuluduj@punkproof.com --- (In reply to Ken Sharp from comment #6)
Now provide the required information. https://gitlab.winehq.org/wine/wine/-/wikis/Bugs
TL:DR on that? 100+ lines on how to report a bug? Jesus
http://bugs.winehq.org/show_bug.cgi?id=58371
--- Comment #8 from Rafał Mużyło galtgendo@o2.pl --- Hmm...
On one hand, the responder seems to be going over last week or so through a minor meltdown alike to one of my own extended hissfits.
On the other, the report looked somewhat lacking (and any reporter should read either a project-specific document or a more generic one, just so they (roughly) known what info is relevant and how can they provide it; also that GE version besides being a mini-fork, looks also quite a bit out of date).
Though given this specific bug, getting good info might be tricky. It's not a crasher, just a possible input handling bug. It might be processing the input, it might be input focus - it *seems* 'keyboard' is the debug channel you should look at. Does the problem still happen if you assign the function to a different key ?
(also, there's still a chance it's something specific to the reporter's hardware setup)
I'd say it's a coin toss if this will be something interesting or not - if it actually pops up *exactly* 4 times on each press (and isn't a hardware problem), it would be a bit too consistent for a simple timing bug...
http://bugs.winehq.org/show_bug.cgi?id=58371
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEEDINFO Ever confirmed|0 |1
http://bugs.winehq.org/show_bug.cgi?id=58371
DanielGGGG daniel.gaba@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.gaba@protonmail.com
--- Comment #9 from DanielGGGG daniel.gaba@protonmail.com --- I think you getting same bug as I do in Arma 3 and Arma Reforger. https://bugs.winehq.org/show_bug.cgi?id=57958
It's all related to handling of CAPS-LOCK in X11 when there is another key already pressed with it. This only happens when Caps Lock is already on.
If you need any debug info let me know
http://bugs.winehq.org/show_bug.cgi?id=58371
--- Comment #10 from DanielGGGG daniel.gaba@protonmail.com --- Created attachment 79441 --> http://bugs.winehq.org/attachment.cgi?id=79441 Debug
I am not sure if this is usefull full debug output in attachment
I run notepad via wine 10.16 WINEDEBUG=+key,+keyboard wine notepad &>> /tmp/output2.log
1. Caps lock state is off 2. Press and hold W button 3. Press and hold Caps Lock button 4. Release Caps lock button 5. Release W button
On pressing CAPS LOCK generated input 00f8:trace:key:X11DRV_send_keyboard_input hwnd 0x1006e vkey=0014 scan=003a flags=0000
And while releasing CAPS LOCK it generated 00f8:trace:key:X11DRV_send_keyboard_input hwnd 0x1006e vkey=0014 scan=003a flags=0002
1. Caps lock state is on 2. Press and hold C button 3. Press and hold Caps Lock button 4. Release Caps lock button 5. Release C button
In this case on pressing caps lock it generated 1 input 00f8:trace:key:X11DRV_send_keyboard_input hwnd 0x1006e vkey=0014 scan=003a flags=0000
and after few lines it generated 2 caps lock inputs 00f8:trace:key:X11DRV_send_keyboard_input hwnd 0x1006e vkey=0014 scan=003a flags=0002 00f8:trace:key:X11DRV_send_keyboard_input hwnd 0x1006e vkey=0014 scan=003a flags=0000
and on Caps lock key release it generate Caps lock input X11DRV_send_keyboard_input hwnd 0x1006e vkey=0014 scan=003a flags=0002
and after few lines it generate 2 more caps lock input 00f8:trace:key:X11DRV_send_keyboard_input hwnd 0x1006e vkey=0014 scan=003a flags=0000 00f8:trace:key:X11DRV_send_keyboard_input hwnd 0x1006e vkey=0014 scan=003a flags=0002