[PATCH] Explicitly show the menubar after mainwindow initialisation.

Dirk Hohndel dirk at hohndel.org
Tue Aug 25 08:42:19 PDT 2015


On Tue, Aug 25, 2015 at 09:06:46AM +0000, Sander M. Kleijwegt wrote:
> Hi All,
> 
> I have stumbled into a problem on my ubuntu 14.04 machine with XFCE. I am _not_ using the global menu bar that ubuntu has standard nowadays but instead I am using 'classical' menubars inside each application. However, with subsurface, I found that the menubar is nowhere to be found, whereas other Qt apps do show menubars properly. I am not very familiar with Qt but I have discovered that at the end of the MainWindow initialisation ui.menubar->isVisible() returns false. A simple ui.menubar->show() fixes my problem and gives me a visible menubar.
> As said, I have no idea if this is the right way(tm) to do things, so any comments and/or help would be greatly appreciated. 
> 
> I have also found ticket #833 which seems to describe the same problem I encountered. That ticket was set to 'workasdesigned' with a note that it is a Qt bug, but since I can circumvent it with my patch it seems the problem is indeed with subsurface.

The subject says "[PATCH]" yet I don't see a patch attached. Would you
mind sending one (with you Signed-off-by: line)? This sounds like it would
do no harm on other platforms and if it fixes a problem for you I'm
inclined to take it.

Thanks!

/D


More information about the subsurface mailing list