FLTK logo

STR #27

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.1 | SVN ⇄ GIT ]

STR #27

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:2 - Low, e.g. a documentation error or undocumented side-effect
Scope:2 - Specific to an operating system
Subsystem:Core Library
Summary:multi filechooser anomaly
Version:1.1.3
Created By:anonymous
Assigned To:mike
Fix Version:1.1.4
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text  
 
#1 anonymous
12:55 May 06, 2003
Linux 2.4.20 gcc 3.2.2

If one is too quick to click, the file chooser mistakes
a single click for a double one.  Interestingly, I cannot
duplicate this misbehavior under Wine.  My Windows machine
is broken.

Here's how I can demonstrate the problem:

From the fltk-1.1.3 directory I invoke:

        test/file_chooser
        
I chop away the "Filter:", click "MULTI", and then the
unadorned button.  In my system, I see a list of
files/directories.  The third is "FL/".  I double
click it to descend into this subdirectory.

Ah!  I see the first file I want, Fl.H, happens
to already lie beneath the cursor.  I don't bother
to count "One one thousand, two one thousand", but
click immediately, the chooser dialog vanishes, and
I'm left with but one file of the multitude I was going
to select.

Jim Wilson
Gaineville, FL
 
 
#2 mike
12:49 May 15, 2003
What version of XFree86 are you using?  
 
#3 anonymous
15:51 May 18, 2003
Sorry, Michael.  I just now saw your question.  I'm running XFree86 V4.3.0

Jim Wilson
 
 
#4 mike
11:02 May 20, 2003
Hmm, well, I don't know how we'll work around this; you aren't moving the mouse, so to the software it looks like you are triple-clicking...

Post this as a question to the fltk.dev group and we'll see if anyone has a good idea for "fixing" this without breaking every other multi-click use...
 
 
#5 mike
18:38 May 25, 2003
OK, Fl::event_clicks(-1) patch applied to CVS for 1.1.4; FWIW, the click count is incremented with each click in the same position, which is why the value of -1 is used...  A double click results in Fl::event_clicks() returning 1, triple = 2, quadruple = 3, etc.  
     

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'.