Bug 154547 - some applets cannot be resized or rotated
Summary: some applets cannot be resized or rotated
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-23 20:03 UTC by Maciej Pilichowski
Modified: 2008-01-10 21:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Pilichowski 2007-12-23 20:03:42 UTC
Version:            (using KDE KDE 3.97.0)

Resize simply does not work, and for rotate -- the content is rotated, the border (typical applet border) is not.
Comment 1 William Hilton 2007-12-24 01:28:05 UTC
Confirmed in KDE4Daily (SVN r751864). It is an applet-by-applet problem. Resizing most applets simply resizes the border, but the content merely gets cropped. The clock applets are a notable exception. Examples of applets that don't resize their content are: Comic Strip, aKademy Group Photo, Calculator, Hardware Info, Dictionary, Show Desktop. Network Monitor does not resize at all - it resets the border to it's original size. Notes resizes it's image, but not the editable area.

Applets that seem to be resizing and rotating well are all the clocks, Color Picker, Fifteen Puzzle, Hard Disk Monitor, Icon, New Device Notifier, Pager, Picture Frame.

I'm too tired to test them all, but you get the idea.

Regarding rotation: Most applets seem to rotate properly. However, when you hover over the applet, the clearish box containing the resize, config, and close buttons does not appear rotated like the applet. I don't know if that is a design decision, but it seems un-ideal, because it can result in some awkwardly huge borders when applets are rotated 45 degrees.

Such a applet defined minimum size limit is obviously an excellent idea for ALL applets, because it becomes impossible to reasonably display some plasmoids beyond a certain pixel size. (E.g. nothing is useful at 2 px, an launcher icon may be ok at 10px, while the calculator would still be useless at that size.) Obviously, I think the size limit is a little large for icons (80 pixels?) though.
Comment 2 William Hilton 2007-12-24 01:30:33 UTC
agh... i'm tired. ignore the last paragraph, that's for a different bug.
Comment 3 Jason Stubbs 2007-12-24 03:16:59 UTC
So what is this bug meant to be about? The inital report doesn't say anything other than "it doesn't work" which is completely useless.

The first comment says that 1) some (a mix of extragear and playground) applets don't resize/rotate correctly, 2) indicates that the applet handles should also be rotated, and 3) indicates that all applets should set a minimum size limit.

Those three should be separate bugs and issue #1 is the same as the initial report, as far as I can tell.
Comment 4 Jason Stubbs 2007-12-24 03:23:11 UTC
ok, issue #1 stays here
issue #2 is bug 154551
issue #3 is bug 154565
Comment 5 William Hilton 2007-12-24 06:30:14 UTC
" The inital report doesn't say anything other than "it doesn't work" which is completely useless. "

That's why I thought I'd flesh things out. Just trying to do a little triage.

By "the content is rotated, the border (typical applet border) is not", I assumed he meant issue #2. And I do appologize for issue #3, but thank you for fixing it anyway! I also appologize if I refered to applets in playground that the team would rather not be tested yet. I was just going through the applets installed in KDE4Daily.
Comment 6 Maciej Pilichowski 2007-12-24 10:22:57 UTC
Jason, ad #3
a) rotate does not work -- try it, it was about error applet, rotate applet, nothing will happen
b) I was told to send reports for every applet, so if I split every issue per applet per issue you will get soon flood of my reports, and soon somebody will be angry with me with posting "duplicates" :-) 

William,
> By "the content is rotated, the border (typical applet border) is not", I
> assumed he meant issue #2. 

Yes, I meant that. However I like better unrotated border -- but, if plasma shows rotated borders while rotating they should be rotated.
Comment 7 Jason Stubbs 2007-12-24 10:32:38 UTC
> a) rotate does not work -- try it, it was about error applet, rotate applet, nothing will happen 

Which is the error applet? What applet can I add to reproduce this with?

> b) I was told to send reports for every applet, so if I split every issue per applet per issue you will get soon flood of my reports, and soon somebody will be angry with me with posting "duplicates" :-) 

Or more likely that it's already fixed in subversion. Unfortunately, RC2 packages are already very old.
Comment 8 Maciej Pilichowski 2007-12-24 11:00:07 UTC
> Which is the error applet? What applet can I add to reproduce this with? 

Jason, error applet is the applet stating that was an error with original applet. For me it was Earth3D (missing some graphics stuff).

> Unfortunately, RC2 packages are already very old. 

Ok, so I stop sending new reports because I can make more mess than good.
Comment 9 Jason Stubbs 2007-12-24 12:15:43 UTC
Confirmed that the error applet doesn't resize properly but rotating works. Fixing the resizing is suprisingly a fair amount of work, so it'll likely not be fixed any time soon. The other applets are easier.

Applets that just get a bigger border right now aren't really an issue - having them make use of extra space is a wish more than anything. Applets that spring back to their original size after resizing finishes are an issue such as Network Monitor listed in comment #1.
Comment 10 Jason Stubbs 2007-12-25 07:04:15 UTC
> > Unfortunately, RC2 packages are already very old.
>
> Ok, so I stop sending new reports because I can make more mess than good.

By the way, reports for RC2 packages aren't entirely useless. You just need to make sure that you give complete and accurate information. Also, large and/or obvious issues are most likely already fixed so it'd help if you search closed bugs and/or ask on IRC first.
Comment 11 Aaron J. Seigo 2007-12-27 15:35:40 UTC
i agree with jason that this BR, as it stands, is not useful. it should be per-widget since they are per-widget bugs. it should not include widgets from playground, either.

for the immediate, though, a list of which widgets are problematic would be enough to make this BR useful for the immediate time being.
Comment 12 Aaron J. Seigo 2008-01-10 21:53:45 UTC
all applets in production resize/rotate fine, as do the handles.