Discussion:
maximize, minimize to taskbar and open again
Gonzalo Garramuno
2013-03-20 14:48:40 UTC
Permalink
Maximizing a window, then minimizing it to an icon in the taskbar, and then opening that same icon creates a window that covers up to the taskbar, but it is behind it. The problem shows in all demos of fltk2.0. Fltk1.2 seems fine.
Can somebody help?
This is in Windows. Linux works fine.
Gonzalo Garramuno
2013-03-20 14:46:55 UTC
Permalink
Maximizing a window, then minimizing it to an icon in the taskbar, and then opening that same icon creates a window that covers up to the taskbar, but it is behind it. The problem shows in all demos of fltk2.0. Fltk1.2 seems fine.
Can somebody help?
MacArthur, Ian (Selex ES, UK)
2013-03-20 14:58:23 UTC
Permalink
Maximizing a window, then minimizing it to an icon in the taskbar, and
then opening that same icon creates a window that covers up to the
taskbar, but it is behind it. The problem shows in all demos of
fltk2.0. Fltk1.2 seems fine.
Can somebody help?
Gonzalo,

Do you *really* mean fltk2.0 and fltk1.2?

Note that neither of these variants is actively supported.

Only fltk1.3 is active, with fltk1.1 is freeze, and fltk3 in alpha.

Fltk2 is more or less abandoned (in favour of fltk3) and fltk1.2 was
an experimental branch, now stopped (in favour of fltk1.3.)

But... I'd have thought you knew that...?




Selex ES Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL
A company registered in England & Wales. Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
Gonzalo Garramuno
2013-03-20 17:07:02 UTC
Permalink
Post by MacArthur, Ian (Selex ES, UK)
Maximizing a window, then minimizing it to an icon in the taskbar, and
then opening that same icon creates a window that covers up to the
taskbar, but it is behind it. The problem shows in all demos of
fltk2.0. Fltk1.2 seems fine.
Can somebody help?
Gonzalo,
Do you *really* mean fltk2.0 and fltk1.2?
Sorry. I meant fltk2.0 and fltk1.3.
MacArthur, Ian (Selex ES, UK)
2013-03-20 17:27:42 UTC
Permalink
Post by Gonzalo Garramuno
Post by MacArthur, Ian (Selex ES, UK)
Maximizing a window, then minimizing it to an icon in the taskbar,
and
Post by MacArthur, Ian (Selex ES, UK)
then opening that same icon creates a window that covers up to the
taskbar, but it is behind it. The problem shows in all demos of
fltk2.0. Fltk1.2 seems fine.
Can somebody help?
Gonzalo,
Do you *really* mean fltk2.0 and fltk1.2?
Sorry. I meant fltk2.0 and fltk1.3.
Ah, right: OK, then note that the fltk-1.x was buggy in this area too, but a lot of work was done to try and resolve that.

In particular you need to look at the changes that went into fltk-1.3 in the Fl::screen_xywh(); and Fl::screen_work_area(); methods.

These were adjusted to take better account of the position of taskbars and so forth, and to do "more sensible" things in that regard.

Note that the changes were not limited to these functions - they propagated into many other places in the library where these functions were used (e.g. when computing the placement of menus and dialog boxes and so forth) so ended up being pretty involved.
I don't know what svn rev numbers are pertinent, but there were some relevant STR's that covered this work, so it may be possible to find those and see what was done.

I don't know fltk-2 well enough to say for sure, but I doubt that "importing" the fixes into fltk-2 would be trivial...!

Though, fltk3 may have the equivalent functionality now? Not sure.


Selex ES Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL
A company registered in England & Wales. Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
Continue reading on narkive:
Loading...