SUMMARY This implementation has already been done in other KDE apps and can be used as a reference: Dolphin: https://invent.kde.org/system/dolphin/-/merge_requests/71 Gwenview: https://invent.kde.org/graphics/gwenview/-/merge_requests/70 KMail: https://invent.kde.org/pim/kmail/-/commit/67743a529773302fd2180c8f1a752e2534f29775 It is also related to the issue where I proposed some changes to better organize kate large list of functions: https://bugs.kde.org/show_bug.cgi?id=439414
I think Kate might be a poor candidate for KHamburgerMenu, actually. It simply has so much functionality that I think it would be hard to implement without hiding too much of it or making the hamburger menu so tall that it defeats the point. Willing to be proven wrong, of course. :)
makes sense. I suggested some changes in bug 439414
I've seen the great progress made using the same codebase between kate and kwrite and i think the khaburguermenu implementation would be more welcome than ever now. KWrite could hide the menu bar entirely and have a much more minimalist interface
It might (emphasis on might) work for KWrite, but I still very much doubt we could make KHamburgerMenu work for Kate. Its menu structure is just too big. Too many things would be hidden and made less conveniently accessible.
I fail to see how that improves usability for KWrite. And it will break again the consistency we now reached between KWrite and Kate menu structure.
What I could see: If one hides the menu bar, one could add it as a hamburger menu as is, to still have it accessible via the toolbar. Or is that not feasible with how the hambuger menu stuff works?
That's exactly how it works, in fact. The exact contents of the hamburger menu are customizable. So you could just stick the existing menu structure in there. I guess that could be a way to implement it without tearing out your hair trying to come up with a curated selection of menu items, the way we do in Dolphin, Gwenview, and Okular.
If somebody provides a merge request for just that: If one toggles the "Show menu" option we already have to "off" => add KHamburgerMenu to toolbar, that would be acceptable. This would then at least be consistent in both applications, as now the code is shared. If it makes that much sense is a different question, but if people just want to hide the menu to have a cleaner style, so be it.
https://invent.kde.org/utilities/kate/-/merge_requests/899