Hidden menu with global menu on Linux KDE Plasma

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

Joan31

  • Posts: 1
  • Joined: Wed Dec 29, 2021 12:54 pm
  • Real Name: Joan Martinez

Hidden menu with global menu on Linux KDE Plasma

PostWed Dec 29, 2021 1:01 pm

Hi,

Davinci Resolve work great, and thanks to develop a linux version.

However, on KDE Plasma, if I use the Global Menu widget (app menu on the bar like MacOS), the menu on Davince Resolve is hidden....

Do you have a workaround for this trouble ?

Thanks.
Offline

cigamlack

  • Posts: 1
  • Joined: Tue Jan 04, 2022 2:17 pm
  • Real Name: Roland Hammer

Re: Hidden menu with global menu on Linux KDE Plasma

PostTue Jan 04, 2022 6:11 pm

Hello,

I don't have a workaround, but possibly the same error, even without Global Menu widget.

I also use KDE, but without widgets or other extensions and 3rd party panels.
Only, the good old onboard functions of KDE.

However, since version 17.4.x the menu of the DaVinci Resolve window has disappeared.
(I have not yet found a way to make the menu reappear via the KDE window rules).

What my analyses have shown so far is that up to version 17.3.x everything works fine.
The menu bar is there, the program is fine to use.

From version 17.4.x (no matter which version from 17.4 or higher) the menu has disappeared. Downgrade and it's there again. Upgrade and it's gone.

I suspect that something about the window rendering in DaVinci Resolve was changed in version 17.4 and later. This seems to produce the menu-less window under Linux and (only?) KDE.

I hope that a Blackmagic employee will read this and possibly have an answer. Currently, I can only use up to version 17.3.2, everything above is flawed by the menu bug.

BTW, I use Manjaro Linux and DaVinci Resolve Studio.

Here you see the difference between the two versions:
Image
Offline

msxberg

  • Posts: 1
  • Joined: Thu Apr 21, 2022 8:21 am
  • Real Name: Markus Seitz

Re: Hidden menu with global menu on Linux KDE Plasma

PostThu Apr 21, 2022 8:28 am

Hey there, I found the same behaviour for the latest versions of DaVinci Resolve. Well, we are working on an unsupported Linux, so my 'workaround' is to define hotkeys for everything.

And: When I log in with a Wayland session instead of X11 (unfortunately this is still a bit experimental) DaVinci Resolve shows its menu as a global menu. So maybe someone with more knowledge of how the menu is transferred to the plasma environment might dig into that?
Offline

bmmatbon

  • Posts: 114
  • Joined: Thu Aug 22, 2019 3:10 pm
  • Real Name: Roy Markham

Re: Hidden menu with global menu on Linux KDE Plasma

PostSun Apr 24, 2022 1:44 pm

Just to confirm it only disappears when using the Global Menu widget and with X11? I use X11 but not the GMW and menu shows fine.

KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Kernel Version: 5.17.4-zen1-1-zen (64-bit)
Graphics Platform: X11
Desktop: AMD 9950x, 64GB, AMD 5700XT, Couple NVMes. CachyOS (Arch) and Nobara (Fedora)
Laptop: AMD 5700U, 32GB, Nobara (Fedora), Macbook Pro M3 Max
Offline

TheMagicDM

  • Posts: 1
  • Joined: Wed Jul 06, 2022 5:13 am
  • Real Name: Greg Hirsh

Re: Hidden menu with global menu on Linux KDE Plasma

PostWed Jul 06, 2022 5:32 am

The culprit( at least in my case, I use the KDE desktop and ran into this problem of no top menus after I upgraded to Resolve v17) is KDE's Application menus daemon. This daemon exports an applications top menus for use with things like the global menu widget. It, apparently does not play nice with Davinci. Eventually, I would like to find a permanent way to exempt Davinci Resolve from interacting with this daemon with a config file or something (I'll report back if I find a way - please chime in if you already know how), but, for the mean time, a quick/easy workaround is to turn off the daemon while working in Resolve.

To do this (with the GUI), go to KDE's settings app . Under Workspace/Startup and Shutdown/Background Services/ look for Application menus daemon in the "Startup Services" pain. Select it, and then hit the "Stop" button towards the bottom of the window. With the daemon stopped, you can now open/restart Resolve and your top menu should be there. Once you are done with your resolve session, you can go back to the Workspace/Startup and Shutdown/Background Services/page, select the "Application menus daemon" again, and hit the start button.
Offline

NOVAinc

  • Posts: 2
  • Joined: Wed Jul 06, 2022 6:36 pm
  • Real Name: Lucas Medina

Re: Hidden menu with global menu on Linux KDE Plasma

PostWed Jul 06, 2022 7:07 pm

I've created an account just so I can share this workaround I found for plasma specifically. I'm pretty excited to finally have found a way to do it through the terminal, which means now you can use it as a starting command from the launcher and automate it.

The comment from Zajoe2 in the reddit post "How do I stop KDE Plasma background services from a shell command?" serves as the foundation for this workaround. He explains how to enable/disable kded services from the terminal.

Then I took the script from BruceLakeriver in the garuda forum thread "Davinci Resolve unable to see menus" and integrated his timer with the mounting/unmounting of the appmenu module (responsible for Application menus daemon)

So if you imput this as the exec parameter the application menus daemon will be disabled for 30s, then enabled again.
Code: Select all
qdbus org.kde.kded5 /kded org.kde.kded5.unloadModule "appmenu" && progl /opt/resolve/bin/resolve %u & sleep 30 && qdbus org.kde.kded5 /kded org.kde.kded5.loadModule "appmenu"


- progl is only needed for AMD users. If you have Nvidia remove it or the program won't run
- I haven't found a way to automatically enable the appmenu module after davinci launches, so instead there is a fixed 30 second timer for it to get enabled again. You can change the value if your computer needs less or more than 30 seconds to open Resolve, in my case it's around 10 seconds. If anyone knows of a way to remount the module automatically after Resolve launches instead of using a fixed counter, please let me know.

I'm really hoping Blackmagic fixes this for their 18 stable release. This will suffice as a global menu workaround for the time being.

On a sidenote, in case it helps anyone from Blackmagic troubleshoot it, the menu DOES appear and integrate well with global menu widgets *upon first launching the program after installation*, but if you click a different window (remove focus from davinci) or close it and restart it then it doesn't work anymore. So it seems the dbus integration is there and working, just not after the first launch. There seems to be something just missing on startup after the initial run.
Offline

phil@linux

  • Posts: 1
  • Joined: Sat Jul 15, 2023 6:39 pm
  • Real Name: Phil Evans

Re: Hidden menu with global menu on Linux KDE Plasma

PostSat Jul 15, 2023 6:52 pm

Hello, I have just joined the forum to thank the contributors on this post.
I am a debian linux testing user with the KDE Plasma 5.27.5 desktop kernel 6.3.
I too had lost the menu bar in resolve 18.5 beta and could not get it back however i tried.
I then followed the post and stopped the "application menus daemon" and rebooted and have my menu back.
I decided for me, the easiest way to keep it this way was to leave the daemon tuned off and not use the global menu in KDE. Instead, I use the plasma drawer widget and have no issues now, everything is as it should be. Just thought this might help someone.
Regards phil@linux
Offline

aaaaaaafif

  • Posts: 1
  • Joined: Sat May 18, 2024 5:08 pm
  • Real Name: Afif Miguel Castañon

Re: Hidden menu with global menu on Linux KDE Plasma

PostSat May 18, 2024 5:15 pm

Hi, old thread but I found a solution. Maybe this will help someone.

Open Kde Settings > Colors and themes > Window decorations

Click the 3 dots at the top right, then click "Configure titlebar Buttons"

If you have the "Application menu" button, remove it.

That fixed it for me.

Return to DaVinci Resolve

Who is online

Users browsing this forum: bertold, bobosola, Google [Bot], Macroboy, panos_mts, RCModelReviews, Rickett, theshukan and 287 guests