http://bugs.winehq.org/show_bug.cgi?id=30561
Bug #: 30561 Summary: Intercept Alt-F1/Alt-F2 combinations in wineconsole Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: techtonik@gmail.com Classification: Unclassified
Orthodox file managers, such as Far Manager, DN and etc. use hardwired Alt-F1/Alt-F2 shortcuts for calling disk menu. These are the most frequently used ones and there should be a way to processes them in wineconsole application instead of giving up the control to system.
http://bugs.winehq.org/show_bug.cgi?id=30561
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |adys.wh@gmail.com Resolution| |DUPLICATE
--- Comment #1 from Jerome Leclanche adys.wh@gmail.com 2012-05-01 03:02:33 CDT --- Dupe of bug 24107 I'd think. Someone revert if it's not.
*** This bug has been marked as a duplicate of bug 24107 ***
http://bugs.winehq.org/show_bug.cgi?id=30561
anatoly techtonik techtonik@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|DUPLICATE |
--- Comment #2 from anatoly techtonik techtonik@gmail.com 2012-05-01 03:27:13 CDT --- That's not a duplicate. #24107 is about GUI application I believe and this one is about applications managed by wineconsole window.
http://bugs.winehq.org/show_bug.cgi?id=30561
--- Comment #3 from Jerome Leclanche adys.wh@gmail.com 2012-05-01 03:28:11 CDT --- If your window manager intercepts the keybind, it doesn't matter whether it's gui or not, the keybind gets intercepted and wine never receives it.
http://bugs.winehq.org/show_bug.cgi?id=30561
--- Comment #4 from anatoly techtonik techtonik@gmail.com 2012-05-01 03:31:43 CDT --- SDL games under Linux can intercept those keys. Why wineconsole is different?
http://bugs.winehq.org/show_bug.cgi?id=30561
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2012-05-01 03:39:15 CDT --- Wineconsole can't know which keys are important to the program, it would have to intercept everything and break all window manager actions.
*** This bug has been marked as a duplicate of bug 24107 ***
http://bugs.winehq.org/show_bug.cgi?id=30561
anatoly techtonik techtonik@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|DUPLICATE |
--- Comment #6 from anatoly techtonik techtonik@gmail.com 2012-05-01 03:51:14 CDT --- You are not right. Wineconsole is a tool with command line parameters and it can be told what keys are important for the program, so there is a way for it to know that. This is what this report is about.
It is possible to specify from command line, which system key combinations are vital for the program. --keys-exclusive="AltF1 AltF2" - would be nice.
Another way is like VirtualBox does - intercepts all keyboard input in windowed mode unless you press a certain master key (for example, RCtrl). wineconsole can have another command line parameter like --master-key for switching in/out of exclusive mode.
There is a third way - use context menu on the wineconsole screen to configure exclusive keys and persist the configuration.
http://bugs.winehq.org/show_bug.cgi?id=30561
--- Comment #7 from anatoly techtonik techtonik@gmail.com 2012-05-01 03:52:56 CDT --- So, there are at least 3 ways to make Far Manager and other similar tools usable through Wine without sacrificing anything.
http://bugs.winehq.org/show_bug.cgi?id=30561
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |enhancement
http://bugs.winehq.org/show_bug.cgi?id=30561
--- Comment #8 from Artem S. Tashkinov t.artem@mailcity.com 2012-05-01 04:54:08 CDT --- Strangely Alt+F1 and Alt+F2 work just fine for me.
It seems like your DE or Window Manager has these shortcuts assigned for something else, and if it's the case, I don't think you should blame Wine - fix your keyboards shortcuts at first.
In Windows, I believe, you cannot even assign system level shortcuts to applications, e.g. try to make any application react to Win+R - your app just won't be able to intercept this shortcut unless the app reads events directly from the keyboard driver.
I guess this bug is INVALID/WONTFIX.
http://bugs.winehq.org/show_bug.cgi?id=30561
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #9 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-05-01 07:55:37 CDT --- Work fine here as well. Configure your window manager to not use Alt-F1, Alt-F2.
*** This bug has been marked as a duplicate of bug 24107 ***
http://bugs.winehq.org/show_bug.cgi?id=30561
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-05-01 07:57:16 CDT --- Tested with far2 and wine-1.5.3.
Closing duplicate.
Wine can't and won't intercept all keys for a sake of it. It's expensive and highly unreliable. Regardless how much applications this might break.
http://bugs.winehq.org/show_bug.cgi?id=30561
--- Comment #11 from anatoly techtonik techtonik@gmail.com 2012-05-01 10:09:18 CDT --- (In reply to comment #8)
Strangely Alt+F1 and Alt+F2 work just fine for me.
Try GNOME 3.
In Windows, I believe, you cannot even assign system level shortcuts to applications, e.g. try to make any application react to Win+R - your app just won't be able to intercept this shortcut unless the app reads events directly from the keyboard driver.
Read above. VirtualBox is able to cope with that even on Windows, and I can't see why wineconsole can't do that too.
I guess this bug is INVALID/WONTFIX.
I'd leave it as enhancement until somebody proves it is not feasible.
http://bugs.winehq.org/show_bug.cgi?id=30561
anatoly techtonik techtonik@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|DUPLICATE |
--- Comment #12 from anatoly techtonik techtonik@gmail.com 2012-05-01 10:20:56 CDT --- (In reply to comment #9)
Work fine here as well. Configure your window manager to not use Alt-F1, Alt-F2.
I'd like to avoid touching global configuration if there is a way to override that only for a single window.
(In reply to comment #10)
Tested with far2 and wine-1.5.3.
Far2, Wine 1.5.1, Fedora 16 stable.
Closing duplicate.
Wine can't and won't intercept all keys for a sake of it. It's expensive and highly unreliable. Regardless how much applications this might break.
Your logic is contradicting. "Wine can't" and "It's expensive" are mutually exclusive. Can you tell why VirtualBox is reliable? Can you confirm that wineconsole and wine in your context are the same thing (I speak only about wineconsole)?
Unless there is a proof for a serious technical problem I'd like to keep this as an enhancement. There are chances that somebody finds a way to copy/paste relevant code from VirtualBox and make the behaviour optional.
http://bugs.winehq.org/show_bug.cgi?id=30561
--- Comment #13 from Jerome Leclanche adys.wh@gmail.com 2012-05-01 10:24:39 CDT --- (In reply to comment #12) I'd recommend not having an open-close war with the people who actually work on those areas...
http://bugs.winehq.org/show_bug.cgi?id=30561
--- Comment #14 from anatoly techtonik techtonik@gmail.com 2012-05-01 14:09:52 CDT --- (In reply to comment #13)
(In reply to comment #12) I'd recommend not having an open-close war with the people who actually work on those areas...
Sorry, but this tracker enforces this workflow. In Roundup you have 'chatting' status. In Launchpad it is a known problem that is also addressed - https://dev.launchpad.net/LEP/CloseBugsLeaveDiscussionsOpen
http://bugs.winehq.org/show_bug.cgi?id=30561
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX
--- Comment #15 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-05-01 18:53:12 CDT --- If you want a won't fix then it will be won't fix. Wine does not and will not intercept keyboard events like vmware does. Wine is not a virtual machine. And console emulator is not a game that intercepts all keyboard events.
http://bugs.winehq.org/show_bug.cgi?id=30561
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-05-01 18:53:46 CDT --- Please don't reopen or we'll be forced to ban your account from Wine bugzilla.