Bug 163870 - Fuzzy clock and binary clock have contents wider than their bounds in tall panels
Summary: Fuzzy clock and binary clock have contents wider than their bounds in tall pa...
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 173768 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-12 09:31 UTC by S. Burmeister
Modified: 2008-12-06 21:47 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
appletsrc (5.72 KB, text/plain)
2008-07-17 09:24 UTC, S. Burmeister
Details
plasmarc (648 bytes, text/plain)
2008-07-17 09:24 UTC, S. Burmeister
Details

Note You need to log in before you can comment on or make changes to this bug.
Description S. Burmeister 2008-06-12 09:31:25 UTC
Version:            (using Devel)
Installed from:    Compiled sources
OS:                Linux

If i remove the digital-clock from the panel and add e.g. the fuzzy clock half of ot is shown outside the screen.

If one adds the binary-clock, e.g. innbetween the kickoff launcher and the pager, it overlaps those two plasmoids.

It seems that the panel does not get the size they require right.
Comment 1 Marco Martin 2008-06-12 12:25:04 UTC
what version you're using, it's svn? it's the beta? it seems an old problem
Comment 2 Thomas Georgiou 2008-07-05 07:28:56 UTC
please reopen if you still have this bug with a newer version of plasma
Comment 3 S. Burmeister 2008-07-05 12:39:25 UTC
Do not close bugs. if you have not tried reproducing them first! Current SVN still has this issue.
Comment 4 Alex Merry 2008-07-05 12:53:13 UTC
I can't reproduce this with current SVN.
Comment 5 S. Burmeister 2008-07-05 13:01:38 UTC
Click on the thingy in the top-right of the desktop, unlock the widgets, click again to open the add-plasmoid window, drag the fuzzy clock to the left-edge of the panel, i.e. to the right of the digi-clock and drop it.

Yesterday's SVN.I'm just rebuilding, if I do not post anything, today's has the issue too.
Comment 6 S. Burmeister 2008-07-05 13:20:48 UTC
>  Click on the thingy in the top-right of the desktop, unlock the
> widgets, click again to open the add-plasmoid window, drag the fuzzy clock
> to the left-edge of the panel, i.e. to the right of the digi-clock and drop
> it.


Right edge of the panel is what I meant.
Comment 7 Alex Merry 2008-07-05 13:34:56 UTC
I don't even get any drop space on the right of the digital clock.  The only way I can add it to the right end of the panel is by opening "add widgets" from the panel menu and clicking "add widget" there.
Comment 8 S. Burmeister 2008-07-05 13:47:19 UTC
Yes, adding plasmoids is a bit buggy, because something changes the "ok to drop" cursor to "forbidden". But you have to try a few ways around the panel, i.e. leave the panel and re-enter it again. It does work after some trying. What works best for me is if you move the mouse at the very top of the panel, just above the digi-clock, then to the right and down after you are past the digi-clock. If the "forbidden" cursor is activated again, move the mouse a tiny bit up again, while still staying on the panel and you will get the "ok to drop" again.

For me it does not matter whether the plasmoid is added from the add plasmoid window opened by the desktop-thingy or the panel-thingy.

I did not file the above although it is quite annoying, because I was not sure how the chances are to get it fixed.
Comment 9 Alex Merry 2008-07-05 14:07:23 UTC
If you don't file the bug report, the chances are significantly less than if you do...
Comment 10 S. Burmeister 2008-07-05 14:09:22 UTC
That's absolutely true. I'll do so.
Comment 11 S. Burmeister 2008-07-08 02:12:40 UTC
I just noticed that the panel shows the correct size and position, if it 
paints the grey area which is used to indicate where the plasmoid will be 
moved to.
Comment 12 S. Burmeister 2008-07-17 09:23:46 UTC
This is still valid for RC1. I'll attach my plasma rcs so you can see the issue. There is a fuzzy-clock inbetween the sloid-notifier and the systray which overlaps the systray.
Comment 13 S. Burmeister 2008-07-17 09:24:31 UTC
Created attachment 26193 [details]
appletsrc
Comment 14 S. Burmeister 2008-07-17 09:24:53 UTC
Created attachment 26194 [details]
plasmarc
Comment 15 Alex Merry 2008-08-06 23:00:13 UTC
It seems to be a problem with tall panels.

If I put the panel in the region of 50px high, the fuzzy clock disappears off the right of the screen if I put it at the right.  Similarly, the binary clock gets cut off on the left and right if I place it just to the right of the application launcher.

If I bring the panel down to, say 30px, the problem disappears.
Comment 16 S. Burmeister 2008-08-07 00:16:22 UTC
> If I put the panel in the region of 50px high, the fuzzy clock disappears
> off the right of the screen if I put it at the right.  Similarly, the
> binary clock gets cut off on the left and right if I place it just to the
> right of the application launcher.


> If I bring the panel down to, say 30px, the problem disappears.


For the fuzzy clock this is solved in branch. The panel did not give it the 
size it needed on resize(), so one has to force the size by setting the 
minimum size to the size one needs.

It works with low heights for the fuzzy clock because then the width it claims 
is not wider than the width it got from the panel.

I do not know why the panel does not give it the size it needs, since the 
taskbar should be flexible enough to give up some horizontal space.
Comment 17 Davide Bettio 2008-11-27 00:19:06 UTC
*** Bug 173768 has been marked as a duplicate of this bug. ***
Comment 18 Frederik Schwarzer 2008-11-29 19:23:22 UTC
Quoting comment #15:
> Similarly, the binary clock gets cut off on the left and right if I place it
> just to the right of the application launcher.

For me this is still the case. My binary clock resides at the most right place of the panel and the left and right column are cut off if seconds are shown. If I disable seconds display, the clock almost fits into its place. Only the leftmost line of the grid is hidden.

I do not want to be rude or something so I will not reopen for now. However, an explanation would make it easier to handle this report for everyone who's following it.

Regards
Comment 19 Aaron J. Seigo 2008-11-29 19:36:52 UTC
Frederik: that's a rather different issue.

what used to happen was that the panel would simply not contain the widgets properly and they'd do crazy silly things (it's still possible for widgets to misbehave, but they sort of have to go out of their way to do so now).

but now if widgets aren't showing themselves fully, it's either a sizehint problem in the widget or the panel has physically run out of width/height on screen.

we've got reports open for these other things (though not sure about seconds on the binary clock specifically, so maybe one for that would be good) but this bug itself has been fixed.

hth.
Comment 20 Frederik Schwarzer 2008-11-29 19:53:55 UTC
Thank you for your explanation.
I was just confused because my report (made a duplicate in comment #17) was about the cut off columns. So I thought this was the same issue.

Anyway, thanks for taking the time to explain this. :)
Comment 21 kioftes 2008-12-06 21:47:54 UTC
i can confirm this on KDE 4.2 Beta1. Is it fixed in svn??