Bug 178840 - Fuzzy Clock confined in too small a space.
Summary: Fuzzy Clock confined in too small a space.
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-26 22:15 UTC by Dotan Cohen
Modified: 2008-12-30 18:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot illustrating the problem. (7.88 KB, image/png)
2008-12-26 22:16 UTC, Dotan Cohen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dotan Cohen 2008-12-26 22:15:15 UTC
Version:            (using Devel)
Installed from:    Compiled sources

The Fuzzy Clock applet should widen itself as the length of it's output dictates. Furthermore, the panel encompassing the Fuzzy Clock should also expand as needed. This is how it worked in KDE 3.5.x and it worked fine. Now in KDE 4.x the Fuzzy Clock is confined and cannot show it's entire text.
Comment 1 Dotan Cohen 2008-12-26 22:16:49 UTC
Created attachment 29654 [details]
Screenshot illustrating the problem.

One can see in the analog clock that the hour is 22:55 but the Fuzzy Clock is too confined to show the whole output.
Comment 2 Marco Martin 2008-12-26 22:56:07 UTC
fixed in trunk
Comment 3 Dotan Cohen 2008-12-26 23:33:28 UTC
Thanks, Marco. Did you just fix it? This was tested in a Project Neon build, which is Trunk from just a few days ago.
Comment 4 Marco Martin 2008-12-27 10:51:11 UTC
yes, the fix is just a couple of days old, it's still not perfect since the font is quite small in the panel, but the text is complete
Comment 5 Dotan Cohen 2008-12-29 12:23:25 UTC
I see that the Fuzzy Clock applet now expands as is necessary, but the panel does not. Therefore I am reopening. Thanks.
Comment 6 Aaron J. Seigo 2008-12-29 20:50:35 UTC
when you say "the panel does not" do you mean that the panel is not at it's maximum size setting and doesn't grow to accomodate the clock?
Comment 7 Marco Martin 2008-12-29 23:26:17 UTC
SVN commit 903094 by mart:

keep the font proportioned to panel size in horizontal panel
BUG:178840


 M  +8 -0      fuzzyClock.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=903094
Comment 8 Dotan Cohen 2008-12-30 08:09:19 UTC
@Aaron: no, I mean that if the panel is less than maximum size, say X pixels wide, and the Fuzzy Clock needs N>X pixels to display, then the panel should expand to N pixels wide automatically (until the maximum screen size).

This was the behaviour in KDE 3, and it is great because one can configure a hidden panel as small as possible that pops up when the mouse is near, and put a Fuzzy Clock on it. When the users pops open the panel the effect is that the Fuzzy Clock pops up, nothing more. It is very nice, and adds a very human touch to the UI.
Comment 9 Marco Martin 2008-12-30 10:12:20 UTC
SVN commit 903225 by mart:

propagate preferred size hints, makeing the panel expand as necessary
CCBUG:178840


 M  +7 -1      fuzzyClock.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=903225
Comment 10 Dotan Cohen 2008-12-30 11:46:33 UTC
Thanks, Marco! I look forward to triaging this in the next few days.
Comment 11 Aaron J. Seigo 2008-12-30 18:35:18 UTC
"that the panel is not at it's maximum size setting and doesn't grow to accomodate the clock?"

..

"I mean that if the panel is less than maximum size, say X pixels wide, and the Fuzzy Clock needs N>X pixels to display, then the panel should expand to N pixels wide automatically"

:)