Bug 486278 - Entering text while renaming file moves text to left
Summary: Entering text while renaming file moves text to left
Status: RESOLVED DUPLICATE of bug 479695
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.02.2
Platform: Neon Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-29 04:52 UTC by report.bug
Modified: 2024-04-29 16:16 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Shows the bug in dolphin, in KDE Neon running inside KVM (361.02 KB, video/x-matroska)
2024-04-29 04:52 UTC, report.bug
Details

Note You need to log in before you can comment on or make changes to this bug.
Description report.bug 2024-04-29 04:52:52 UTC
Created attachment 168989 [details]
Shows the bug in dolphin, in KDE Neon running inside KVM

***
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
***

SUMMARY
By default, file/folder names in dolphin are centered. When a file is renamed, the selected text remains centered, however as soon as some text is entered, the entire file name becomes left aligned. Upon renaming, when focus is removed (by pressing enter or clicking somewhere else), the text aligns back to centered. If filename is deleted, then the cursor remains at the left edge instead of being centered.

STEPS TO REPRODUCE
1. Select some file, use F2 or right click> rename
2. Input some text
3. The filename aligns to the left.

OBSERVED RESULT
The file/folder name aligns to left while editing name.

EXPECTED RESULT
The file/folder name should be centered.

SOFTWARE/OS VERSIONS
Tested on (live booted in KVM, neon-testing-20240423-0253.iso ):
Operating System: KDE neon Testing Edition
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Kernel Version: 6.5.0-28-generic (64-bit)
Graphics Platform: Wayland
Processors: 6 × AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx
Memory: 8.1 GiB of RAM
Graphics Processor: virgl
Manufacturer: QEMU
Product Name: Standard PC (Q35 + ICH9, 2009)
System Version: pc-q35-8.1

Also on:
Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.7-300.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx
Memory: 17.5 GiB of RAM
Graphics Processor: AMD Radeon Vega 8 Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: VivoBook_ASUSLaptop X512DA_X512DA
System Version: 1.0

ADDITIONAL INFORMATION
- Dolphin version is 24.02.2 for both KDE Neon and Fedora 40.
- Also, this bug report has an attachment showing similar behaviour but I'm not sure if the objective of that report is similar to this one. If it's the same, apologies to the triaging folks for duplicate :-/
Comment 1 fanzhuyifan 2024-04-29 16:16:13 UTC

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