https://bugs.kde.org/show_bug.cgi?id=375951

--- Comment #46 from Paul McAuley <k...@paulmcauley.com> ---
Created attachment 135969
  --> https://bugs.kde.org/attachment.cgi?id=135969&action=edit
Mock-up showing feature implementation idea in Strawberry

Attached are some mock-ups of a few example applications exploring how I would
implement this feature.

If I were to design it for a default mainstream implementation, I would not
ever hide or replace the title as hiding information from the user is not
intuitive, and it is not up to the window manager to decide if the title is
useful. I would never hide the menu (as I have seen in some implementations,
only showing on mouse-over) as this is not intuitive either. Instead, I would
reserve a minimum width for the title and try to show the menu and title
side-by-side, re-centring the title towards the right-hand-side (assuming a
left-to-right language). Reserving space for the title also guarantees a
draggable area.

If there were not enough space for both the menu and the title to be displayed
side-by-side, then I would simply not show the menu in the titlebar, instead
showing the menu in its normal place. I do not think collapsing the menu into a
small icon or overflow icon is usable as it is both harder to click and hides
functionality from the user. To reiterate, I am discussing default behaviour,
with different behaviour configurable in the settings.

On the appearance of the menu in the titlebar, I have added drop-down arrows to
the menu items in my mock-ups. This is to distinguish the interactivity of the
menu from the title, and is consistent with how things are done in GTK
applications with client-side decorations. One small issue with this is that
the default Breeze window decorations have a (IMO illogical, as I argued at
length at https://forum.kde.org/viewtopic.php?f=83&t=109466&start=15#p370821 )
minimize button which looks the same as a menu drop-down; in my mock-ups I use
my own Ozone window decoration which does not have this issue (
https://www.pling.com/p/1482837/ ).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to