Improved: Popup menus: Auto-breakup too-wide menus in class PopupMenu. 
In some cases X/Qt was giving up if too wide AND/OR too many columns, 
 menu would not appear, with X/Qt errors in terminal.

Not only may the system not like extremely wide menus, but I discovered
 mine was bizarrely 'modulo'ing the column count at 16! 
No more than 16 menu columns here!

Tested OK with Deicsonze track info patch popup, and a synth plugin 
 with > 2000 automation controls. 
The menus also appear faster now, having less items in one menu.

It simply automatically puts all the 'overflow' items into new submenus labeled
 <More...> 1, <More...> 2 etc.

I did it by overriding the addAction() methods.
But I did not catch actions added with addActions().

So be careful, this is a catch-all fix, so try not to rely too much on 
 ALL items being in one menu - it may overflow into submenus!

Anyway, beyond that, it is regarded as poor practice to have too-wide
 menus, although one cannot help it or predict all usages sometimes.

So I'll see if I can at least fix the Deisonze patch popup to organize
 by groups. It's way too big. And synths in general, sort by letter 
 or something...

Tim.

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Lmuse-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmuse-developer

Reply via email to