seq66
seq66 copied to clipboard
Option to close pattern windows with esc key?
Being able to close pattern windows with just a press of the esc key would make working within seq66 quite a bit easier IMO.
Well, the pattern window isn't really a dialog box. Window managers (even Windows) offer keystrokes to close windows. I configure both Fluxbox and Xfce4 to use Super-X. Plus Esc is already devoted to stopping playback or getting out of paint mode. Could devote the Windows key Alt-F4 to that purpose. Or Shift or Ctrl-Esc. Need to think about it...
On Wed, Sep 27, 2023 at 17:55 Milkii Brewster @.***> wrote:
Being able to close pattern windows with just a press of the esc key would make working within seq66 quite a bit easier IMO.
— Reply to this email directly, view it on GitHub https://github.com/ahlstromcj/seq66/issues/117, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB45LKADD3UM43CR4TVTMKLX4SOEZANCNFSM6AAAAAA5KAMSSM . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I guess I imagine it as being like a dialog box, or, at least, I imagine it as being a window I would like to close as quickly as a dialog box (given the number of times one has to open and close pattern windows throughout one's use of seq66). I'm using AwesomeWM with Mod4+q to close a window, but that's not as quick.
The default window-close key is Alt-F4 in Windows or Fluxbox. Not sure what it is in other window managers. I remap it to Super-X (Win-X) in Fluxbox for even more minimal movement.
As you see, I added a 'usr' option to enable this feature, which is not set by default (to avoid surprises). If playing, Esc just stops play. If in paint mode, Esc exits paint mode. Otherwise, if enabled, Esc closes the external pattern editor. In the portfix branch. Will make it official in version 0.99.10 in a week or two, working on some other issues.
Thank you very much!