D18575: Remove warning before hidding the MenuBar

Tomaz Canabrava noreply at phabricator.kde.org
Thu Feb 14 09:29:53 GMT 2019


tcanabrava added a comment.


  In D18575#401418 <https://phabricator.kde.org/D18575#401418>, @ngraham wrote:
  
  > > No other KDE app does this
  >
  > That's not true. Kate and Gwenview do this too, and for good reason: without this warning, there's no way to know how to get the menu bar back again if you remove it by accident and/or don't know about the [ctrl] + [m] shortcut.
  >
  > Konsole doesn't show a warning because it's a power user app; presumably the user knows what he/she is doing. Dolphin doesn't have this warning because it automatically creates a menu-like toolbar button when the menubar is hidden, which is an acceptable alternative. But for apps that don't do this or something else (e.g. putting the menubar in the titlebar instead) we need to show an ugly warning like this.
  
  
  I can argue that the ksysguard is also a power user app, but I'll now argue something else:
  The hidding / displaying the menus should not be the *app* responsability, but KXmlGuiWindow. If this code is moved there, all apps that are currently doing this manually can benefit the feature and have a tiny bit less code.

REPOSITORY
  R106 KSysguard

REVISION DETAIL
  https://phabricator.kde.org/D18575

To: tcanabrava, ngraham
Cc: ngraham, plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190214/f729af89/attachment.html>


More information about the Plasma-devel mailing list