Bug 365725 - Menus in Ubuntu Unity 16.04 is show twice. This is when Unity is tweaked to show menus in the window title-bar instead of the menu bar.
Summary: Menus in Ubuntu Unity 16.04 is show twice. This is when Unity is tweaked to s...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-Menus (show other bugs)
Version: 5.1.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL: https://s31.postimg.org/6j69giqm3/Scr...
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-15 21:28 UTC by dajomu
Modified: 2022-01-31 13:19 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.9.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dajomu 2016-07-15 21:28:00 UTC
Menus in Ubuntu Unity 16.04 is show twice. This is when Unity is tweaked to show menus in the windows titlebar instead of the menu bar.

Reproducible: Always

Steps to Reproduce:
1. start digikam
2.
3.

Actual Results:  
double up with menus

Expected Results:  
Show menus in windows title bar only
Comment 1 dajomu 2016-08-06 20:26:09 UTC
When I try  to change the menu setting in Ubuntu 16.04 I get this result.
1. "Show the menu in the window's title bar"
      When digikam is not maximized, I get two menu bars on digikam and one menu in the global menu bar - three in total. When windows is maximized, I get two menu bars. One on digikam and one in global menu.

2. "Show the menu in menu bar (global)"
      When digikam is not maximized, I get one menu bar on digikam and one in global menu.
     When digikam is maximized, I get the same result.
Comment 2 caulier.gilles 2016-08-06 22:02:01 UTC
digiKam is the only one KDE application with this problem ?

What's about Kate, Krita, Konsole, etc...

Gilles Caulier
Comment 3 dajomu 2016-08-10 11:59:41 UTC
(In reply to caulier.gilles from comment #2)
> digiKam is the only one KDE application with this problem ?
> 
> What's about Kate, Krita, Konsole, etc...
> 
> Gilles Caulier

That is correct. This affects only Digikam. I will reinstall Ubuntu 16.04 and install digikam 5.1 to see if it is a bug caused by something else than Digikam.
Comment 4 dajomu 2016-08-12 21:58:34 UTC
I have just finished installing Ubuntu 16.04.1 and digikam 5.1. I have the same problem with duplicate menu's as shown in the picture in my bug-report.
Comment 5 dajomu 2016-08-17 12:30:47 UTC
Hi, 

I could not find many examples on internet, but I found a screenshot on this web-page that confirms that I am not the only one experiencing this. It is for digikam 5.0 though, but the issue persist in 5.1.
http://www.ubuntumaniac.com/2016/07/digikam-500-is-released-available-ppa.html
Comment 6 caulier.gilles 2016-08-17 12:53:47 UTC
But mys question still valid : What's about other KDE application as KWrite, Kate, GWenview, Krita, Konsole, etc ?

Does the application menu is duplicated ?

This question is import. If yes, the problem is located in KF5 framework, else the problem is in digiKam.

Gilles Caulier
Comment 7 dajomu 2016-08-18 08:09:25 UTC
And I have written earlier that this affects only Digikam. So this bug needs to be addressed to Digikam and not here?
Comment 8 Maik Qualmann 2016-08-18 10:36:33 UTC
Git commit ec4051735f0343970e775b7de05dfc73cc477e13 by Maik Qualmann.
Committed on 18/08/2016 at 10:35.
Pushed by mqualmann into branch 'master'.

fix create KXmlGuiWindow

M  +1    -1    app/main/digikamapp.cpp
M  +1    -1    showfoto/main/showfoto.cpp
M  +1    -1    utilities/imageeditor/main/imagewindow.cpp
M  +1    -1    utilities/importui/main/importui.cpp
M  +1    -1    utilities/lighttable/lighttablewindow.cpp
M  +1    -1    utilities/queuemanager/main/queuemgrwindow.cpp

http://commits.kde.org/digikam/ec4051735f0343970e775b7de05dfc73cc477e13
Comment 9 Maik Qualmann 2016-08-18 10:37:32 UTC
I think this commit fix the double menu problem. Please give us feedback with the digiKam-5.2.0 release if it available.

Maik
Comment 10 Maik Qualmann 2016-08-18 10:44:54 UTC
Git commit 92c6e28e49149b488d09286678e4a4946b64bd40 by Maik Qualmann.
Committed on 18/08/2016 at 10:44.
Pushed by mqualmann into branch 'master'.

Revert "fix create KXmlGuiWindow"

M  +1    -1    app/main/digikamapp.cpp
M  +1    -1    showfoto/main/showfoto.cpp
M  +1    -1    utilities/imageeditor/main/imagewindow.cpp
M  +1    -1    utilities/importui/main/importui.cpp
M  +1    -1    utilities/lighttable/lighttablewindow.cpp
M  +1    -1    utilities/queuemanager/main/queuemgrwindow.cpp

http://commits.kde.org/digikam/92c6e28e49149b488d09286678e4a4946b64bd40
Comment 11 Maik Qualmann 2016-08-18 10:46:50 UTC
No toolbar icons in imageeditor, BQM and lighttable...new fix later

Maik
Comment 12 caulier.gilles 2016-08-18 14:01:04 UTC
Look like Kdenlive have also this problem : https://bugs.kde.org/show_bug.cgi?id=366236
Comment 13 Maik Qualmann 2016-08-18 16:30:22 UTC
Also VLC and another applications:
https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/1542519
Probably a Ubuntu bug.

Maik
Comment 14 caulier.gilles 2016-08-18 17:39:39 UTC
Well ,i'm not sure. The application must know that Unity is the desktop manager and just hide the menu in application window. I thinking more better a KXMLGUI bug or something like that.

VLC is another problem as application is pure Qt.

Gilles
Comment 16 caulier.gilles 2016-11-25 17:22:32 UTC
What's about this file using digiKam AppImage bundle 5.4.0 pre release given at
this url :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier