On Thu, May 26, 2011 at 01:09:30PM -0400, Jorge Arellano Cid wrote:
Hi Johannes,
On Wed, May 25, 2011 at 08:41:35PM +0200, Johannes Hofmann wrote:
On Wed, May 25, 2011 at 01:37:26PM -0400, Jorge Arellano Cid wrote:
On Wed, May 25, 2011 at 03:13:54PM +0000, corvid wrote:
Jorge wrote:
On Sun, May 15, 2011 at 09:04:43PM +0200, Johannes Hofmann wrote:
- There is a tab title even if there is only one tab.
FYI, I'm testing a patch that does this. It uses a trick to receive events on a hidden tabbar and is designed so it's easy to set permanent tab buttons too (i.e. as now).
Quick poll: What's your preferred mode?
I prefer that the tab bar goes away when there's only one tab.
I will feel surprise if anyone wants to have it visible when there's only one tab.
The patch "almost" works, but sometimes when resizing the window, strange resize problems arise, and things go wild. I'm glad I finally isolated and STRed a part of the problem:
http://fltk.org/str.php?L2639+P0+S-2+C0+I0+E0+Q
I hesitate to fight it much more before the resolution for STR#2639 comes out. It's like herding cats: you can make them all move, but not make them go where you want.
I'm currently working on a fix for the dwm resize issue. The idea is to get rid of Fl_Pack entirely. So that patch might also fix the issue you are now seeing with tabs and resizing.
The FLTK team made rc6 today [1], and decided to tackle the Fl_Pack bug after the release is done [2]. I guess that cuts our cake, so please commit the no-flpack patch when it passes your tests.
Done. Please report any issues.
I'll work the tabbar-hide patch on top of it (it works but needs some clean up).
[1] http://fltk.org/articles.php?L1075 [2] http://fltk.org/str.php?L2639
BTW, does the tabbar-hide patch solve the dwm issue alone? (i.e. on top of Fl_Pack). Just to be able to provide that information to FLTK devs when necessary.
the tabbar-hide patch alone does not solve the dwm resizing issue. Cheers, Johannes