| Summary: | Gwenview puts commas in image dimensions in window title bar | ||
|---|---|---|---|
| Product: | [Applications] gwenview | Reporter: | nyanpasu64 <nyanpasu64> |
| Component: | general | Assignee: | Gwenview Bugs <gwenview-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | code, john.kizer |
| Priority: | NOR | ||
| Version First Reported In: | 24.05.1 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/gwenview/-/commit/1a8894535ec18df43c7d83efaf740d822cf0091b | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | Comparing image dimensions with other apps/OS | ||
|
Description
nyanpasu64
2024-06-17 20:55:19 UTC
Created attachment 176556 [details]
Comparing image dimensions with other apps/OS
It also affects the "Details" tab in Dolphin when right clicking an image file. Not sure if it's Qt 6 or a KDE library causing this.
Attached is an image showing the bug, and comparing other apps and OSes.
I was able to track down the problematic commit/MR: https://invent.kde.org/graphics/gwenview/-/commit/3663c774ca0b766583ee92d9b2776d67cf5d5c2a https://invent.kde.org/graphics/gwenview/-/merge_requests/220 Reverting that commit fixes the title bar for Gwenview. Although, it was to fix a localisation issue: * https://bugs.kde.org/show_bug.cgi?id=473638 * https://bugs.kde.org/show_bug.cgi?id=473636 Not sure if it's the i18nc() function that causes the integers (e.g. 1024) to end up formatted with commas according to locale (e.g. 1,024). Makes sense for something like "15,200 files" but not "1024x1024 pixels". A possibly relevant merge request was started @ https://invent.kde.org/graphics/gwenview/-/merge_requests/316 Git commit 1a8894535ec18df43c7d83efaf740d822cf0091b by Joshua Goins, on behalf of Luke Horwell. Committed on 04/03/2025 at 15:29. Pushed by redstrate into branch 'master'. Fix presentation of image size integers Changes in 3663c774ca0b766583ee92d9b2776d67cf5d5c2a (bug 473638) caused image dimensions to be displayed with integer grouping (1,024x1,024) instead of the more conventional "1024x1024". M +2 -1 lib/documentview/documentview.cpp M +1 -1 lib/imagemetainfomodel.cpp M +6 -2 lib/thumbnailview/previewitemdelegate.cpp https://invent.kde.org/graphics/gwenview/-/commit/1a8894535ec18df43c7d83efaf740d822cf0091b |