[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 179267] make delay  for showing submenus configurable
From:       "H.H." <cyberbeat () gmx ! de>
Date:       2009-01-08 22:54:08
Message-ID: 20090108225408.9236914538 () immanuel ! kde ! org
[Download RAW message or body]

http://bugs.kde.org/show_bug.cgi?id=179267





--- Comment #3 from H.H. <cyberbeat gmx de>  2009-01-08 23:54:08 ---
I think this is only possible with QT-Styles. So this belongs to kdelibs,
because it make no sense to define an own kstyle for the menuview, because the
style should look like the global kde-style.

One possiblity would be to add to the method styleHint() in
KDE/kdelibs/kdeui/kernel/kstyle.cpp

case SH_Menu_SubMenuPopupDelay: 
    return
d->m_componentData.config()->group("KDE").readEntry("SubmenuDelay",
KDE_DEFAULT_SUBMENU_DELAY );

and define a reasonable default KDE_DEFAULT_SUBMENU_DELAY-constant.


The problem with this solution is, that it would only apply to style derived
from kstyle. It would be nice, to have this for all available styles. QTs
defaults seem to be really slow for QT-4. For example the plastik-style-delay
is much higher in qt4 as in qt3.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic