Bug 479048 - Firefox/notification opens new Dolphin instance instead of opening a tab in the existed one
Summary: Firefox/notification opens new Dolphin instance instead of opening a tab in t...
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 23.08.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-26 22:43 UTC by sunwebrw
Modified: 2024-02-07 03:45 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sunwebrw 2023-12-26 22:43:06 UTC
SUMMARY
***
When you download something, for example in Firefox and try to open folder that contains that file either from Firefox or by using widget in the notification panel it opens up with one of 2 cases:
1) IF Dolphin is already opened AND doesn't have this folder already opened prior to you opening it with methods described above THEN new Dolphin instance is opened. Which is bad for reasons below.
2) IF Dolphin is already opened AND does have this folder already opened prior to you opening it with methods described above THEN Dolphin is switching to this tab. Which is good.

Why 1st case is bad? Not only it creates new instance as a minor inconvenience but if you don't have Dolphin already opened with your favourite tabs that are remembered the new Dolphin instance completely erases those. So you lose your tabs.

***


STEPS TO REPRODUCE
0. Open Dolphin, open few tabs, make sure they're remembered, close Dolphin
1. Open Firefox and download anything(the same page to html should be enough)
2a. Go to Firefox to open place where file was downloaded
2b. Click on the notification and choose Open Containing Folder

OBSERVED RESULT
Dolphin is opened with the right folder but previously remembered tabs disappeared.

EXPECTED RESULT
Dolphin is opened with all previously remembered tabs. If tab doesn't exist it opens new tab that leads to folder containing file.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro Linux
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
Wayland
Comment 1 Felix Ernst 2024-01-08 16:12:40 UTC
Thank your for your bug report.

Does changing the setting in "Configure Dolphin>Startup>General>Open new folders in tabs" lead to the behaviour that you want?
Comment 2 Bug Janitor Service 2024-01-23 03:45:28 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 3 Bug Janitor Service 2024-02-07 03:45:41 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!