Bug 497732 - Date in "File already exists" should wrap instead of scaling the whole window
Summary: Date in "File already exists" should wrap instead of scaling the whole window
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Overwrite dialog (show other bugs)
Version: 6.9.0
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2024-12-20 21:46 UTC by Damglador
Modified: 2025-03-17 10:23 UTC (History)
5 users (show)

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


Attachments
Screenshot of the wide "File already exists" window (50.89 KB, image/png)
2024-12-20 21:46 UTC, Damglador
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Damglador 2024-12-20 21:46:46 UTC
Created attachment 176797 [details]
Screenshot of the wide "File already exists" window

SUMMARY
I use Ukrainian language. Because translation of region of time is very long the "File already exists" dialogue takes up more than half of my screen in width.

STEPS TO REPRODUCE
1. Set Dolphin language to Ukrainian
2. Copy a file to another directory 
3. Copy the same file in the same directory another time
4. Get "File already exists" window

OBSERVED RESULT
Window is very wide just because the date of a file on the right and on the left has "за центральноєвропейським стандартним часом" at the end and instead of wraping around it stretches the window.

EXPECTED RESULT
Window should be much slimmer and just wrap date/time after some point into the next line instead of making the window unnecessery wide. Perhaps the same should be applied to path.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.2.4 
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION
Comment 1 John Kizer 2024-12-30 05:52:25 UTC
For reference as anyone looks at this, the most recent discussion and implemented change to this dialog are linked here:

https://discuss.kde.org/t/simplify-the-file-conflict-overwrite-dialog-redesign/5938

https://invent.kde.org/frameworks/kio/-/merge_requests/1464
Comment 2 Bug Janitor Service 2025-03-15 17:46:39 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1836
Comment 3 Damglador 2025-03-15 18:50:33 UTC
Yup, that looks much better.
Comment 4 Méven 2025-03-17 10:23:04 UTC
Git commit 9cdfb3514d9ab752da45b6c974cd3c96464756a7 by Méven Car, on behalf of Māris Nartišs.
Committed on 17/03/2025 at 10:22.
Pushed by meven into branch 'master'.

RenameDialog: Enable word wrap for text content

Depending on translations, displayed texts can get really long
and thus push dialog width to even exceed screen width. Word
wrap allows dialog width to stay sane.

M  +2    -0    src/widgets/renamedialog.cpp

https://invent.kde.org/frameworks/kio/-/commit/9cdfb3514d9ab752da45b6c974cd3c96464756a7