FLTK logo

STR #3157

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 1.3 | SVN ⇄ GIT ]

STR #3157

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:3 - Moderate, e.g. unable to compile the software
Scope:2 - Specific to an operating system
Subsystem:Core Library
Summary:Stray tooltips popping up from stowed FLTK windows (OSX 10.9)
Version:1.3.3
Created By:greg.ercolano
Assigned To:greg.ercolano
Fix Version:1.3.4 (SVN: v10514)
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 greg.ercolano
03:46 Nov 22, 2014
fix-v1.patch
2k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#1 greg.ercolano
10:54 Nov 20, 2014
Reporting this on behalf of a customer.

He reports that tooltips pop open /after/ the FLTK application
is stowed (yellow button) and remain up over other applications.

He says it doesn't always happen, it's erratic, and isn't sure
what exact steps trigger it.

He's seeing this on OSX 10.9.4 + 10.9.5.

I'm imagining a tooltip timer is being triggered that kicks open
a tooltip even though the window it's associated with is stowed.

Before a tooltip is popped open, perhaps adding a check to see
if the parent window isn't visible would prevent this?
 
 
#2 greg.ercolano
20:04 Nov 20, 2014
Think I figured out replication by studying the FLTK code.

If you hit the yellow "iconify" button for an app, but before
the machine reacts to stowing the window (it takes time for the
'shrink away animation' to begin) you then glide the mouse over
one of the still-visible widgets that has a tooltip, it starts
a tooltip timer running for that button, and then after the window
has iconified, the tooltip for that button pops up and 'grabs'
the screen. It then won't go away because the mouse isn't generating
events in the now-iconified window.
 
 
#3 greg.ercolano
20:24 Nov 20, 2014
I can replicate with e.g. test/valuators (which has tooltips on
some of its sliders).

And the problem becomes particularly annoying if you quickly
select another application before the unwanted tooltip posts.
When that happens, the tooltip posts over the selected app
and remains up and will not go away no matter what interactions
you do with the mouse.

So yeah, this is kinda bad and should be fixed.

I don't think this is a problem with the OSX specific code,
but rather, likely an issue in Fl_Tooltip that allows the timer
to post a tooltip if the top window the widget is associated with
is !visible().
 
 
#4 greg.ercolano
03:46 Nov 22, 2014
Attaching patch suggestion as a fix. Seems to work, but not 100% sure
it's the best thing to do.

Comments welcome from other devs familiar with Fl_Tooltip.
 
 
#5 greg.ercolano
20:22 Jan 10, 2015
Fixed in Subversion repository.  
     

Return to Bugs & Features ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.