Summary: | Titlebar Buttons: "More actions for this window" vs "menu" button | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | John Veness <john.kde> |
Component: | kcm_kwindecoration | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nate, plasma-bugs-null |
Priority: | NOR | ||
Version First Reported In: | 6.2.5 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/3156e90b35fbeae000186eb92397cdf5c011476b | Version Fixed In: | 6.5.0 |
Sentry Crash Report: | |||
Attachments: | Titlebar Buttons window |
Confirmed on: Operating System: Solus 4.7 KDE Plasma Version: 6.2.5 KDE Frameworks Version: 6.10.0 Qt Version: 6.8.1 Kernel Version: 6.12.9-312.current (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 PRO 4750U with Radeon Graphics Memory: 29.1 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: LENOVO Product Name: 20Y1001SAU System Version: ThinkPad P14s Gen 1 The button it is referring to is the 'More actions for this window` button. Indeed. It's a pretty simple fix; wanna submit a merge request to fix it? You'll need to change the labels in the following files: - https://invent.kde.org/plasma/kwin/-/blob/master/src/kcms/decoration/ui/ConfigureTitlebar.qml?ref_type=heads#L35 - https://invent.kde.org/plasma/kwin/-/blob/master/doc/kwindecoration/index.docbook?ref_type=heads#L138 - https://invent.kde.org/plasma/kwin/-/blob/master/src/kcms/decoration/kwindecorationsettings.kcfg?ref_type=heads#L38 I'll have a go :) Searching, I think the name of the button is in https://invent.kde.org/plasma/kwin/-/blob/master/src/kcms/decoration/declarative-plugin/buttonsmodel.cpp?ref_type=heads#L56 yes? And changing it there won't change the tooltip if you hover over this button in a real window? In the Titlebar Buttons KCM, should we actually call the button "Window menu" maybe, rather than just "Menu", seeing as there's also "Application menu"? Sure, changing the name given to the app icon's menu is another option. Changing that string you found will indeed change the tooltip text though. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/7203 Git commit 3156e90b35fbeae000186eb92397cdf5c011476b by Nate Graham, on behalf of John Veness. Committed on 29/05/2025 at 14:22. Pushed by ngraham into branch 'master'. Unify name for the "window menu" and its button This commit unifies the user-visible name for what I've called the "window menu", and its associated button. This is the button that is by default in the top-left of a window with the application's icon, and that shows the menu with Maximize, Minimize, Close etc. when clicked. At least at some point in the past, this was simply called the "Menu button" and that text was still in use in some places. More recently the name for the button (shown in the tooltip and in the Titlebar Buttons KCM) was changed to "More actions for this window". The keyboard shortcuts KCM called it "Window Operations Menu". The window behavior KCM called it the "Actions Menu". Now let's unify on "window menu". Related: bug 504807 FIXED-IN: 6.5.0 M +1 -1 autotests/integration/globalshortcuts_test.cpp M +2 -1 doc/kwindecoration/index.docbook M +11 -1 doc/windowbehaviour/index.docbook M +1 -1 src/kcms/decoration/declarative-plugin/buttonsmodel.cpp M +1 -1 src/kcms/decoration/kwindecorationsettings.kcfg M +2 -2 src/kcms/decoration/ui/ConfigureTitlebar.qml M +3 -3 src/kcms/options/actions.ui M +6 -6 src/kcms/options/mouse.ui M +6 -6 src/useractions.cpp M +1 -2 src/workspace.h https://invent.kde.org/plasma/kwin/-/commit/3156e90b35fbeae000186eb92397cdf5c011476b Git commit 111a4128387124f12ab18de353f21be39308d98b by Nate Graham, on behalf of John Veness. Committed on 30/05/2025 at 16:37. Pushed by ngraham into branch 'master'. Change tooltip for window menu button To match 3156e90b35fbeae000186eb92397cdf5c011476b in KWin. M +1 -1 src/decorationbutton.cpp https://invent.kde.org/plasma/kdecoration/-/commit/111a4128387124f12ab18de353f21be39308d98b |
Created attachment 178085 [details] Titlebar Buttons window SUMMARY In the Window Decorations KCM, Titlebar Buttons section, there is a checkbox labelled "Close windows by double clicking the menu button". However, the "menu" button is now referred to as "More actions for this window", so there's an inconsistency. STEPS TO REPRODUCE 1. Open System Settings 2. Browse to Colours & Themes > Window Decorations > Configure Titlebar Buttons OBSERVED RESULT A checkbox is labelled "Close windows by double clicking the menu button" but seemingly there is no "menu" button available for the titlebar. EXPECTED RESULT The checkbox wording and the button wording to match. SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20250206 KDE Plasma Version: 6.2.5 KDE Frameworks Version: 6.10.0 Qt Version: 6.8.2 Kernel Version: 6.13.1-1-default (64-bit) Graphics Platform: X11 ADDITIONAL INFORMATION "Close windows by double clicking the "More actions for this window" button" would obviously be a bit long-winded. So maybe the button called be called the Menu button in the KCM when dragging the buttons around. Presumably things could be done so that "More actions for this window" continues to show as a tooltip when hovering over the button in real windows.