|
From: | Gubinelli Massimiliano |
Subject: | Re: [Texmacs-dev] Qt-TeXmacs: segfault with KDE-Oxygen |
Date: | Tue, 21 Apr 2009 01:12:11 +0200 |
Hi, On 19 avr. 09, at 19:21, Norbert Nemec wrote:
Hi there,I just tracked down the segfaults of Qt-TeXmacs to the use of the Oxygen style in KDE. When I have that style active, TeXmacs crashes as soon as I click on a menu that contains sub-menus. Menus without sub-menus work fine.
The qt port subclasses (in qt_menus.cpp) the standard qt menus to provide lazy behaviour (submenus are constructed only if they need to), this is required by the way TeXmacs works since menus are changed many times along the life of the application (for example when exiting or entering math mode) and at the moment an efficient caching mechanism is not in place. Maybe this subclassing causes some problems in the Qt/X11 version.
best, Massimiliano
The simple solution: use a different style.I fear the bug really sits in TeXmacs not in the style. I have never experienced problems with the style in any other setting. My guess would be that the menus are set up in some strange way that usually works but does not really follow the standards and causes problems in this special case.Greetings, Norbert _______________________________________________ Texmacs-dev mailing list address@hidden http://lists.gnu.org/mailman/listinfo/texmacs-dev
[Prev in Thread] | Current Thread | [Next in Thread] |