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

hyperlinks cause problems with Firefox #112

Open
timrichardson opened this issue Mar 12, 2023 · 3 comments
Open

hyperlinks cause problems with Firefox #112

timrichardson opened this issue Mar 12, 2023 · 3 comments

Comments

@timrichardson
Copy link

timrichardson commented Mar 12, 2023

I have mozilla packaged Firefox running in wayland.
Synaptic packages pages usually have a a link to the package 'homepage'.
This are URLs but they are broken with Firefox, in that if Firefox is already running

The error is a dialog:
Firefox is already running, but is not responding. To use Firefox, you must first close the existing Firefox process, restart your device, or use a different profile.

If firefox is not running, it works.

I am reporting it here because I don't have this problem with other apps.
Even in a terminal with firefox running, this will open a new tab

firefox google.com

I conclude there is something about the way Synaptic is launching firefox which is not working.
I am using Ubuntu 22.10 and the wayland gnome session.

Synaptic: 0.91.2

askubuntu question: https://askubuntu.com/questions/1458880/firefox-mozilla-binary-wayland-can-not-open-system-links-firefox-is-already-ru

@mimagind
Copy link

I suspect the problem is caused by trying to open the link as sudo user.
In rgpkgdetails.cc both cbOpenLink and cbOpenHomepage call RunAsSudoUserCommand to open the link.
That seems like the wrong thing to do, the link should be opened normally as the current user.

@domr2695
Copy link

I support the opinion of mimagind and there is a post https://bugzilla.sudo.ws/show_bug.cgi?id=1059 from 2023-10-09 12:17 MDT to the developer sudo Todd C. Miller.

@kimariterikishi
Copy link

I support the opinion of mimagind and there is a post https://bugzilla.sudo.ws/show_bug.cgi?id=1059 from 2023-10-09 12:17 MDT to the developer sudo Todd C. Miller.

If so, could it be improved?
https://github.com/mvo5/synaptic/blob/master/gtk/rgpkgdetails.cc
When is it expected to be fixed? :-)

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

4 participants