Every docked window (except sidebar) can not be resized, it just shrinks to zero size with no possibility to be shown again.
E.g. Command window in Math, Navigator (F5) in Writer...
Author: Prashant Pandey <firstname.lastname@example.org>
Date: Sat Sep 7 23:53:02 2013 +0530
Sidebar: Correcting anomalous mouse behaviour while resizing
confirmed on Ubuntu, mark as high importance.
Adding to Most Annoying bugs.
Prashant: The problem is that mpSplitSet->mpItems[mnSplitPos].mnMaxSize can be -1 (meaning no limit) which here turns into -1 always; but even if we do something like
@@ -2559,12 +2559,14 @@ void SplitWindow::Tracking( const TrackingEvent& rTEvt )
// where is the sidebar is attached?
if ( (mpSplitSet == mpMainSet) && mbBottomRight )
- nNewSize = mnMaxSize - mnMStartPos; // right hand side of the screen
+ nNewSize = mnMaxSize - mnMSplitPos; // right hand side of the screen
- nNewSize = mnMStartPos; // left hand side of the screen
+ nNewSize = mnMSplitPos; // left hand side of the screen
// do not make the sidebar wider than mnMaxSize
- nNewSize = std::min(nNewSize, mpSplitSet->mpItems[mnSplitPos].mnMaxSize);
+ nNewSize = std::max(nNewSize, 0L);
+ if (mpSplitSet->mpItems[mnSplitPos].mnMaxSize > 0)
+ nNewSize = std::min(nNewSize, mpSplitSet->mpItems[mnSplitPos].mnMaxSize);
SplitItem( mpSplitSet->mpItems[mnSplitPos].mnId, nNewSize,
bPropSmaller, bPropGreater );
there are still some corner cases that need to sort out, namingly:
* F5 + dock it
* make the Writer window smaller
* move the handle with the mouse to 0 and back, and see how the navigator keeps growing until it fills the entire window
Please have a look :-)
I'll revert 16ea2dc1f572d698923c770a2a58f7ab402d1298 for now, let's push it again when we have the full solution.
Jan Holesovsky committed a patch related to this issue.
It has been pushed to "master":
fdo#70160: Revert "Sidebar: Correcting anomalous mouse behaviour while resizing"
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
So, is this fixed now and can be closed ?
I'm going to call this fixed. If I misunderstand feel free to reopen