Bug 419618 - Firefox doesn't open the right application for images
Summary: Firefox doesn't open the right application for images
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-04 03:12 UTC by techxgames
Modified: 2020-05-04 04:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description techxgames 2020-04-04 03:12:39 UTC
SUMMARY
I didn't experience this when opening from Dolphin, but if I use Firefox to open up files, they usually open up at Firefox itself.

STEPS TO REPRODUCE
1. Save an image with Firefox
2. Open up an image

OBSERVED RESULT
Image opens up in Firefox as a separate Window

EXPECTED RESULT
Opens up preferred image viewer (in my case Gwenview)

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.5
Kernel Version: 5.4.0-21-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-6500 CPU @ 3.20GHz
Memory: 15.6 GiB of RAM

ADDITIONAL INFORMATION
I set the defaults using Dolphin, which is why I created the bug report under Dolphin
Comment 1 Nate Graham 2020-04-04 03:34:33 UTC
Sounds like a bug in Firefox or how it's configured. Can you check in Firefox > Hamburger menu > Preferences > Applications > Search for "image"?
Comment 2 2wxsy58236r3 2020-04-04 03:39:55 UTC
If you run `xdg-mime query default image/jpeg` in terminal (e.g. Konsole), what does it return?
Comment 3 techxgames 2020-04-04 03:46:24 UTC
(In reply to Nate Graham from comment #1)
> Sounds like a bug in Firefox or how it's configured. Can you check in
> Firefox > Hamburger menu > Preferences > Applications > Search for "image"?

It uses "Always Ask".  If I open the drop down, the options were "System Handler" and "Other".

(In reply to 2wxsy58236r3 from comment #2)
> If you run `xdg-mime query default image/jpeg` in terminal (e.g. Konsole),
> what does it return?

It returns org.kde.gwenview.desktop, but I'm assuming it's because I changed the mimeinfo.cache manually.
Comment 4 2wxsy58236r3 2020-04-04 04:14:36 UTC
> if I use Firefox to open up files
Does that mean after downloading an image file in Firefox, you click on (open) the file in Firefox's internal download manager and it opens in a new (separate) Firefox window/tab?

(If you explicitly use CTRL-O (or File > Open...) in Firefox to open the image, then it will be displayed in Firefox, which is expected.)

By the way, have you tried using a fresh Firefox profile (i.e. all Firefox settings reset to default, all extensions disabled) to see if the problem persists?

Note: After providing the information, the status can be changed to "REPORTED" (but not "NEEDSINFO FIXED").
Comment 5 Bug Janitor Service 2020-04-19 04:33:12 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2020-05-04 04:33:14 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!