Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Applications that do not work #24

Open
tiotrom opened this issue Dec 8, 2020 · 23 comments
Open

Applications that do not work #24

tiotrom opened this issue Dec 8, 2020 · 23 comments

Comments

@tiotrom
Copy link

tiotrom commented Dec 8, 2020

I was thinking to open up an issue for applications that do not work. Maybe you can dig deeper and improve this extension. I am testing many apps for our custom TROMjaro Linux, so I can be helpful in this regards.

I am testing these apps with all of the recommended packages installed.

  • Krita: appimage works, flatpak not working despite having the Qt4 libraries installed on my system.
  • Audacity
  • Many Gnome apps do not work since they have a hamburger menu. No way to fix that?
  • Thunderbird
  • QTox
  • Pitivi
@gonzaarcr
Copy link
Owner

For Audacity the variable UBUNTU_MENUPROXY needs to be set to one on /usr/share/applications/audacity.desktop.

Qt apps do not seem to work on Manjaro, I don’t know why, it never happened on another distro.

@tiotrom
Copy link
Author

tiotrom commented Dec 10, 2020

For Audacity the variable UBUNTU_MENUPROXY needs to be set to one on /usr/share/applications/audacity.desktop.

Interesting. Is this an issue only with Audacity or with some particular apps? And isn't there a way around it? I can, for sure, do it. But most users won't. Also, it will revert back when Audacity updates, right?

Qt apps do not seem to work on Manjaro, I don’t know why, it never happened on another distro.

But they work on other distros? Weird. How can we test/debug this? If I can help with anything in regards to testing many apps, let me know. I am very interested.

@skewty
Copy link

skewty commented Dec 14, 2020

Perhaps the GitHub Wiki pages can be used to track the broken apps list and tweaks that can be made to fix them? This issue can just point to the Wiki page

@ikeofkc
Copy link

ikeofkc commented Dec 17, 2020

Qt apps do not seem to work on Manjaro, I don’t know why, it never happened on another distro.

also seeing this, i wonder what's different

@tiotrom
Copy link
Author

tiotrom commented Dec 17, 2020

You guys have some examples of QT apps not working on Manjaro?

@ikeofkc
Copy link

ikeofkc commented Dec 19, 2020

kdenlive, krita. They work with global menu using KDE's built in global menu widget that uses dbus.

@tiotrom
Copy link
Author

tiotrom commented Dec 19, 2020

Kdenlive and Krita work on my system. Granted I am testing on my custom build TROMjaro, but that's basically a customized Manjaro....

@ikeofkc
Copy link

ikeofkc commented Dec 19, 2020

any clues on what might be amiss for us folks? i have all the libdbusmenu packages installed and appmenu-qt. Is there some sort of export variable or something anybody can think of that I need to fix?

@tiotrom
Copy link
Author

tiotrom commented Dec 19, 2020

This is what I did for my TROMjaro:

  1. Download the repo and install the extension by copying/moving the fildemGMenu@gonza.com folder into ~/.local/share/gnome-shell/extensions
  2. Install: sudo pacman -S bamf appmenu-gtk-module libkeybinder3 libdbusmenu-gtk2 libdbusmenu-gtk3 libdbusmenu-qt5
  3. Install: pip3 install fuzzysearch
  4. Go to extensions and enable "fildemGMenu"
  5. Reboot your computer
  6. Go to the repo folder (the one you downloaded), and from within, open it in terminal then do: ./run.sh
  7. Test to see if works, if not,
  8. Reboot.
  9. Do step nr 6 again. If works:
  10. Create a .desktop file in .local/share/applications and name it something like "global-menu-and-hud". Inside it paste this:
[Desktop Entry]
Encoding=UTF-8
Name=GlobalMenu
Comment=TROMjaro Global Menu
Type=Application
Icon=global-menu-and-hud
Exec=bash -c "add here the path where the run.sh file is"
Terminal=false
Categories=Application;Programme;[Desktop Entry]
  1. Save and Alt + F2 the type "r" to reboot the desktop
  2. Search in the menu (Dash) to see if the file is there
  3. Via Tweaks add it to Startup at boot

And by the way, do you use Manjaro Gnome or other flavors?

@gonzaarcr
Copy link
Owner

I’m making a wiki with the status of the app that links to this issue and other technical stuff.

@ikeofkc
Copy link

ikeofkc commented Dec 23, 2020

Reproduced the steps and still everything works except Qt applications. Not sure if something else installed is messing with the way Qt is exporting menus. Thanks anyways for the help, maybe one day I'll try on a blank gnome install.

@tiotrom
Copy link
Author

tiotrom commented Dec 23, 2020

Reproduced the steps and still everything works except Qt applications. Not sure if something else installed is messing with the way Qt is exporting menus. Thanks anyways for the help, maybe one day I'll try on a blank gnome install.

I will soon test it in VMs for TROMjaro and Manjaro, since we want to integrate it into TROMjaro as default. We need to first test it, then make an AUR for it so it does all the installation and updating automatically. I want to see how it will handle the GTK 4.0 first :D

@ikeofkc
Copy link

ikeofkc commented Feb 19, 2021

A newer version worked for some reason and not sure why, but just updating that it works for me now

@lestcape
Copy link

lestcape commented Feb 26, 2021

I want to see how it will handle the GTK 4.0 first :D

I also want to see that working. Wayland apps are working because the support for it was implemented in the appmenu-gtk-module by me, but Gtk4 have currently not support and have not way to have support in the appmenu-gtk-module, because there are not GtkModules in Gtk4. Let me said it properly:

Gtk4 have support for the Global-Menu, but only if the developer of the app want to support it explicit. Nevertheless, the only application that I know, where his developers are supporting a Global-Menu in an explicit way is in the gnome-terminal. My fix for Gtk3-Wayland apps in the appmenu-gtk-module was exactly that. It was force the Gtk3 apps to export the menubar (if they have one), but that was only possible because Gtk3 have Gtk-Modules, but Gtk4 have not that. So, to have support, you need to convince the developers of the specific app where you want support, to do that task explicit, if you want support for it in Gtk4. Convince all developers of all Gtk4 apps is a titanic task in my opinion and was in first place the reason of why i discontinued my global menu extension, because it have not future in this way.

This not means will be impossible support it for Gtk4, it just means it will not be easy at all, because a new solution will required, as the appmenu-gtk-module will not work in Gtk4. It will not be as easy as is all that is currently supported, because all that is currently supported, was not easy some day, but was made thanks to several people. This was thanks to canonical or some one else from outside, that is not providing help anymore. Some one else should create that new solution from scratch or almost...

@NOOBLINUXUSER
Copy link

still no fix for QT menus? okular, qbittorent dont show. i was thinking manually adding modules of the QT menu to the extension perhaps? though i am completely illiterate on the subject.

@gonzaarcr
Copy link
Owner

I’ve never used Okular. qBittorrent works. Are you on Manjaro @NOOBLINUXUSER ?

@NOOBLINUXUSER
Copy link

I’ve never used Okular. qBittorrent works. Are you on Manjaro @NOOBLINUXUSER ?

na, pop os, Ubuntu based with systemd and kernelstub (instead of grub).

@NOOBLINUXUSER
Copy link

NOOBLINUXUSER commented Jul 14, 2021

const Gio = imports.gi.Gio;
const Gtk = imports.gi.Gtk;
const Config = imports.misc.config;``` 


i think the issue is here, the extension is not pulling for QT4 , QT 5 imports. or idk. If there is a getto fix like adding imports for qt apps that be great. if i need to add those manually for each app i would- just tell me how and where to get them. 
/home/xxxxx/Fildem/fildemGMenu@gonza.com/prefs.js first few lines

@CR0CKER
Copy link

CR0CKER commented Oct 14, 2021

Kind of works with Joplin, but the menu options don't match the app menu until a setting in the extension is changed -- suddenly the correct menu options appear.

Doesn't work at all with the Bitwarden desktop app -- with the Flatpak version of Bitwarden on PopOS, the app menu stays in the app window and nothing appear in the top bar.

Both apps tested on PopOS.

EDIT: Joplin works fine, actually -- the menu bar options are only off right after launching the app because Joplin seems to modify the menus after it's been launched. As soon as the main window of the app is minimized and then opened again, which appears to trigger Fildem to update the menu, it's all there.

EDIT 2: Bitwarden works fine when installed as snap instead of Flatpak.

@ghost
Copy link

ghost commented Jan 11, 2022

Zotero doesn't export menu.

@ghost
Copy link

ghost commented Jan 11, 2022

I'm on Manjaro, but tried in on Fedora to no avail as well.

@SilverMarcs
Copy link

SilverMarcs commented Feb 5, 2022

Is Evolution mail exporting global menu? Mine doesnt
Works. Restarting pc somehow fixed it

@kttary
Copy link

kttary commented Dec 25, 2022

My Android Studio doesn't work. I've install JavaFX Runtime for Plugins but still unluck. I'm using Pop!OS with GNOME 4.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants