https://bugs.winehq.org/show_bug.cgi?id=41732
Bug ID: 41732 Summary: wineconsole: changing to emacs mode requires restart Product: Wine Version: 1.9.23 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: tools Assignee: wine-bugs@winehq.org Reporter: jre.winesim@gmail.com Distribution: ---
Changing the wineconsole to emacs mode only takes effect after restarting the wineconsole.
In a newly created wineprefix: $ wineconsole Right-click -> Properties Setup - Current settings -> Configuration -> Choose Edition: Emacs -> Keep "Modify only current session" ==> Emacs shortcuts get printed literally to the command prompt. E.g. "foo" + "Ctrl" + "w" results in "foo^W" instead of moving "foo" to the buffer.
If I change it to Emacs and then choose "Retain these settings for later sessions" it works, but only after restarting the wineconsole. E.g. "foo" + "Ctrl" + "w" removes "foo" from the terminal prompt and puts it in the buffer.
The same if I directly change the defaults $ wineconsole Right-click -> Set defaults Setup - Default settings -> Configuration -> Choose Edition: Emacs ==> Shortcut is written literally to the command prompt. -> Restart wineconsole ==> Shortcut works as expected.
https://bugs.winehq.org/show_bug.cgi?id=41732
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #1 from fjfrackiewicz@gmail.com --- Is the issue fixed by this commit: http://source.winehq.org/git/wine.git/commit/6a3ffc4f3fa4c3b11658dce4a941e9f... ?
https://bugs.winehq.org/show_bug.cgi?id=41732
Jens Reyer jre.winesim@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jre.winesim@gmail.com
--- Comment #2 from Jens Reyer jre.winesim@gmail.com --- Yes, thanks a lot!
"Modify only current session" now works as expected.
Just note that "Retain these settings for later sessions" and "Set defaults" still require a restart to take effect. But maybe this is intended.
https://bugs.winehq.org/show_bug.cgi?id=41732
Hugh McMaster hugh.mcmaster@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hugh.mcmaster@outlook.com
--- Comment #3 from Hugh McMaster hugh.mcmaster@outlook.com --- (In reply to Jens Reyer from comment #2)
Just note that "Retain these settings for later sessions" and "Set defaults" still require a restart to take effect. But maybe this is intended.
"Set defaults" doesn't change the active console settings. That's why you don't see any difference until restarting the console.
I tested the "Retain these settings for later sessions" option again and found that the keyboard configuration changed to Emacs mode immediately.
I'm using Linux Mint 18 with the latest git version (Wine 2.0-rc2).
By the way, prior to the patch being applied, pressing Enter/Return caused the configuration to change.
https://bugs.winehq.org/show_bug.cgi?id=41732
--- Comment #4 from Jens Reyer jre.winesim@gmail.com --- (In reply to Hugh McMaster from comment #3)
"Set defaults" doesn't change the active console settings. That's why you don't see any difference until restarting the console.
ACK
I tested the "Retain these settings for later sessions" option again and found that the keyboard configuration changed to Emacs mode immediately.
[...]
By the way, prior to the patch being applied, pressing Enter/Return caused the configuration to change.
Ah, on a closer look it seems both "Modify only current session" and "Retain these settings for later sessions" behave the same in this respect:
Changing to emacs mode takes effect *after* the first keypress. (Only) the very first keypress is not interpreted correctly. No restart required.
While testing I didn't consider this (sometimes testing "Ctrl+Y" and sometimes "foo,Ctrl+Y"), and probably therefore came to a wrong conclusion.
I think in practice the behavior now is absolutely ok. Thanks again!
I'm using Linux Mint 18 with the latest git version (Wine 2.0-rc2).
Debian stretch (testing) with locally built Wine Debian packages. Last time I tested Wine 2.0-rc1 with your 2 related commits, and now 2.0-rc2.
https://bugs.winehq.org/show_bug.cgi?id=41732
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dimesio@earthlink.net, | |winetest@luukku.com
https://bugs.winehq.org/show_bug.cgi?id=41732
Jens Reyer jre.winesim@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |6a3ffc4f3fa4c3b11658dce4a94 | |1e9ffcbf34317 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Jens Reyer jre.winesim@gmail.com --- Marking fixed.
https://bugs.winehq.org/show_bug.cgi?id=41732
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.0-rc3.
https://bugs.winehq.org/show_bug.cgi?id=41732
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.8.x
https://bugs.winehq.org/show_bug.cgi?id=41732
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #7 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.7.