Skip to content

Fix: Panel shifts when clock seconds change (#13336)#13459

Closed
carsteneu wants to merge 1 commit intolinuxmint:masterfrom
carsteneu:fix-issue-13336-clock-panel-shift
Closed

Fix: Panel shifts when clock seconds change (#13336)#13459
carsteneu wants to merge 1 commit intolinuxmint:masterfrom
carsteneu:fix-issue-13336-clock-panel-shift

Conversation

@carsteneu
Copy link
Contributor

Use tabular figures (font-feature-settings: "tnum") for the clock label to ensure all digits have equal width. This prevents the panel from shifting when the time changes (e.g., from "9:59" to "10:00" or when seconds update). I think its

Fixes #13336

Use tabular figures (font-feature-settings: "tnum") for the clock label
to ensure all digits have equal width. This prevents the panel from
shifting when the time changes (e.g., from "9:59" to "10:00" or when
seconds update).

Fixes linuxmint#13336
@mtwebster
Copy link
Member

This doesn't do anything for me. I think it's already enabled for most fonts.

But also, it seems like what you really want is to revert this change:
linuxmint/cinnamon-desktop@f1f82b3

I don't disagree that having everything on your panel shift can be annoying, but to me, being forced to stare at extra spacing within the clock label is worse.

image vs image

An ideal fix here would be for the label to have fixed size larger than maximum width the label could ever be based on the current format.

example:
https://github.com/mtwebster/Cinnamonitor/blob/master/applet.js#L102-L113

Then the layout could resize itself internally, without affecting the rest of the panel. This would be a lot more complex than my example, however - you need to account for locale, days of the week, etc...

@mtwebster mtwebster closed this Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The panel shifts left and right every time the seconds change on the clock + panel flickers when switching keyboard layouts

2 participants