Bug 448115 - Creating new folder on sftp:// server from Save File dialog crashed the portal
Summary: Creating new folder on sftp:// server from Save File dialog crashed the portal
Status: RESOLVED DUPLICATE of bug 433347
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-08 12:47 UTC by ratijas
Modified: 2022-01-08 13:59 UTC (History)
1 user (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 ratijas 2022-01-08 12:47:50 UTC
SUMMARY

Creating new folder on sftp:// server from Save File dialog crashed the whole thing. Sublime Text, which initiated the dialog, survived the crash though, and continued to run as nothing happened.

Backtrace: https://invent.kde.org/-/snippets/2041

STEPS TO REPRODUCE
1. Create new file in any editor that can use xdg-portal, e.g. Sublime Text or Kate.
2. Hit Save or Save as…
3. Navigate to an sftp:// server, if you got one. I don't know if this is sftp-specific -- maybe other special locations:// would work too.
4. Select «New Folder» action (there's a button on the right of a toolbar, and it's in a context menu too)
5. Enter a valid folder name, and confirm (OK/Enter)

OBSERVED RESULT

Portal dialog crashes. Although the folder was already there the next time I opened the dialog.

EXPECTED RESULT

Should not crash.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.15.12-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2

ADDITIONAL INFORMATION

It is not consistent. There might be some race condition, or network lag affecting the bug.
Comment 1 Nicolas Fella 2022-01-08 13:59:48 UTC

*** This bug has been marked as a duplicate of bug 433347 ***