STR #910

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.1 ]

STR #910

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:2 - Low, e.g. a documentation error or undocumented side-effect
Scope:3 - Applies to all machines and operating systems
Subsystem:Core Library
Summary:Focus rect not shown immediately
Version:1.1-current
Created By:Portale
Assigned To:matt
Fix Version:1.1.7 (SVN: v4425)
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text top right image
 
#1 Portale
09:20 Jun 12, 2005
When clicking with the mouse on a Widget such as Fl_Slider, Fl_Roller or Fl_Hold_Browser without changing its value, it receives the focus but doesn't draw the focus rect immediately. The rect is only drawn after the changement of the value.

This is observable in the valuators test app for the Fl_Slider+Fl_Roller and in fonts for the Fl_Hold_Browser.
 
 
#2 matt
01:27 Jul 16, 2005
Fixed in Subversion repository.

Thanks for the suggestion.

I did add 'redraw()' calls at the places in question, but was unsure if we should generally call redraw() on all widgets that receive focus, or if we should leave that to the widget programmer, since redrawing the focus indicator may require much less than a whole widget redraw... .
 
bottom left image   bottom right image

Return to Bugs & Features ]

 
 

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