material-decoration icon indicating copy to clipboard operation
material-decoration copied to clipboard

[Feature Request] Show window title before the menu

Open emvaized opened this issue 4 years ago • 2 comments

It would be nice if there will be an option to show window title before the menu, like this: illustration

emvaized avatar Jun 18 '21 03:06 emvaized

This would makes sense to add as this is the look most mac top panels have. However most window captions are really long. I'd probably need to draw the application name instead of the client's caption property.

  • https://invent.kde.org/plasma/kdecoration/-/blob/master/src/decoratedclient.h#L50-53
  • https://invent.kde.org/plasma/kwin/-/blob/master/src/abstract_client.h#L174-178

Zren avatar Jun 18 '21 04:06 Zren

AbstractClient::iconFromDesktopFile has a good example of reading the Icon from the desktop file which we can use as an example to get the name.

  • https://invent.kde.org/plasma/kwin/-/blob/master/src/abstract_client.cpp#L2642
  • https://api.kde.org/frameworks/kconfig/html/classKDesktopFile.html

Zren avatar Jan 20 '22 18:01 Zren