Bug 444454 - Notifications offering to open folder do not launch file manager
Summary: Notifications offering to open folder do not launch file manager
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.23.2
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-26 21:04 UTC by David
Modified: 2023-04-27 21:15 UTC (History)
4 users (show)

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


Attachments
peek_notification (26.55 KB, image/png)
2021-10-28 16:26 UTC, David
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David 2021-10-26 21:04:53 UTC
SUMMARY
If I get a system notification from something other than an official KDE app or web browser offering me to open some folder and I click said button, it will not launch dolphin.

STEPS TO REPRODUCE
1. Record a GIF video using the "peek" app and save the video.
2. Click the big button on the system notification that pops up which offers to open the destination folder.

OBSERVED RESULT
Does not open the folder.

EXPECTED RESULT
Should launch the default file manager (usually dolphin) opened in the folder from the notification, with the recently-created file pre-selected in the file manager. It does so when the notification comes from a web browser (I recall this was fixed recently as it didn't work before), but not for "peek".

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux
KDE Plasma Version: 5.23.0
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Kernel Version: 5.14.0-3-amd64 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 2700 Eight-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD VEGA10

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-10-28 15:29:29 UTC
And these are Plasma notifications, right? Can you attach a screenshot of the Peek notification in question?
Comment 2 David 2021-10-28 16:26:41 UTC
Created attachment 142970 [details]
peek_notification

Yes, this is a system notification that integrates natively with KDE. Attached is a screenshot of the pop-up. You can BTW also see that (unrelated to this bug) it renders the top corners wrong.
Comment 3 David 2021-10-28 16:27:41 UTC
And BTW this is a regression as these notifications used to launch dolphin correctly in earlier KDE releases.
Comment 4 Nate Graham 2021-10-28 19:15:09 UTC
Assuming Peek is using the the org.freedesktop.filemanager1 function from the spec (and it looks like it does: https://github.com/phw/peek/search?q=filemanager&type=code), this could happen if we broke that function on our side.
Comment 5 Nate Graham 2022-07-06 17:35:48 UTC
Cannot reproduce with current git master. Does this still happen to you in Plasma 5.25 or current git master?
Comment 6 Bug Janitor Service 2022-07-21 04:36:37 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 7 Bug Janitor Service 2022-08-05 04:35:30 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!
Comment 8 David 2022-08-06 19:16:03 UTC
(In reply to Bug Janitor Service from comment #6)
> 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!

Still reproducible in 5.25.3

Operating System: Debian GNU/Linux
KDE Plasma Version: 5.25.3
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.4
Kernel Version: 5.18.0-3-amd64 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 2700 Eight-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD VEGA10
Manufacturer: Acer
Product Name: Predator PH517-61
System Version: V1.09
Comment 9 Nate Graham 2023-04-27 21:15:21 UTC
Since we're not getting massive number of bug reports about this issue, that means it's not generally broken for everyone. Instead, the issue must be with how the org.freedesktop.FileManager1 DBus interface is working on your system. This isn't a KDE issue, and the best people to help you troubleshoot it are your distro.