-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Screen list" and related M-`, M-{ and M-} do not work from "find file" list #2967
Comments
Editor/viewer opened from find result is modal and doesn't provide switch to another screen. This is a feature. |
Hmm.. This is not a feature, this is a very annoying behavior. |
|
|
I was thinking a lot of about this "feature"...
But I did not realize what it's for...
So, i upload a patch to fix this annoying thing.
This patch changes 8 little thing:
The last one is a crucial step... because the whole dialog switching code is quite hmm... "hacky" |
Replying to szaszg:
Yes. And DLG_ALLOW_SL is a hack for hack. |
Replying to andrew_b:
Hmm.. I don't think so... this is just a dialog flag wich allow the key combos to works with the flagged ones... where is the "hack"???
Not the DLG_ALLOW_SL is a hack (or "hack of the hack"), maximum the 8th step: we cannot select a dialog after remove one freely and we always switch back to [main] dialog in dialog_switch_remove(). But this is neccessary because, when editor (and maybe viewer) ends it explicitly update the [main] dialog (even dialog_switch_remove() select an other dialog) with update_panels(), and so [main]->[find file] gain the "focus" not the "selected" one...
So, if somebody rewrite the whole code (of dialog switching), than this 8th step (mc_current = g_list_last(mc_dialog);) may be rewriten too (e.g. to select the previouse dialog, if one closed).
(BTW IMHO the hackiest part of the dialog switching code, is the dialog_switch_goto() and everything around them ... :-) |
BTW.: I am very pleased to talk about this ;-)
May i ask:
Just a word about "DLG_ALLOW_SL is hacky" thing again:
|
|
Important
This issue was migrated from Trac:
szaszg
(szaszg@….inter.net)gotar@….pl
From panels: Find File -> open a file from the list and now M-`, M-{ and M-} hotkeys do not work.
Note
Original attachments:
szaszg
(szaszg@….inter.net) onFeb 18, 2014 at 22:12 UTC
The text was updated successfully, but these errors were encountered: