Bug 258077 - [steps] Digital Clock cuts off text when using 12 hour format
Summary: [steps] Digital Clock cuts off text when using 12 hour format
Status: RESOLVED DUPLICATE of bug 228902
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-clock (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-27 15:53 UTC by Caleb Cushing
Modified: 2011-06-25 05:33 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot of panel (40.87 KB, image/png)
2010-11-27 15:53 UTC, Caleb Cushing
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Caleb Cushing 2010-11-27 15:53:23 UTC
Created attachment 53797 [details]
screenshot of panel

Version:           unspecified (using KDE 4.5.4) 
OS:                Linux

the first character of the clock is cut off. attaching a screenshot of my panel.

Reproducible: Didn't try
Comment 1 Caleb Cushing 2010-11-27 15:54:24 UTC
as a side note this only seems to happen in the 12 hour format, not the 24 hour format.
Comment 2 Dario Andres 2010-12-10 21:12:38 UTC
[Comment from a bug triager]
I could reproduce the bug using KDE SC 4.6beta2 (on ArchLinux 686)

(using a clean user account)
Steps to reproduce:
- Setup the 12 hour format on System Settings Locale
- Restart Plasma (this seems to be another bug, the date format change is not being recognized)
Plasma restarts and the digital clock is using the 12Hour format. The display is OK
- Go to the clock settings and check "Show date" and "Show year". Apply
Date and Year appear
- Decrease the panel height so both Time and Date are side by side (instead of Time above date). This is important.
- Go to the clock settings again and disable the "Show date" option. Apply
The digital clock will now only show the time, but the "AM"/"PM" word is chopped. The "M" is missing.

It is like some margins is missing due to some other missing relayouting on the clock settings change.

Locking/Unlocking the panel doesn't change the clock display bug.

Note: modifying the panel height again triggers a relayout on the clock that fixes the issue.

Note: this doesn't happen if the clock is using the 24Hour format (so it may be related to a text-width calculation not considering the AM/PM word )

Regards
Comment 3 lcn.mustard 2011-04-07 06:28:13 UTC
See https://bugs.kde.org/show_bug.cgi?id=254161
I have the same problem. I barely can see the hours and date. I'm using (KDE
4.5.3) It happen aftes some updates in Lucid I guess
Comment 4 John Layt 2011-05-27 19:36:31 UTC

*** This bug has been marked as a duplicate of bug 228902 ***