Hi, here is the recipe:

  0) zoom to hide the horizontal ScrollBar

  1) resize the window to show again the ScrollBar

  2) resize the window to hide the ScrollBar

  3) repeat the steps 1 and 2 multiple times (a bug breaks the rose petals)


Don't worry, the fix is simple:

diff -ur rosegarden~/src/gui/general/RosegardenScrollView.cpp 
rosegarden/src/gui/general/RosegardenScrollView.cpp
--- rosegarden~/src/gui/general/RosegardenScrollView.cpp        2015-04-24 
12:14:49.187313893 +0200
+++ rosegarden/src/gui/general/RosegardenScrollView.cpp 2015-04-24 
12:15:21.437908448 +0200
@@ -121,9 +121,6 @@
     int ow = m_vwidth;
     int oh = m_vheight;
        
-    m_vwidth = w;
-    m_vheight = h;
-
 //    d->scrollbar_timer.start(0, true); // This was necessary until I fixed 
the resizeEvent connection
 
 //### CJ - Don't think this is necessary - slightly confused as we're resizing 
the content, not the widget
@@ -160,6 +157,9 @@
             h = visibleHeight();
         this->viewport()->update(0, contentsY()+oh, visibleWidth(), h-oh);
     }
+
+    m_vwidth = w;
+    m_vheight = h;
 }
 
 void RosegardenScrollView::updateContents(int x, int y, int w, int h)  // Code 
lifted from Q3ScrollView

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to