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

Regression: .desktop file for Firefox ESR malfunctions #1309

Closed
3 tasks done
LinuxOnTheDesktop opened this issue Nov 19, 2023 · 3 comments
Closed
3 tasks done

Regression: .desktop file for Firefox ESR malfunctions #1309

LinuxOnTheDesktop opened this issue Nov 19, 2023 · 3 comments

Comments

@LinuxOnTheDesktop
Copy link

Environment

Mint Cinnamon 21.2

Bug description

I have a file ~/.local/share/applications/Firefox (ESR, no proxy).desktop. Here are its contents.

[Desktop Entry]
Name=Firefox (ESR, no proxy)
Exec=/home/<redacted>Net/Browsers/Firefox/ESR/firefox/firefox
Comment=Firefox (ESR, no proxy)
Terminal=false
Icon=firefox-aurora
Type=Application
Hidden=false
NoDisplay=false

The file worked fine via Ulauncher 4. Under Ulauncher 5, the file works if Firefox - the 'release' a.k.a. normal version, not the Extended Support Release - is not running. If the normal version of Firefox is running, then Ulauncher either switches to that existing window or else starts a new Firefox-normal window. What should happen, of course, is that a Firefox ESR window opens.

I am afraid that using the Ulauncher beta is causing me too many problems and causing me to spend too much time on bug reports. As of now, I have gone back to version 4. I will use version 5 when that version is ready! I note further that version 5 is noticeably less responsive on my system than version 5.

Log output

2023-11-19 04:01:36,559 ℹ️  INFO Ulauncher version 6.0.0-beta4 main.main:63
2023-11-19 04:01:36,560 ℹ️  INFO Extension API version 3.0 main.main:64
2023-11-19 04:01:36,560 ℹ️  INFO GTK+ 3.24.33 main.main:65
2023-11-19 04:01:36,560 ℹ️  INFO PyGObject+ 3.42.1 main.main:66
2023-11-19 04:01:36,560 ℹ️  INFO Desktop: X-CINNAMON (X11) on Linux Mint 21.2 main.main:68
2023-11-19 04:01:36,560 ⚠️  WARNING 

╔═════════════════════════════════════════════════════════════════════════════╗
║                  YOU ARE RUNNING A PRE-RELEASE of ULAUNCHER.                ║
║ Please do not report extension API support warnings to extension developers ║
║ We are still in the process of developing and documenting these features    ║
╚═════════════════════════════════════════════════════════════════════════════╝

 main.main:70
2023-11-19 04:01:36,560 ℹ️  INFO Migrating /home/redacted/.config/ulauncher/ext_preferences/com.github.psukys.ulauncher-plugin-windows.json to /home/redacted/.config/ulauncher/ext_preferences/com.github.psukys.ulauncher-plugin-windows.json migrate._migrate_file:44
2023-11-19 04:01:36,561 ℹ️  INFO Migrating /home/redacted/.config/ulauncher/ext_preferences/com.github.fisadev.ulauncher-better-file-browser.json to /home/redacted/.config/ulauncher/ext_preferences/com.github.fisadev.ulauncher-better-file-browser.json migrate._migrate_file:44
2023-11-19 04:01:36,561 ℹ️  INFO Migrating /home/redacted/.config/ulauncher/ext_preferences/com.github.mikebarkmin.ulauncher-duckduckgo.json to /home/redacted/.config/ulauncher/ext_preferences/com.github.mikebarkmin.ulauncher-duckduckgo.json migrate._migrate_file:44
2023-11-19 04:01:36,561 ℹ️  INFO Migrating /home/redacted/.config/ulauncher/ext_preferences/com.github.episode6.ulauncher-system-management-direct.json to /home/redacted/.config/ulauncher/ext_preferences/com.github.episode6.ulauncher-system-management-direct.json migrate._migrate_file:44
2023-11-19 04:01:36,561 ℹ️  INFO Migrating /home/redacted/.config/ulauncher/ext_preferences/com.github.brpaz.ulauncher-file-search.json to /home/redacted/.config/ulauncher/ext_preferences/com.github.brpaz.ulauncher-file-search.json migrate._migrate_file:44
2023-11-19 04:01:36,561 ℹ️  INFO Migrating /home/redacted/.config/ulauncher/ext_preferences/com.github.iboyperson.ulauncher-system.json to /home/redacted/.config/ulauncher/ext_preferences/com.github.iboyperson.ulauncher-system.json migrate._migrate_file:44
2023-11-19 04:01:36,578 ℹ️  INFO Migrating /home/redacted/.config/ulauncher/ext_preferences/com.github.dalanicolai.gnome-tracker-extension.json to /home/redacted/.config/ulauncher/ext_preferences/com.github.dalanicolai.gnome-tracker-extension.json migrate._migrate_file:44
2023-11-19 04:01:36,579 ℹ️  INFO Migrating /home/redacted/.config/ulauncher/ext_preferences/com.github.dcervenkov.ulauncher-z-search.json to /home/redacted/.config/ulauncher/ext_preferences/com.github.dcervenkov.ulauncher-z-search.json migrate._migrate_file:44
2023-11-19 04:01:36,580 ℹ️  INFO Migrating /home/redacted/.config/ulauncher/ext_preferences/com.github.dhelmr.ulauncher-duckduckgo-bangs.json to /home/redacted/.config/ulauncher/ext_preferences/com.github.dhelmr.ulauncher-duckduckgo-bangs.json migrate._migrate_file:44
2023-11-19 04:01:36,581 ℹ️  INFO Migrating /home/redacted/.config/ulauncher/ext_preferences/com.github.leinardi.ulauncher-systemctl.json to /home/redacted/.config/ulauncher/ext_preferences/com.github.leinardi.ulauncher-systemctl.json migrate._migrate_file:44
2023-11-19 04:01:36,592 ℹ️  DEBUG Removing existing socket path /run/user/1000/ulauncher_control ExtensionServer.start:38
2023-11-19 04:01:36,608 ⚠️  WARNING Extension System has not yet been updated to support API v3.0. Running in compatibility mode, which may not be fully functional. ExtensionManifest.check_compatibility:153
2023-11-19 04:01:36,622 ℹ️  DEBUG Launched com.github.iboyperson.ulauncher-system using Gio.Subprocess ExtensionRunner.run:100
2023-11-19 04:01:36,624 ⚠️  WARNING Extension Duckduckgo bangs has not yet been updated to support API v3.0. Running in compatibility mode, which may not be fully functional. ExtensionManifest.check_compatibility:153
2023-11-19 04:01:36,630 ℹ️  DEBUG Launched com.github.dhelmr.ulauncher-duckduckgo-bangs using Gio.Subprocess ExtensionRunner.run:100
2023-11-19 04:01:36,632 ⚠️  WARNING Extension Better file browser has not yet been updated to support API v3.0. Running in compatibility mode, which may not be fully functional. ExtensionManifest.check_compatibility:153
2023-11-19 04:01:36,637 ℹ️  DEBUG Launched com.github.fisadev.ulauncher-better-file-browser using Gio.Subprocess ExtensionRunner.run:100
2023-11-19 04:01:36,639 ⚠️  WARNING Extension DuckDuckGo has not yet been updated to support API v3.0. Running in compatibility mode, which may not be fully functional. ExtensionManifest.check_compatibility:153
2023-11-19 04:01:36,645 ℹ️  DEBUG Launched com.github.mikebarkmin.ulauncher-duckduckgo using Gio.Subprocess ExtensionRunner.run:100
2023-11-19 04:01:36,713 ℹ️  DEBUG render 0 results UlauncherWindow.show_results:395
2023-11-19 04:01:36,769 ℹ️  DEBUG render 0 results UlauncherWindow.show_results:395
2023-11-19 04:01:36,745 ℹ️  DEBUG Send message with keys "{'type', 'ext_id'}" Client.send:79
2023-11-19 04:01:36,774 ℹ️  DEBUG Received data of 100 bytes framer._ingest_data:97
2023-11-19 04:01:36,774 ℹ️  DEBUG Received message with keys "{'ext_id', 'type'}" framer._ingest_data:115
2023-11-19 04:01:36,774 ℹ️  DEBUG Send event dict to "com.github.dhelmr.ulauncher-duckduckgo-bangs" ExtensionController._send_event:52
2023-11-19 04:01:36,776 ℹ️  INFO Extension "com.github.dhelmr.ulauncher-duckduckgo-bangs" connected ExtensionController.__init__:47
2023-11-19 04:01:36,747 ℹ️  DEBUG Sent 100 bytes framer._write_done:146
2023-11-19 04:01:36,777 ℹ️  DEBUG Sent 104 bytes framer._write_done:146
2023-11-19 04:01:36,776 ℹ️  DEBUG Received data of 104 bytes framer._ingest_data:97
2023-11-19 04:01:36,776 ℹ️  DEBUG Send message with keys "{'ext_id', 'type'}" Client.send:79
2023-11-19 04:01:36,776 ℹ️  DEBUG Received message with keys "{'type', 'args'}" framer._ingest_data:115
2023-11-19 04:01:36,781 ℹ️  DEBUG Received data of 99 bytes framer._ingest_data:97
2023-11-19 04:01:36,781 ℹ️  DEBUG Received message with keys "{'ext_id', 'type'}" framer._ingest_data:115
2023-11-19 04:01:36,782 ℹ️  DEBUG Send event dict to "com.github.mikebarkmin.ulauncher-duckduckgo" ExtensionController._send_event:52
2023-11-19 04:01:36,782 ℹ️  INFO Extension "com.github.mikebarkmin.ulauncher-duckduckgo" connected ExtensionController.__init__:47
2023-11-19 04:01:36,776 ℹ️  DEBUG Incoming event dict Client.on_message:54
2023-11-19 04:01:36,779 ℹ️  DEBUG Sent 99 bytes framer._write_done:146
2023-11-19 04:01:36,783 ℹ️  DEBUG Sent 142 bytes framer._write_done:146
2023-11-19 04:01:36,784 ℹ️  DEBUG Received data of 142 bytes framer._ingest_data:97
2023-11-19 04:01:36,784 ℹ️  DEBUG Received message with keys "{'type', 'args'}" framer._ingest_data:115
2023-11-19 04:01:36,784 ℹ️  DEBUG Incoming event dict Client.on_message:54
2023-11-19 04:01:36,784 ℹ️  DEBUG com.github.mikebarkmin.ulauncher-duckduckgo: No listeners for event PreferencesEvent extension.trigger_event:91
2023-11-19 04:01:36,804 ℹ️  DEBUG Send message with keys "{'type', 'ext_id'}" Client.send:79
2023-11-19 04:01:36,805 ℹ️  DEBUG Received data of 104 bytes framer._ingest_data:97
2023-11-19 04:01:36,805 ℹ️  DEBUG Received message with keys "{'ext_id', 'type'}" framer._ingest_data:115
2023-11-19 04:01:36,806 ℹ️  DEBUG Send event dict to "com.github.fisadev.ulauncher-better-file-browser" ExtensionController._send_event:52
2023-11-19 04:01:36,806 ℹ️  INFO Extension "com.github.fisadev.ulauncher-better-file-browser" connected ExtensionController.__init__:47
2023-11-19 04:01:36,806 ℹ️  DEBUG Sent 104 bytes framer._write_done:146
2023-11-19 04:01:36,806 ℹ️  DEBUG Sent 127 bytes framer._write_done:146
2023-11-19 04:01:36,806 ℹ️  DEBUG Received data of 127 bytes framer._ingest_data:97
2023-11-19 04:01:36,806 ℹ️  DEBUG Received message with keys "{'type', 'args'}" framer._ingest_data:115
2023-11-19 04:01:36,806 ℹ️  DEBUG Incoming event dict Client.on_message:54
2023-11-19 04:01:36,827 ℹ️  DEBUG Send message with keys "{'ext_id', 'type'}" Client.send:79
2023-11-19 04:01:36,828 ℹ️  DEBUG Received data of 94 bytes framer._ingest_data:97
2023-11-19 04:01:36,828 ℹ️  DEBUG Received message with keys "{'ext_id', 'type'}" framer._ingest_data:115
2023-11-19 04:01:36,829 ℹ️  DEBUG Send event dict to "com.github.iboyperson.ulauncher-system" ExtensionController._send_event:52
2023-11-19 04:01:36,829 ℹ️  INFO Extension "com.github.iboyperson.ulauncher-system" connected ExtensionController.__init__:47
2023-11-19 04:01:36,829 ℹ️  DEBUG Sent 94 bytes framer._write_done:146
2023-11-19 04:01:36,829 ℹ️  DEBUG Sent 59 bytes framer._write_done:146
2023-11-19 04:01:36,829 ℹ️  DEBUG Received data of 59 bytes framer._ingest_data:97
2023-11-19 04:01:36,830 ℹ️  DEBUG Received message with keys "{'args', 'type'}" framer._ingest_data:115
2023-11-19 04:01:36,830 ℹ️  DEBUG Incoming event dict Client.on_message:54
2023-11-19 04:01:36,830 ℹ️  DEBUG com.github.iboyperson.ulauncher-system: No listeners for event PreferencesEvent extension.trigger_event:91
2023-11-19 04:01:48,481 ℹ️  DEBUG render 50 results UlauncherWindow.show_results:395
2023-11-19 04:01:48,601 ℹ️  DEBUG render 39 results UlauncherWindow.show_results:395
2023-11-19 04:01:48,947 ℹ️  DEBUG render 32 results UlauncherWindow.show_results:395
2023-11-19 04:01:50,695 ℹ️  INFO Raising application firefox launch_app.launch_app:30
2023-11-19 04:01:50,755 ℹ️  DEBUG render 0 results UlauncherWindow.show_results:395
2023-11-19 04:02:27,312 ℹ️  DEBUG render 0 results UlauncherWindow.show_results:395
2023-11-19 04:02:28,524 ℹ️  DEBUG render 50 results UlauncherWindow.show_results:395
2023-11-19 04:02:28,716 ℹ️  DEBUG render 39 results UlauncherWindow.show_results:395
2023-11-19 04:02:28,802 ℹ️  DEBUG render 26 results UlauncherWindow.show_results:395
2023-11-19 04:02:28,978 ℹ️  DEBUG render 16 results UlauncherWindow.show_results:395
2023-11-19 04:02:30,944 ℹ️  INFO Raising application firefox launch_app.launch_app:30
2023-11-19 04:02:31,003 ℹ️  DEBUG render 0 results UlauncherWindow.show_results:395

Communication guidelines

  • I have read and agree with Ulauncher's communication guidelines and checked the troubleshooting page for self-help.

Not an extension issue

  • This issue applies to the Ulauncher application, not a specific extension.

Ulauncher v6

  • I have made sure the bug isn't already fixed in v6.
@friday
Copy link
Member

friday commented Nov 19, 2023

This is a feature you can turn off in the settings.

image

See #979 and #162

Firefox probably identifies as "Firefox" in both cases, so you can maybe try setting StartupWMClass to something else if you want this setting enabled and Ulauncher not to treat both of them as the same app.

@friday friday closed this as completed Nov 19, 2023
@friday friday removed the bug label Nov 19, 2023
@friday
Copy link
Member

friday commented Nov 19, 2023

I am afraid that using the Ulauncher beta is causing me too many problems and causing me to spend too much time on bug reports. As of now, I have gone back to version 4. I will use version 5 when that version is ready! I note further that version 5 is noticeably less responsive on my system than version 5.

Ok. I appreciate that you have tested and reported a lot so far, but I agree. We need more people to test on various DE setups and hardware. So far it seems you have had the hardest migration path due to maybe your DE and/or other customizations. So maybe we need some more rounds of revisions first.

But we also need better issue reports that helps debug and track the issues, pinpoint which commit/PR it happened in or even which line of the code. If you learn how to use git and run the project from source, git bisect etc you could help us trace the performance issues down. While we appreciate reporting issues, the reality is that most of the issues created are not helpful to us, because people keep reporting v5 issues that was already reported, many which have been fixed in v6, and often with insufficient details making the issues non-actionable for us (and "us" is mainly me coding in my spare time after work).

@LinuxOnTheDesktop
Copy link
Author

Thanks.

I am afraid that I am not quite clear about the meaning of some of what you wrote. If one idea is that one can avoid a problem by unchecking 'switch to application if it's already running', then there is thisdrawback: one might well want that functionality (when it works). Also: 'you can maybe try setting StartupWMClass [. .]' - what, within the relevant .desktop file?

My setup on my Mint computers is customised heavily in some ways, but not, I imagine, in relevant ways. For, the main customisations are: udev rules; elaborate (but optimised) Conky; custom panels; use of the dock called 'Plank'.

'[W]e also need better issue reports'

. . 'that helps debug and track the issues, pinpoint which commit/PR it happened in or even which line of the code. If you learn how to use git and run the project from source, git bisect etc you could help us trace the performance issues down. While we appreciate reporting issues, the reality is that most of the issues created are not helpful to us, because people keep reporting v5 issues that was already reported, many which have been fixed in v6, and often with insufficient details making the issues non-actionable for us [. . .]

The problems that I have reported recently are regressions. As to building the project and bisecting: I have some experience of doing those things (with other projects) but since as I reported I was spending too much time on Ulauncher already, then I must pass. Sorry. I do appreciate Ulauncher: I tried various launchers; Ulauncher is the one I like best; and it is because I use it all the time that I cannot afford to have problems with it. If you take donations, then I will give you (a small) one.

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

2 participants