[Regression] [UX] firefox-esr icon in phosh no longer does what I naturally expect it to do
(moved to upstream from postmarketOS)
Describe your issue
firefox-esr icon in phosh no longer does what I naturally expect it to do. This seems to have changed some time during the postmarketOS service packs. While I tested this on postmarketOS, it seems to be an issue not at the postmarketOS level but something with firefox as packaged by alpine or phosh as packaged by alpine.
What's the expected behaviour?
Tapping firefox-esr will, if firefox isn't open yet, launch firefox. Otherwise, it will get me to any of the open firefox windows (I think the most intuitive would be to the latest, but any is better than what it currently does).
What's the current behaviour?
Tapping firefox-esr will, if firefox isn't open yet, launch firefox. Otherwise, it will open another new window. This is not only very useless to me because it is extremely rare that I want to open a separate window (who browses with tons of separate windows when there are tabs?) and it's also rather inconsistent (I haven't found any other icon that doesn't just get me to the app when it's already open), it's also super slow: it seems to launch the firefox binary as a whole with some argument that results in a new window, and it takes multiple seconds to do anything. So not only is it not doing what I want, but it's also doing so very slowly.
How to reproduce your issue?
- Tap firefox icon to launch firefox-esr.
- Wait until it is Open.
- Tap firefox icon again. (Which should bring you back to any firefox window quickly, not open another one and take forever for doing that)
What device are you using?
PinePhone 3GB/Convergence Allwinner