[Konsole-devel] Review Request: split view: automatically close the split area if it becomes empty.

Francesco Cecconi francesco.cecconi at gmail.com
Wed Jun 27 08:29:40 UTC 2012



> On May 4, 2012, 3:08 p.m., Kurt Hindenburg wrote:
> > With this patch and following the steps in bko, I get this assert when I finish the d-n-d.
> > 
> > ASSERT: "containers().contains(container)" in file /mnt/kde/kde4/trunk/src/konsole/src/ViewSplitter.cpp, line 126
> >
> 
> Francesco Cecconi wrote:
>     Thanks for the test Kurt.
> 
> Kurt Hindenburg wrote:
>     Francesco, have you had anytime to look at this further?
> 
> Francesco Cecconi wrote:
>     Hi Kurt,
>     sorry but at moment i haven't much spare time and the portion of code 
>     relative to the issue is changed in the master branch.
>     
>     however, on the next week I would like to start the work on the new patch.
>     
>     Francesco

The new patch is ready, this should remove the issue with the assert and disable the "split menu" correctly.

I've tested the patch with d-n-d and with a single window (no detach tab).


- Francesco


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104717/#review13430
-----------------------------------------------------------


On June 25, 2012, 9:29 p.m., Francesco Cecconi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/104717/
> -----------------------------------------------------------
> 
> (Updated June 25, 2012, 9:29 p.m.)
> 
> 
> Review request for Konsole.
> 
> 
> Description
> -------
> 
> automatically close blank split, after that last tab is moved.
> 
> 
> This addresses bug 275771.
>     http://bugs.kde.org/show_bug.cgi?id=275771
> 
> 
> Diffs
> -----
> 
>   src/ViewContainer.h d5bdf73 
>   src/ViewContainer.cpp 980c130 
>   src/ViewContainerTabBar.h 5b97abc 
>   src/ViewContainerTabBar.cpp 29805f3 
>   src/ViewManager.h 7d1079e 
>   src/ViewManager.cpp 40ed915 
> 
> Diff: http://git.reviewboard.kde.org/r/104717/diff/
> 
> 
> Testing
> -------
> 
> - one tab + split + one tab -> move split right/left, no blank area
> - from bug: after step 4 no blank area
> 
> seems to work well but more test are necessary. ;)
> 
> 
> Thanks,
> 
> Francesco Cecconi
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20120627/8c843938/attachment.html>


More information about the konsole-devel mailing list