Bug 375468 - Cannot turn on Menubar
Summary: Cannot turn on Menubar
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-Menus (show other bugs)
Version: 5.5.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-23 20:35 UTC by linux.tmc
Modified: 2019-03-20 18:21 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.1.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description linux.tmc 2017-01-23 20:35:26 UTC
I cannot figure out how to turn the Menubar on.  Ctrl-M doesn't work.  I've added "Show Menubar" to the toolbar and that doesn't work.  I've even tried to change 'digikamrc' to "MenuBar=Enabled" but that doesn't work (I believe it actually is re-written at startup.
Comment 1 caulier.gilles 2017-01-23 21:50:00 UTC
rename rc file as .old and try again.

Gilles Caulier
Comment 2 linux.tmc 2017-01-24 13:59:03 UTC
Tried your suggestion below of renaming digikamrc - didn't work.  After renaming, I once again tried to edit digikamrc to indicate 'MenuBar=Enabled'. That did not work.  Further, tried to set default height and width to: 900x1440 - Nope.  I should not that I'm running this within VirtualBox with Guest Additions installed.
Comment 3 caulier.gilles 2017-01-24 15:08:31 UTC
Hum,

Do you use AppImage 5.5.0 ? You set Kubuntu package as report property...

Gilles Caulier
Comment 4 Unknown 2017-10-23 19:25:53 UTC
I did a fresh install of Ubuntu 17.10, installed digikam 5.6.0 from the repository, but run 5.7.0 from appimage. The Menu bar is now gone (was there under 17.04) and I can't get it back. Tried the obvious things (ctlr-M, MenuBar=Enabled, kxmlgui/digikam), but none worked. I am surprised that this problem is around for about 10 years.

Pls advise,
Theo
Comment 5 caulier.gilles 2017-10-23 19:34:51 UTC
This problem rely on KF5::KXMLGUI framework which make GUI based on XML description.

If a standard comment is set in XML data, this break the XML parsing. Do not ask me why. We pass a lots of time to discover this dysfunction.

The solution is included in next 5.8.0 preversion available as AppImage here :

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

It's possible that the copy of menus description is corrupted in your home directory, where is stored the menu/toolbar customizations. Look on this path :

~/.local/share/kxmlgui5/digikam/

Files are *.rc.

Gilles Caulier
Comment 6 caulier.gilles 2017-10-23 19:35:34 UTC
Maik,

I'm right with my previous comment ?

Gilles
Comment 7 Unknown 2017-10-23 19:53:12 UTC
As I hinted, I had ~/.local/share/kxmlgui5/digikam/ recreated, without luck. And sorry to say, the 5.8.0 appimage does not solve the problem either.
Theo
Comment 8 Unknown 2017-10-23 20:21:38 UTC
Strangely the file digikamui.rc is not recreated (absent) in kxmlgui5.
Theo
Comment 9 caulier.gilles 2017-10-23 20:25:17 UTC
If no customization are done, the default one is used.

Gilles Caulier
Comment 10 Maik Qualmann 2017-10-23 20:44:09 UTC
If I remember rightly, it is a problem with Unity under Ubuntu. Unity is dead, the next version will be back to GNOME3. There is a compatible startup option for the menubar on Unity. I'll look for them.

Maik
Comment 11 Unknown 2017-10-23 20:52:36 UTC
It's gnome now with 17.10. Indeed, Unity is dead.
Comment 12 Maik Qualmann 2017-10-26 19:22:01 UTC
I have installed Ubuntu 17.10 for testing in a virtual machine. I can not find any problem with the official package digiKam-5.6.0 as well as with the current AppImage. The menu bar is available and can be activated or deactivated normally via the GUI, CTRL-M also works.

Maik
Comment 13 Unknown 2017-10-26 20:53:17 UTC
Maik,
Thanks for taking the trouble. I run 5.8.0 now from the appimage. You and Gilles got me on 5.7.0 because of previous problems, and on 5.8.0 on this one.
Ctrl-M does not work here. How do I get it working from the gui without having a menu bar? Having said that, in 5.7.0 hitting control-M twice (!) does the job. Feels a lot better.
Thanks a lot, if further problems I'll keep you posted.
Theo
Comment 14 caulier.gilles 2017-10-27 17:27:46 UTC
The ultimate solution would be to kill the feature to turn on/off the menu bar when we are not in full screen. This feature is not implemented in DK, but in KXMLGUI framework as well. I remember a lots of dysfunctions about the "lost menu bar". Typically, as it's said in this report, DK is not suitable without a menu bar. We always need it, outside the full screen mode of course.

Gilles
Comment 15 Unknown 2017-10-27 22:52:35 UTC
I totally agree. 
For now I'm happy. Thanks you all for maintaining a fantastic program.
Theo
Comment 16 Maik Qualmann 2017-11-24 10:45:44 UTC
*** Bug 387253 has been marked as a duplicate of this bug. ***
Comment 17 caulier.gilles 2019-03-20 18:21:02 UTC
Not reproducible with last 6.1.0 pre-release AppImage bundle :

https://imgur.com/soPze3O

File is available here :

https://files.kde.org/digikam/

Gilles Caulier