Summary: | Bookmarks should have a top-level menu item rather than being hidden in the Go menu | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Luke-Jr <luke-jr+kdebugs> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | CONFIRMED --- | ||
Severity: | wishlist | CC: | christoph, groszdanielpub, loh.tar |
Priority: | NOR | ||
Version First Reported In: | 22.04.1 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Luke-Jr
2022-05-25 23:46:25 UTC
Hm, I have never used Bookmarks because the functionality was fuzzy to me. Did you know, Alt+PgUp/Down to jump to book marks? You can find these in ShortCut settings. (In reply to Lothar from comment #1) > Hm, I have never used Bookmarks because the functionality was fuzzy to me. > Did you know, Alt+PgUp/Down to jump to book marks? You can find these in > ShortCut settings. When you have a dozen or more bookmarks, you don't necessarily remember/care whether they are up or down. Being able to quickly see the entire list and select with the keyboard is crucial. I Agree. Last hint: You can reach the bookmarks by ToolBar. Settings->Show Toolbar. Customize the bar to include the book mark menu. Well, when you dislike the toolbar in general, like me, is that not a true substitute. Any idea what package I need to downgrade to get the menu back? Downgrading `kate` and `ktexteditor` don't seem to do the trick :( try to remove ~/.local/share/kxmlgui5/katepart/katepart5ui.rc (In reply to Lothar from comment #5) > try to remove ~/.local/share/kxmlgui5/katepart/katepart5ui.rc Thanks, that worked! With that taken care of, only ktexteditor needs to be downgraded it seems. (I wonder if there's a way to generate the katepart5ui.rc with the Bookmarks menu, to get it to stay in the newer version...) On top of this file is a version number, try to increase these e.g 98=>110 (so you have some updates left until it will replaced by a new one) But, how reliable that is... (In reply to Lothar from comment #7) > On top of this file is a version number, try to increase these e.g 98=>110 > (so you have some updates left until it will replaced by a new one) But, how > reliable that is... Good to know. But how do I get Kate to generate the file to start with? :) Um...not again there? Perhaps after close? Well, can't say how this is done :-) I have removed my some weeks ago, and there is now a new one. FWIW I'm now building KTextEditor with this (for some reason the main menu ONLY shows the icon if it's set): --- a/src/data/katepart5ui.rc +++ b/src/data/katepart5ui.rc @@ -115,6 +115,7 @@ <Action name="bookmarks" group="edit_goto2" /> </Menu> + <Action name="bookmarks" /> <Menu name="tools" noMerge="1"><text>&Tools</text> <Action name="tools_mode" group="tools_operations" /> <Action name="tools_highlighting" group="tools_operations" /> --- a/src/utils/katebookmarks.cpp +++ b/src/utils/katebookmarks.cpp @@ -74,7 +74,6 @@ void KateBookmarks::createActions(KActionCollection *ac) KActionMenu *actionMenu = new KActionMenu(i18n("&Bookmarks"), this); actionMenu->setPopupMode(QToolButton::InstantPopup); - actionMenu->setIcon(QIcon::fromTheme(QStringLiteral("bookmarks"))); ac->addAction(QStringLiteral("bookmarks"), actionMenu); m_bookmarksMenu = actionMenu->menu(); Another workaround: put Bookmarks on the toolbar (if you have one), and set the text to &Bookmarks. Then Alt+B works, even if the toolbar shows icons only. Another one is to edit the personal kxmlgui files, but that tends to get reset after updates. |