Bug 496145 - Gwenview
Summary: Gwenview
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: git-master
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-11 18:55 UTC by Dav84
Modified: 2025-03-25 06:41 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dav84 2024-11-11 18:55:39 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 6.2.3
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0

ADDITIONAL INFORMATION
I don't know if you should call it a bug, you know more when I rename a folder in Dolphin and leave a small space at the end and then try to open a file in that folder in this case an image does not open Gwenview keeps loading but is never displayed I have to force close the photo viewer and I tried with a folder with text files and it does not open them either Kate leaving a small space a click or an enter with the space key is enough so that the files in that folder cannot be opened or displayed, nothing out of the ordinary but I think it should not happen, NOTE if the file is outside a folder and that space is left at the end of for example a PHOTO.jpg... the file does open the problem seems to be if they are inside a folder.
Comment 1 Pedro 2025-03-25 06:41:12 UTC
I can confirm this bug in Dolphin 25.07.70. Changing the `Product` to `Dolphin` since it seems more an issue in Dolphin (or KIO) than Gwenview.

Steps
  1. In Dolphin, create a new folder in any user's directory. Call it "test"
  2. Open the new folder and create a new text file using the right click context menu. Call the file "test-file.txt"
  3. Go up one level and rename the "test" folder to "test "
  4. Enter the renamed folder and try to open the `txt` file by using double click or pressing enter

  Observed: The mouse pointer displays the icon of Kate (or any text editor set by the user) as if it's loading but the app never launches.
  Expected: The app is launched and the file opened.

In `journalctl` I can see the following messages:
```
  systemd[1449]: Started app-org.kde.kate@0a4a2f72cb1d44e9acceef7936cd65ac.service - Kate - Advanced Text Editor.
  (kate)[1890384]: app-org.kde.kate@0a4a2f72cb1d44e9acceef7936cd65ac.service: Changing to the requested working directory failed: No such file or directory
  systemd[1449]: app-org.kde.kate@0a4a2f72cb1d44e9acceef7936cd65ac.service: Main process exited, code=exited, status=200/CHDIR
  systemd[1449]: app-org.kde.kate@0a4a2f72cb1d44e9acceef7936cd65ac.service: Failed with result 'exit-code'.
```

Software
  Dolphin 25.07.70
  Operating System: TUXEDO OS 
  KDE Plasma Version: 6.3.2
  KDE Frameworks Version: 6.11.0
  Qt Version: 6.8.2
  Kernel Version: 6.11.0-109019-tuxedo (64-bit)
  Graphics Platform: Wayland