Bug 464796 - Cap the default width of the info/metadata panel to better handle images with very long filenames
Summary: Cap the default width of the info/metadata panel to better handle images with...
Status: CONFIRMED
Alias: None
Product: Koko
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2023-01-25 13:00 UTC by Jack Hill
Modified: 2023-01-25 18:45 UTC (History)
1 user (show)

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


Attachments
Metadata view default width (166.51 KB, image/png)
2023-01-25 13:00 UTC, Jack Hill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jack Hill 2023-01-25 13:00:19 UTC
Created attachment 155630 [details]
Metadata view default width

SUMMARY
I've got some images on an external HDD. The OS uses a long string to mount the folder, so the images end up having a long file path like this:
/run/media/jack/3d9c383a-13c8-4fd6-80e3-ea074a2e119a/Backup/Pictures/2021-05/PXL_20210508_154510909.jpg
Koko's Metadata view opens so that the file name label doesn't get wrapped by default. This means it takes up an unnecessarily large large amount of horizontal space.

STEPS TO REPRODUCE
1. Open a file with a large path
2. Open the metadata view

OBSERVED RESULT
The view is opened so that the file name is not wrapped

EXPECTED RESULT
The view should be opened at a reasonable width, and the file name should be wrapped if necessary.

SOFTWARE/OS VERSIONS
Koko: 22.11 (built from source)
Operating System: openSUSE Tumbleweed 20230123
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 6.1.7-1-default (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-01-25 16:55:37 UTC
Yeah, it should probably have a maximum default width in the case of very long file names, and just wrap them.