AdaCore / gnatstudio

GNAT Studio is a powerful and lightweight IDE for Ada and SPARK.
416 stars 54 forks source link

Menus in the menubar don't respond to the editor if using Appmenu on Linux desktops. #91

Open davidvontamar opened 5 years ago

davidvontamar commented 5 years ago

Menu items in the menubar fail to respond properly to editor changes when using Appmenu on Linux desktops. The Appmenu on Linux is a similar approach to how macOS handles application menubars in the top panel from all opened windows.

When using Appmenu on XFCE, all GTK+ applications export their menubars via D-Bus to a desktop panel of your choice, where the menubar is being rendered according the focused window.

To reproduce this:

  1. Install fresh Debian Sid with XFCE 4.14 and xfce4-appmenu-plugin.
  2. Enable Appmenu by adding it to one of your desktop panels.
  3. Open up GPS and see its menubar being exported to the desktop panel.
  4. Write something, and select some text in the editor.
  5. Go to Edit, and notice that items like Copy, Cut, Undo, Redo, etc... are disabled.

I forwarded the issue to Appmenu, it would be highly appreciated if you can help us there.

ogorodnik commented 5 years ago

Thank you for the report. We have filled this as an enhancement request.