Bug 178859 - Panel's digital clock numbers cut off
Summary: Panel's digital clock numbers cut off
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-clock (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2008-12-27 05:44 UTC by Holly
Modified: 2010-02-11 00:46 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of clock. (2.74 KB, image/jpeg)
2008-12-27 05:47 UTC, Holly
Details
Screenshot of locked widgets (2.29 KB, image/jpeg)
2008-12-27 05:47 UTC, Holly
Details
Clock bug (2.77 KB, image/jpeg)
2008-12-30 22:52 UTC, Holly
Details
Screenshot: clock time chopped (when showing date on a minimal height panel + big fonts) (6.71 KB, image/jpeg)
2009-04-25 18:19 UTC, Dario Andres
Details
expanded panel -> clock cut off on the right (7.55 KB, image/png)
2009-06-25 23:49 UTC, Martin Ammermüller
Details
panel not expanded -> clock displayed properly (7.76 KB, image/png)
2009-06-25 23:49 UTC, Martin Ammermüller
Details
Appearance of digital clock is damaged (37.11 KB, image/png)
2009-07-25 15:33 UTC, Gregor Waluga
Details
Settings of digital clock (142.03 KB, image/png)
2009-07-25 21:44 UTC, Gregor Waluga
Details
screencast to show trigger of bug (288.26 KB, video/mpeg)
2009-07-25 21:46 UTC, Gregor Waluga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Holly 2008-12-27 05:44:52 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Well, I'm assuming this happened as a result of fixing that bug where the digital clock takes up two lines on the panel when the time is two digits (12, 11, etc).

Now, however, the first number is just cut off, as the screen below shows. Not only that, but locking the widgets leaves this blank space at the end of the panel where the Plasma button used to be. So I guess the space the clock takes up needs to be bugger and it needs to learn to move over when the widgets are locked.
Comment 1 Holly 2008-12-27 05:47:03 UTC
Created attachment 29661 [details]
Screenshot of clock.

Also, it only happens when the panel is small... making it bigger makes it go away.
Comment 2 Holly 2008-12-27 05:47:43 UTC
Created attachment 29662 [details]
Screenshot of locked widgets
Comment 3 Aaron J. Seigo 2008-12-27 06:42:21 UTC
are you sure it's the digital clock getting cut off, or is it the system tray overlapping it?

try moving the clock to the left of the system tray and see what happens. if it is the tray, this is a dupe of #177968
Comment 4 Marco Martin 2008-12-27 11:14:14 UTC
i can't reproduce at all, and since the problem seems to trigger when the panel is locked it's really likely to be a dupe of that bug.
Holly, can you test with a today's svn?
Comment 5 Holly 2008-12-30 22:52:51 UTC
Created attachment 29770 [details]
Clock bug

Ok, the bug where there's blank space left when you lock the widgets is now gone, as I updated my builds.

However, as you can see from the screenshot, the clock being cut off is still there and it happens regardless of the system tray. It all depends on the size of the panel, since it doesn't seem able to give the clock the needed space when it's too small.
Comment 6 Holly 2008-12-30 22:56:46 UTC
Oh! I jsut thought of something else - all this might be because I, with my huge monitor and resolution, increased the overall text size in KDE from like 9 to 13, so the text is bigger than usual and maybe that's why you can't reproduce. I note that the smaller I make the panel, the less of the clock you can see.
Comment 7 Dario Andres 2009-04-09 00:18:16 UTC
Can you still reproduce this bug with a recent KDE (4.2.2 / 4.2svn / 4.3svn) ? Thanks :)
Comment 8 Holly 2009-04-09 06:37:33 UTC
Alas, yes I can. However, I found a workaround ages ago: I just turn on "Show day of the week" and it's fine.

I think it has to do with the fact that my text is bigger than the default (I set it to font 13 for almost everything).
Comment 9 Dario Andres 2009-04-25 18:18:40 UTC
Here using:

Qt: 4.5.0 + qt-copy-patches-942255
KDE: 4.2.70 (KDE 4.2.70 (KDE 4.3 >= 20090415))
kdelibs svn rev. 958964 / kdebase svn rev. 958965
on ArchLinux i686 - Kernel 2.6.29.1

When using FontsSize=>13px (96dpi) I can get the cut clock when the panel height is minimal and some day options are active.
However I don't know if it is the same bug.
Comment 10 Dario Andres 2009-04-25 18:19:56 UTC
Created attachment 33094 [details]
Screenshot: clock time chopped (when showing date on a minimal height panel + big fonts)
Comment 11 Martin Ammermüller 2009-06-25 23:49:01 UTC
Created attachment 34813 [details]
expanded panel -> clock cut off on the right

I think i have a similar issue with the digital clock. But it only happens if i set the panel to expand. I didn't change the system font. See attachments for screenshots.
Comment 12 Martin Ammermüller 2009-06-25 23:49:32 UTC
Created attachment 34814 [details]
panel not expanded -> clock displayed properly
Comment 13 Martin Ammermüller 2009-06-25 23:53:48 UTC
Oh, I forgot: KDE 4.2.4, Debian unstable packages.
Comment 14 Martin Ammermüller 2009-07-04 20:15:22 UTC
I still have this issue in KDE 4.3 RC1, compiled from sources.
Comment 15 Gregor Waluga 2009-07-25 15:33:20 UTC
Created attachment 35626 [details]
Appearance of digital clock is damaged

Same problem in Kubuntu 9.04, ppa-packages KDE 4.3rc3!
On daychange at 0.000 the appearance of digital clock is damaged and invisible. When I enter the settings and click on OK, appearance is normal, until the date changes again.
I had this problem since KDE4.3 beta2 

I use Clean blend as plasma theme with Dejavu Sans as font.

Perhaps its depending on panel height?
Comment 16 Aaron J. Seigo 2009-07-25 20:51:55 UTC
to summarize:

* date must be showing (which date options, exactly? any combination?)
* panel must be set to expanding?
* problem triggers when date changes (any other triggers?)
Comment 17 Gregor Waluga 2009-07-25 21:44:30 UTC
Created attachment 35633 [details]
Settings of digital clock

Hi!

Maybe this screenshot is helpful and answers your questions.
Another trigger is a click on OK in the digital clock settings, then the clock works fine. If I repeat this, the clock damages again. I made a screencast to explaim that.
Comment 18 Gregor Waluga 2009-07-25 21:46:07 UTC
Created attachment 35634 [details]
screencast to show trigger of bug
Comment 19 Martin Ammermüller 2009-07-27 15:17:29 UTC
* date must be showing with year and day of the week.
* panel must be set to expand.
* as depicted in my screenshots, panel height must set so, that time and date are on one horizontal line.

That's all. No other triggers needed.
Comment 20 Sebastian Kügler 2009-12-23 03:35:44 UTC
It seems the panel does not expand when the clock changes its minimumsize. I've had a look at the digiclock, but can't really figure out what it does differently than the tasks applet where expanding horizontally works fine. The digital clock doesn't seem to be able to expand the panel horizontally.
Comment 21 Sebastian Kügler 2010-02-11 00:46:41 UTC
This has been fixed in 4.4.0