Bug 487005

Summary: When renaming in icon view, the cursor and the text is not centered but goes to the very left
Product: [Applications] dolphin Reporter: mozo <smitha>
Component: view-engine: icons modeAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: accounts, felixernst, justin, kfm-devel
Priority: NOR    
Version: 24.02.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description mozo 2024-05-14 08:52:01 UTC
SUMMARY
When renaming in icon view, the cursor and the text is not centered but goes to the very left. It happens only with short names. Here's a screenshot:
https://i.imgur.com/8YVqu4L.jpeg

STEPS TO REPRODUCE
1. Ger a file with a short name in icon view and commit a rename.

OBSERVED RESULT
The cursor and the text is not centered but goes to the very left.

EXPECTED RESULT
The cursor should be centered. The newly entered text as well.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.9-arch1-2 (64-bit)
Graphics Platform: X11
Processors: 32 × Intel® Core™ i9-14900KF
Memory: 62.6 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4090/PCIe/SSE2
Manufacturer: ASUS
Comment 1 Justin Zobel 2024-06-03 05:12:48 UTC
I see what you mean, the text is centred but when you rename the text is immediately moved to the left which seems odd, the text should not move.
Comment 2 mozo 2024-06-03 08:02:05 UTC
Yes, that's it. Thank you :)
Comment 3 L5Pro 2024-06-22 12:32:20 UTC
SUMMARY
This bug is causing me frustration as well, after updating my Manjaro system yesterday. The text is centered when I hit F2 to rename the file, but as soon as I paste in the new file name, the text jumps left, rather than staying centered.

SCREEN RECORDING:
Here is a screen recording example: https://ibb.co/ZNGjxFm

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 24
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.6.32-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 32 × 13th Gen Intel® Core™ i9-13900HX
Memory: 31.1 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: LENOVO
Comment 4 mozo 2024-06-22 12:57:26 UTC
It's the same on Plasma 6.1.
Comment 5 Felix Ernst 2024-06-26 10:29:41 UTC

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