View Single Post
Old 11-27-2023, 09:51 AM   #52
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,884
Karma: 6120478
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by philja View Post
F2 on my Sigil in linux is the shortcut assigned to open an external xhtml editor.
You can of course change that in Sigil Preferences and it should depend on which widget has keyboard focus at that time. If focus is in the BookBrowser and one file is selected, F2 should in fact be passed to BookBrowser first who should process and absorb it since it has the focus. Only OS system shortcuts should be able grab focus from any widgets.

Please give that a try (highlight a file in BookBrowser when it has been given focus using the new focus on Bookbrowser key sequence and hit F2). It should allow you to edit the file name and not launch the External Editor.

But to tell you the truth, Qt's whole idea of a platform specific "edit key" and a platform specific "activation" key are strange imho.

I would never think to hit Apple-Shift-O to "activate anything" where as hitting Enter or Return once something is selected seems intuitive.

Since the change to allow "activation" in the TableOfContents is only a one line change, I have pushed that change to master for the next release.

Please verify it works for you if you build from master - just update to the latest copy of Sigil/src/MainUI/TableOfContents.cpp - the only change is there.

Last edited by KevinH; 11-27-2023 at 10:18 AM.
KevinH is offline   Reply With Quote