Re: KStandardAction::showMenubar and native menubars

2016-11-06 Thread Albert Astals Cid
El diumenge, 6 de novembre de 2016, a les 10:43:42 CET, David Faure va escriure: > On mercredi 12 octobre 2016 00:05:30 CET Albert Astals Cid wrote: > > My current (yet to implement/test) idea is have > > KStandardAction::showMenubar check all the menubars of the top level > > windows of the app

Re: KStandardAction::showMenubar and native menubars

2016-11-06 Thread David Faure
On mercredi 12 octobre 2016 00:05:30 CET Albert Astals Cid wrote: > My current (yet to implement/test) idea is have KStandardAction::showMenubar > check all the menubars of the top level windows of the app and if they are > all marked as native, then return a dummy QAction that is not inserted in

Re: KStandardAction::showMenubar and native menubars

2016-10-12 Thread Aleix Pol
On Wed, Oct 12, 2016 at 12:05 AM, Albert Astals Cid wrote: > On platforms with native menubars (Mac, Unity) the showMenuBar action makes > no sense since the menubar is integrated in the desktop shell instead of the > application so the application gains no space by hiding/showing

Re: Fwd: KStandardAction::showMenubar and native menubars

2016-10-11 Thread René J . V . Bertin
On Wednesday October 12 2016 01:12:14 Marko Käning wrote: > > From: Albert Astals Cid > > My current (yet to implement/test) idea is have > > KStandardAction::showMenubar check all the menubars of the top level > > windows of the app and if they are all marked as native, then

KStandardAction::showMenubar and native menubars

2016-10-11 Thread Albert Astals Cid
On platforms with native menubars (Mac, Unity) the showMenuBar action makes no sense since the menubar is integrated in the desktop shell instead of the application so the application gains no space by hiding/showing the menubar (sometimes it isn't possible to hide it at all) So on thos