Bug 469585 - [regression] Dolphin does not decode "?" ("%3F") anymore and "show target" fails with "not existing"
Summary: [regression] Dolphin does not decode "?" ("%3F") anymore and "show target" fa...
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 23.04.0
Platform: Manjaro Linux
: NOR major
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-10 15:50 UTC by hasezoey
Modified: 2024-06-14 02:10 UTC (History)
2 users (show)

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


Attachments
screenshot of the "Link to file" in the bottom (6.35 KB, image/png)
2023-05-10 15:50 UTC, hasezoey
Details
screenshot of pressing"Show Target" on the link (10.02 KB, image/png)
2023-05-10 15:51 UTC, hasezoey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hasezoey 2023-05-10 15:50:30 UTC
Created attachment 158832 [details]
screenshot of the "Link to file" in the bottom

SUMMARY
Dolphin 23.4.0 does not properly decode "?" characters when showing in the bottom, and "Show Target" via link does not work anymore via "Show Target"

this did work with version 22.12.3(-1) from pacman

STEPS TO REPRODUCE
1. mkdir test
2. cd test
3. mkdir "hello?/hello2?"
4. ln -sfr "./hello?/hello2?" .
5. go into dolphin to the folder of "test"
6. click on "hello2?" link and observe "Link to file" in the bottom showing "%3F" instead of "?"
7. (on "hello2?") try to context menu -> "Show target" or via Context menu -> properties -> Points to (the button on the end)
8. observe error showing up about target not existing

OBSERVED RESULT
dolphin does not handle links with "?" in them properly anymore

EXPECTED RESULT
dolphin to correctly handle "?"

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Kernel Version: 6.3.0-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX Vega
Manufacturer: ASUS

ADDITIONAL INFORMATION
Comment 1 hasezoey 2023-05-10 15:51:30 UTC
Created attachment 158833 [details]
screenshot of  pressing"Show Target" on the link
Comment 2 hasezoey 2023-05-10 15:53:44 UTC
i also just noticed that it does not even show the link correctly, it says "Link to" but that does not even contain the real path in "hello?" and the "Show Target" shows as "hello" (no subdirectory), which is in any case incorrect
Comment 3 hasezoey 2023-06-11 17:39:45 UTC
i dont know if it matters but since creating the issue i could update to frameworks 5.106.0 and dolphin 23.04.1, which still has the same problem

i should also note that i did a mistake in step 3 of the reproduction, it is meant to be:
3. mkdir -p "hello?/hello2?"

(it was missing the "-p" to create both directories)

Operating System: Manjaro Linux 
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.3.5-2-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX Vega
Manufacturer: ASUS
Comment 4 hasezoey 2023-07-21 15:42:43 UTC
reproduction video (along with https://bugs.kde.org/show_bug.cgi?id=468908) https://www.youtube.com/watch?v=YQEvOPOA2Sg
Comment 5 hasezoey 2023-10-29 13:06:25 UTC
i am still having this issue in dolphin 23.08.1 and the following kde 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.5.5-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX Vega
Manufacturer: ASUS
Comment 6 hasezoey 2023-12-02 18:05:21 UTC
Just tested with Plasma 6.0 Beta 1, thinking maybe it fixes this problem again, but it did not do it (but different)
- "bottom link not decoding percent-encoded questionmark": fixed, but now it says "Link to http://hello?/hello2" which is wrong
- "opening the file (double click)": works
- "Show Target from context menu not opening": still says the same as in the screenshot (https://bugs.kde.org/attachment.cgi?id=158833)
- "Points to link opening": also still says the same (as "Show Target from context menu not opening")

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.0
Kernel Version: 6.2.0-37-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 3,8 GiB of RAM
Graphics Processor: llvmpipe
Manufacturer: QEMU
Product Name: Standard PC (Q35 + ICH9, 2009)
System Version: pc-q35-8.1

dolphin --version:
dolphin 24.01.80
Comment 7 hasezoey 2024-01-22 12:55:36 UTC
Update with dolphin `24.04.70` and plasma `6.0.80`: the issues are still the same as the first time with plasma 6

full about:
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 5.249.0
Qt Version: 6.6.1
Kernel Version: 6.5.0-14-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 3,8 GiB of RAM
Graphics Processor: llvmpipe
Manufacturer: QEMU
Product Name: Standard PC (Q35 + ICH9, 2009)
System Version: pc-q35-8.1

PS: the issues also still exist within plasma 5 (dolphin `23.08.4` & plasma `5.27.10`)
Comment 8 TraceyC 2024-06-14 02:10:16 UTC
On my system, some of the behavior working OK now, but "Show target" still exhibits the error.

I followed the setup in the original message.
1. In Dolphin, I opened the folder "test"
2. Clicked on "hello2?" and observed that "Link to file" in the bottom did not show "%3F" - BUT it incorrectly showed "Link to ~/Downloads/test/hello" (leaving off the ? at the end)
3. Right clicked on "hello2?" -> "Show target", saw an error "The file or folder /home/tracey/Downloads/test/hello does not exist."
4. In properties of hello2? the "Points to" field correctly shows hello?/hello2 BUT clicking on the arrow button results in the same error as the last step
Comment 9 TraceyC 2024-06-14 02:10:49 UTC
Operating System: Solus 4.5
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.8.11-292.current (64-bit)