Commit a0f4288e authored by Matěj Laitl's avatar Matěj Laitl
Browse files

Fix Context view not being fully formed on startup

Something from inside Plasma tries to resize context view's sceneRect()
to 200x200 px. I don't know why this happens, but let's hope we'll have
QML context view soon, so don't investigate and use a work-around.

BUG: 292895
FIXED-IN: 2.6
DIGEST: popular bug fixed in Amarok
parent 71f6bfd3
......@@ -8,6 +8,7 @@ VERSION 2.6
argument.
BUGFIXES:
* Fix Context view not being fully formed on startup. (BR 292895)
* Fix memory leaks and a string zero termination issue in MP3tunes.
* Don't poll for mounts every second, solid notifies us. (BR 289462)
* Fix inconsistent Last.fm scrobbling in some cases with GStreamer
......
......@@ -129,7 +129,8 @@ Context::VerticalToolbarContainment::updateGeometry()
if(!view())
return;
QRectF rect = view()->sceneRect();
// mimic ContextView::resizeEvent(), nothing else seems to work, bug 292895
QRectF rect( view()->pos(), view()->maximumViewportSize() );
setGeometry( rect );
m_applets->setGeometry( rect );
m_applets->refresh();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment