Bug 202537 - Side panels cause desktop folder view to wrap below the panel
Summary: Side panels cause desktop folder view to wrap below the panel
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-folderview (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-05 01:44 UTC by Steve Gilberd
Modified: 2010-01-05 00:54 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Example of bug (87.48 KB, image/jpeg)
2009-08-05 07:00 UTC, Steve Gilberd
Details
A screenshot of when the bug occurs. (84.08 KB, image/jpeg)
2010-01-03 20:08 UTC, Lasse Liehu
Details
A screenshot of when the bug does _not_ occur. (87.51 KB, image/jpeg)
2010-01-03 20:09 UTC, Lasse Liehu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Gilberd 2009-08-05 01:44:58 UTC
Version:            (using KDE 4.3.0)
Compiler:          gcc (Gentoo 4.3.3-r2 p1.2, pie-10.1.5) 4.3.3 x86_64-pc-linux-gnu
OS:                Linux
Installed from:    Compiled From Sources

When using a side panel and having desktop folder view switched on, all the folder view icons are displayed below the level of the bottom of the panel - despite the panel only being ~2cm wide (e.g. for a side panel 600px high, starting from the top left corner, all the folder view icons will display at least 600px from the top edge of the screen).

This is a regression - in 4.2.4 this worked perfectly, and icons were displayed next to the panel where they should be, rather than under it.
Comment 1 Nick B 2009-08-05 02:28:18 UTC
I can confirm this behavior on an up-to-date arch linux system with KDE 4.3.0.
Comment 2 Aaron J. Seigo 2009-08-05 06:49:25 UTC
screenshots please (attach them to this bug report using the "Add an attachment" link at the bottom of this page). thanks.
Comment 3 Steve Gilberd 2009-08-05 07:00:42 UTC
Created attachment 35850 [details]
Example of bug

Example of icons displaying below the level of the panel.
Comment 4 Steve Gilberd 2009-09-11 01:00:49 UTC
Still present on 4.3.1.
Comment 5 Lasse Liehu 2010-01-03 20:06:09 UTC
Still present in KDE 4.4 beta 2, Qt 4.6.0.

I have to say, though, that in some circumstances it does work correctly. I tried the same scenario as in the screenshot, but tested with different panel lengths and noticed that when the panel is short, this bug occurs. When the panel is longer, though, it works (at least this bug doesn't occur).

When dragging the panel down (to be longer), the change happened approximately when the panel was half of the screen's height.

There are also some other odd things happening to the display of the folder view's contents when only changing the panel's length, but that's a different bug report.

I'll add screenshots.
Comment 6 Lasse Liehu 2010-01-03 20:08:12 UTC
Created attachment 39530 [details]
A screenshot of when the bug occurs.
Comment 7 Lasse Liehu 2010-01-03 20:09:11 UTC
Created attachment 39531 [details]
A screenshot of when the bug does _not_ occur.
Comment 8 Fredrik Höglund 2010-01-05 00:54:03 UTC
SVN commit 1070144 by fredrik:

Use QDesktopWidget::availableGeometry() instead of the biggest rectangle
in Corona::availableScreenRegion().

The biggest rectangle isn't always the best choice.

BUG: 202537


 M  +1 -13     folderview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1070144