FLTK logo

STR #33

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 #33

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:4 - High, e.g. key functionality not working
Scope:2 - Specific to an operating system
Subsystem:Core Library
Summary:Big Fl_Choices don't scroll
Version:1.1.3
Created By:ciudadsatan.hotmail
Assigned To:mike
Fix Version:1.1.4
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 ciudadsatan.hotmail
14:30 May 20, 2003
test.png
1k
 
 
#2 michael.sweet
18:38 May 20, 2003
str33.patch
1k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#1 ciudadsatan.hotmail
15:48 May 11, 2003
I have a Fl_Choice with many options. Selected is one of the last options, so I have to scroll upwards to see some options.
The problem: if the first option shown (the one at the top, not the very first in the Fl_Choice) is completely in the screen, and nothing is seen of the previous one, the menu doesn't scroll upwards.
The similar situation, but downwards, doesn't have the same problem, and apparently this happens with Fl_Choice only (I can't reproduce the problem in other menu widgets)

I've used MinGW32 and Cygwin, in Win98. Haven't tested in other operating systems.

The alignment must be exact to the pixel, so it may be tedious to see this problem. The following program is aligned, in my system (default win98 configuration), to display the problem. You may need to move the window some pixels to get the bad behaviour in your system.


#include <FL/Fl_Window.H>
#include <FL/Fl_Choice.H>
#include <FL/Fl.H>
int main() {
  Fl_Window W(0,0,150,50,0);
  Fl_Choice C(50,17,50,20);
  C.add("op0",0,0);
  C.add("op1",0,0);
  C.add("op2",0,0);
  C.add("op3",0,0);
  C.add("op4",0,0);
  C.add("op5",0,0);
  C.add("op6",0,0);
  C.add("op7",0,0);
  C.value(7);
  W.show();
  return Fl::run();
}
 
 
#2 mike
08:23 May 20, 2003
Does the menubar demo exibit the same problem on your system?

I haven't been able to duplicate it myself yet...
 
 
#3 ciudadsatan.hotmail
14:34 May 20, 2003
No, because the Fl_Choice is not big enough. However, if I adding a couple more options to it, and positioning it correctly, I got the bad behavior.

Just posted an image showing the exact position that gave me problems. Edited so that all the options are highlighted. Top of image is top of screen; only the second window does not scroll.
 
 
#4 mike
17:47 May 20, 2003
OK, I was able to duplicate the problem...  Working on a fix...  
 
#5 mike
18:39 May 20, 2003
Fixed in CVS for 1.1.4; see attached patch...  
     

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