Bug switching views

Robert C. Helling helling at atdotde.de
Sun Mar 3 11:30:04 PST 2013


On Mar 3, 2013, at 6:00 PM, Sergey Starosek wrote:

> Hi,
> 
> Seems there's a bug with switch panel views (tested w/ keyboard shorcuts Ctrl-[1234]).
> 
> After several switches one of the pane disappears and the only way to
> restore its position is to use mouse.
> 
> Suspicious commit is:
> 
> star at narwhal Subsurface $ git bisect bad
> f7d373bae64627e25dcca219f81362c9f1d1b508 is the first bad commit
> commit f7d373bae64627e25dcca219f81362c9f1d1b508
> Author: Robert C. Helling <helling at atdotde.de>
> Date:   Sat Mar 2 00:23:31 2013 +0100


Argh. Maxint is not at the bottom or at the right. We have to check against the size of the window to determine we are not saving a maximized position.
Here is a fix.

Signed-off-by: Robert C. Helling <helling at atdotde.de>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: save_pane_max.patch
Type: application/octet-stream
Size: 1530 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130303/77602950/attachment.obj>
-------------- next part --------------

--                                                                              
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO 
Robert C. Helling     Elite Master Course Theoretical and Mathematical Physics  
                      Scientific Coordinator                                   
                      Ludwig Maximilians Universitaet Muenchen, Dept. Physik    
print "Just another   Phone: +49 89 2180-4523  Theresienstr. 39, rm. B339       
    stupid .sig\n";   http://www.atdotde.de 



More information about the subsurface mailing list