Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » problems with popup/pulldown menus on Gentoo/kde linux
Re: problems with popup/pulldown menus on Gentoo/kde linux [message #7910 is a reply to message #7890] Wed, 31 January 2007 09:52 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
ebojd wrote on Mon, 29 January 2007 09:06

Hello all,

Since I have had no reply in a few days I thought I would post a hack that is helping some...

Looking in the code I found that GetKbdDelay() was passed into SetTimeCallback at or near line 326 of CtrlMouse.cpp. In X11App.cpp (line 366), it is hard coded to 250ms, and the GetKbdSpeed is likewise hard coded at 25.



Correct. And it is true this should be improved. Anyway, how this can be related to popups?


Quote:


But I think the real problem is that the mouse is not inside the bounding box/rectangle of the menu button or during a click within an active window. To test this I modified DispatchMouse() and added 5 pxels to the x and y values of the pointer. This is a total hack, but things work mostly better. The menus stay up for awhile, and behave mostly as I expect. They still terminate a little early sometimes, but it is essentially workable now.



Interesting.

Well, I have to apologize to not responing sooner (due to limited time, I was recently responding just to library issues; this is the library issue but placed into the wrong forum...).

Recently I tried to install KDE on my ubuntu to reproduce the behaviour, but everything seems OK so far.

Anyway, the possible problem is with X11 focus settings... There is a behaviour setting in KDE I guess, are not you using something like "Focus follows the mouse"?

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Navigating with tab key
Next Topic: Gui Tutorial 16 oops...
Goto Forum:
  


Current Time: Sat Jun 07 11:38:49 CEST 2025

Total time taken to generate the page: 0.06350 seconds