Bug 482295 - KDE Connect add an unexpected '/' character at the front of the file saving path on Windows
Summary: KDE Connect add an unexpected '/' character at the front of the file saving p...
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: windows-application (other bugs)
Version First Reported In: 23.08.1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: brute4s99
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-03 12:06 UTC by du33169
Modified: 2024-03-03 12:09 UTC (History)
1 user (show)

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


Attachments
an unexpected '/' character at the front of the file saving path (2.41 KB, image/png)
2024-03-03 12:06 UTC, du33169
Details

Note You need to log in before you can comment on or make changes to this bug.
Description du33169 2024-03-03 12:06:29 UTC
Created attachment 166347 [details]
an unexpected '/' character at the front of the file saving path

SUMMARY

The program automatically adds a '/' before the path after the "Select a directory" Dialog when setting the file-saving path.

This behavior is supposed to be aimed at Linux, but on Windows, this will cause files to be saved to unexpected places if the user doesn't check it after the dialog is closed, and leads to the illusion that the file-sharing function is not working.

STEPS TO REPRODUCE

1. Double-click on the KDE Connect tray icon to open the main window and connect to a phone
2. Double-click on the name of the connected phone
3. Click "Plugin Settings"
4. Find "Share and Receive" and click the settings icon button
5. Click the "browse" icon button and select a directory

OBSERVED RESULT

There is an unexpected '/' at the front of the directory path (see attachment)

EXPECTED RESULT

No extra '/'

SOFTWARE/OS VERSIONS

Windows: 10
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION

The file-saving path can also be edited in the "configure" window opened from the tray menu. It is handled properly if set in this way (the window style is also fancier).