FLTK logo

STR #1221

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

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:3 - Moderate, e.g. unable to compile the software
Scope:3 - Applies to all machines and operating systems
Subsystem:Core Library
Summary:Fl_Window::size_range(x, y, x, 0) does not work correct
Version:1.1.7
Created By:kontakt.andreas-schoemann
Assigned To:matt
Fix Version:1.1-current (SVN: v5041)
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 kontakt.andreas-schoemann
12:01 Mar 28, 2006
test.fl
0k
 
 
#2 fabien
07:24 Mar 29, 2006
patch.diff
1k
 
 
#3 fabien
23:57 Mar 29, 2006
patch2.diff
1k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#1 kontakt.andreas-schoemann
12:01 Mar 28, 2006
The above size_range makes problems when pressing the window's full screen button:
1) On Windows the system menu bar is not respected, meaning the window extends behind the menu bar to the bottom screen margin.
2) On OS X the full screen extension works, but pressing the full screen button again does not return to normal size, instead one notes a flicker.

See the attached fluid file for an example.

Regards,
Andreas Schömann
 
 
#2 fabien
07:24 Mar 29, 2006
I found a fix for win32
please someone have a look the carbon part

I joined the diff file
 
 
#3 fabien
23:57 Mar 29, 2006
second patch, a litlle glitch happened horizontally ,
I've tested with the 4 size_range w,h possibilities and it looks good.
 
 
#4 fabien
02:11 Mar 30, 2006
added a win32 fix for fltk2 as well, please check for os x and x11 that t also works  
 
#5 kontakt.andreas-schoemann
04:46 Mar 31, 2006
Your patch works. Tested on '98, 2000 and XP.

Best regards,
Andreas Schömann
 
 
#6 matt
05:58 Apr 01, 2006
I see two things that need fixing on OS X: on the first resize, the window moves to the very left of the screen. I believe that it should stay at the original x position. At the second click on maximize, the window does not minimize as on would expect (but Safari seems to have the same problem here, so we don't need to be too ashamed ;-)

I assume the best would be to catch the resize before the window actually flashes to full size and correct the coordinates there. That way, we may even be able to convince OS X that the window is indeed at its maximum size... .

To be continued.
 
 
#7 matt
19:59 Apr 27, 2006
Fixed in Subversion repository.


Fixed for Mac OS X as well.
 
     

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