<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p dir="ltr">And the patch....<br>
________________________________________<br>
> From: subsurface [subsurface-bounces@subsurface-divelog.org] on behalf of Sander M. Kleijwegt [Sander@MyOwnDomain.nl]<br>
> Sent: Tuesday, August 25, 2015 11:06<br>
> To: Subsurface Mailing List<br>
> Subject: [PATCH] Explicitly show the menubar after mainwindow initialisation.<br>
><br>
> Hi All,<br>
><br>
> 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.<br>
> 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.<br>
><br>
> 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.<br>
><br>
> kind regards,<br>
> Sander Kleijwegt<br>
> _______________________________________________<br>
> subsurface mailing list<br>
> subsurface@subsurface-divelog.org<br>
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface<br>
</p>
</body>
</html>