Bug 494736 - Improve date display in thin vertical panels
Summary: Improve date display in thin vertical panels
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock widget (other bugs)
Version First Reported In: 6.2.4
Platform: unspecified Linux
: VLO wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-14 11:34 UTC by Fernando M. Muniz
Modified: 2024-12-15 12:47 UTC (History)
2 users (show)

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


Attachments
The date is very small, needlessly so. (15.52 KB, image/png)
2024-10-14 11:34 UTC, Fernando M. Muniz
Details
Edited zoom (15.40 KB, image/png)
2024-10-16 20:55 UTC, Fernando M. Muniz
Details
Without Margin Separator. (10.24 KB, image/png)
2024-10-16 21:32 UTC, Fernando M. Muniz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando M. Muniz 2024-10-14 11:34:51 UTC
Created attachment 174803 [details]
The date is very small, needlessly so.

There should be a setting that makes both clock and date enlarge to the last left and right pixel of the vertical panel.
Comment 1 David Edmundson 2024-10-16 16:08:30 UTC

*** This bug has been marked as a duplicate of bug 440096 ***
Comment 2 Nate Graham 2024-10-16 20:42:58 UTC
So the issue here is that your date string doesn't contain any spaces in it, so the current algorithm treats it as a single word and doesn't wrap it.

Even if it did... would you want that? Typically dates shown in that format don't ever get wrapped, it would be pretty weird. Can you describe what you do expect here for a date string in that format? Or would you expect it to automatically switch to a different format more suitable for being displayed on multiple lines?
Comment 3 Fernando M. Muniz 2024-10-16 20:55:22 UTC
Created attachment 174913 [details]
Edited zoom

Something like this; 50 pixels wide on 50 pixels wide panel.
Comment 4 Nate Graham 2024-10-16 20:59:39 UTC
Ok, so you can already do that right now by moving your digital clock so it's not in between two Margins Separators widgets on the panel.

Other than that, how would you like this fixed?
Comment 5 Fernando M. Muniz 2024-10-16 21:08:56 UTC
(In reply to Nate Graham from comment #4)
> Ok, so you can already do that right now by moving your digital clock so
> it's not in between two Margins Separators widgets on the panel.
> 
> Other than that, how would you like this fixed?

I want the clock to be there just like the edit, without affecting anything else.
Can I Ctrl+Z during edit mode if it doesn't look like what I want? (If not, I'll have a new bug to file)
Comment 6 Nate Graham 2024-10-16 21:25:28 UTC
Removing widgets is not Ctrl+Z'able, no. It is undoable via the "Undo" button in the notification that appears though.
Comment 7 Fernando M. Muniz 2024-10-16 21:32:17 UTC
Created attachment 174915 [details]
Without Margin Separator.

I removed it, it's slightly better, but not like the edit.
Comment 8 Nate Graham 2024-10-16 21:36:59 UTC
Yes, the panel itself has some inner margins that widgets can't exceed. So I'm afraid it's not going to be possible to make the tech literally touch the edges of the panel like your mockup indicates.

I think a different approach is needed here. Perhaps on vertical panels, the default data format can switch to something that looks good with internal spaces, so it can wrap nicely.
Comment 9 NW 2024-12-15 12:47:34 UTC
(In reply to Nate Graham from comment #8)
> Yes, the panel itself has some inner margins that widgets can't exceed. So
> I'm afraid it's not going to be possible to make the tech literally touch
> the edges of the panel like your mockup indicates.

Submitted an issue report for it: https://bugs.kde.org/show_bug.cgi?id=497503