[Bug 41732] New: wineconsole: changing to emacs mode requires restart
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(a)winehq.org Reporter: jre.winesim(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41732 fjfrackiewicz(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz(a)gmail.com --- Comment #1 from fjfrackiewicz(a)gmail.com --- Is the issue fixed by this commit: http://source.winehq.org/git/wine.git/commit/6a3ffc4f3fa4c3b11658dce4a941e9f... ? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41732 Jens Reyer <jre.winesim(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jre.winesim(a)gmail.com --- Comment #2 from Jens Reyer <jre.winesim(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41732 Hugh McMaster <hugh.mcmaster(a)outlook.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hugh.mcmaster(a)outlook.com --- Comment #3 from Hugh McMaster <hugh.mcmaster(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41732 --- Comment #4 from Jens Reyer <jre.winesim(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41732 winetest(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dimesio(a)earthlink.net, | |winetest(a)luukku.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41732 Jens Reyer <jre.winesim(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |6a3ffc4f3fa4c3b11658dce4a94 | |1e9ffcbf34317 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Jens Reyer <jre.winesim(a)gmail.com> --- Marking fixed. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41732 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 2.0-rc3. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41732 Michael Stefaniuc <mstefani(a)redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.8.x -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41732 Michael Stefaniuc <mstefani(a)redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |--- --- Comment #7 from Michael Stefaniuc <mstefani(a)redhat.com> --- Removing 1.8.x milestone from bugs included in 1.8.7. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org