Created attachment 171647 [details] Time widget spacing illustration by Reddit user /u/FypeWaqer SUMMARY In one line mode when date is shown, the spacing between the date and time looks off when using a monospace font, especially if there is a space in the date format. Because the widget is visually just text, the expectation is that the spacing would be the same as a space. STEPS TO REPRODUCE 1. Add a new horizontal date widget 2. Check "show date" and always put it beside time 3. Set date format to something with a space, like "dd MMM" (14 June) 4. Observe the gap between date and time is slightly different from the size of the space character 5. Use a monospace font 6. Observe how the difference is even more pronounced OBSERVED RESULT Gap between date and time is different from the width of a space character EXPECTED RESULT Gap between date and time is the same as a space character SOFTWARE/OS VERSIONS Linux/KDE Plasma: 6.6.38-1-lts KDE Plasma Version: 6.2 (master branch) plasma-workspace: commit 18679ce09b plasma-desktop: commit fdd44ea75 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 ADDITIONAL INFORMATION First reported by Reddit user /u/FypeWaqer in the KDE subreddit: https://www.reddit.com/r/kde/comments/1e2perj/time_widget_spacing_is_off_for_monospace_fonts/
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4519
Git commit b2202410fcfa9147f646f10c5a60e3f7a9b28f0c by Kisaragi Hiu. Committed on 14/07/2024 at 07:26. Pushed by ngraham into branch 'master'. applets/digital-clock: make time/date spacing be like typographic space Because the time/date have the same text style, to the user the date and time appear to be the same text, so it's surprising to have the distance between them be a spacing that's more suitable for two separate applets. M +5 -1 applets/digital-clock/package/contents/ui/DigitalClock.qml https://invent.kde.org/plasma/plasma-workspace/-/commit/b2202410fcfa9147f646f10c5a60e3f7a9b28f0c