https://bugs.kde.org/show_bug.cgi?id=476781

            Bug ID: 476781
           Summary: Spectacle crashes when opening a remote mount point
                    that is not mounted
    Classification: Applications
           Product: Spectacle
           Version: 23.08.1
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: General
          Assignee: noaha...@gmail.com
          Reporter: 994679...@qq.com
                CC: k...@david-redondo.de
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to