Bug 476781 - Spectacle crashes when opening a remote mount point that is not mounted
Summary: Spectacle crashes when opening a remote mount point that is not mounted
Status: RESOLVED WORKSFORME
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: 23.08.1
Platform: Manjaro Linux
: NOR crash
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-10 09:18 UTC by discaz fang
Modified: 2025-11-29 03:46 UTC (History)
2 users (show)

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


Attachments
kcrash, I originally intended to upload the coredump, but even after compressing it, the coredump file is still too large (7.74 KB, text/plain)
2023-11-10 09:28 UTC, discaz fang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description discaz fang 2023-11-10 09:18:19 UTC
SUMMARY
***
When using the Spectacle tool to take a screenshot and selecting "Save As," the application defaults to the last saved path. In my case, this path is mounted from a remote host to the local machine using gio fuse sftp. However, the remote host is currently offline, leading Spectacle to attempt opening an unreachable sftp remote path, resulting in a crash.
***


STEPS TO REPRODUCE
1. Use `gio mount -i sftp://username@[someone ipv6]/` to mount a remote host.
2. Use the Spectacle tool to take a screenshot and select "Save As" on the remote host.
3. Close the remote host or assign a new IP to it.
4. Use the Spectacle tool again to take a screenshot and select "Save As" (the program will exhibit an io hang-like effect at this point).
5. Attempt to use the Spectacle tool once more to take a screenshot (the application will crash at this point).

OBSERVED RESULT

EXPECTED RESULT
I recommend incorporating a timeout feature. Currently, the "Save As" function is rendered ineffective as I cannot change the last saved path due to the issue described.

SOFTWARE/OS VERSIONS

- Operating System: Manjaro Linux 
- KDE Plasma Version: 5.27.8
- KDE Frameworks Version: 5.110.0
- Qt Version: 5.15.11
- Kernel Version: 6.6.0-1-MANJARO (64-bit)
- Graphics Platform: X11
- Processors: 6 × Intel® Core™ i5-8500 CPU @ 3.00GHz
- Memory: 15.5 GiB of RAM
- Graphics Processor: NVIDIA GeForce GTX 1050/PCIe/SSE2
Comment 1 discaz fang 2023-11-10 09:28:45 UTC
Created attachment 163008 [details]
kcrash, I originally intended to upload the coredump, but even after compressing it, the coredump file is still too large
Comment 2 Nate Graham 2025-10-30 20:16:55 UTC
Thank you for the bug report, and I'm sorry we weren't able to look into it yet. A lot has changed since it was reported; can I ask you to see if this is still an issue with Plasma 6.5 or later? Thanks a lot!
Comment 3 Bug Janitor Service 2025-11-14 03:47:56 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2025-11-29 03:46:16 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.