Re: [fltk.bugs] [MOD] STR #2579: Uable to compile under MS Windows with Visual Studio 2005

2011-02-25 Thread Ben Stott

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2579
Version: 2.0-current


This has been fixed in the latest SVN version - I updated the MSVS projects
only slightly after the automatic tarball was generated. The compilation
errors should be gone, but the warnings still exist IIRC. I don't know why
this is and it seems to be a problem with MSVS (everything compiles cleanly
on GCC / mingw).
If you have any suggestions on how to remove the warnings, I'm all ears,
otherwise I'll close this STR in a day or two as, in essence, the
compilation errors have been solved.


Link: http://www.fltk.org/str.php?L2579
Version: 2.0-current

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [MOD] STR #1580: Deselect all buttons in a radio group

2011-02-25 Thread Ben Stott

[STR Closed w/Resolution]

Link: http://www.fltk.org/str.php?L1580
Version: 2.0-current
Fix Version: 2.0-current


Fixed in Subversion repository.

I can't reproduce this bug, so I'm going to assume it was fixed in an
earlier revision. If it still exists, please re-submit a STR


Link: http://www.fltk.org/str.php?L1580
Version: 2.0-current
Fix Version: 2.0-current

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs



Re: [fltk.bugs] [LOW] STR #2576: Contradiction in the docs for Fl_Native_File_Chooser

2011-02-25 Thread Greg Ercolano

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Pending]

Link: http://www.fltk.org/str.php?L2576
Version: Current
Fix Version: Current (r8377)


Yes, I believe this will be fixed when the next website update goes out.

Albrecht, can you rebuild the docs for the website with 1.3.x current?
I don't have a good doxygen environment (I'm a few versions below
the correct one recommended)


Link: http://www.fltk.org/str.php?L2576
Version: Current
Fix Version: Current (r8377)

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [LOW] STR #2576: Contradiction in the docs for Fl_Native_File_Chooser

2011-02-25 Thread Nicholas Laver

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Pending]

Link: http://www.fltk.org/str.php?L2576
Version: Current
Fix Version: Current (r8377)


I'm talking about the online docs.


Link: http://www.fltk.org/str.php?L2576
Version: Current
Fix Version: Current (r8377)

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [LOW] STR #2574: events for invisible widgets

2011-02-25 Thread Manolo Gouy

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2574
Version: 1.3-current


The attached invisible2.patch fixes this bug, as confirmed by the OP.

The issue is that, whereas the doc says that if flag INVISIBLE is on, 
a widget can be invisible but can receive events, the 
Fl_Widget::takesevents() function does not allow this behavior.

The fix, in essence, would be:
- add set_flag(INACTIVE) in Fl_Widget::hide()
- add clear_flag(INACTIVE) in Fl_Widget::show()
- remove from Fl_Widget::takesevents() the requirement that 
  visible_r() be true.

An invisible, event-receiving widget is thus obtained by:
mywidget->hide();
mywidget->activate();

The simple call 
mywidget->hide();
creates, as always, an invisible, eventless widget.

Is this fix OK? Or, does anyone sees undesirable side effects ?
I'm unsure whether to commit it at this point.
This may just wait after the 1.3 release.


Link: http://www.fltk.org/str.php?L2574
Version: 1.3-current

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [LOW] STR #2516: Fluid fails to find Document Folder when built in MSys Environment.

2011-02-25 Thread Manolo Gouy

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Pending]

Link: http://www.fltk.org/str.php?L2516
Version: 1.3.0
Fix Version: 1.3.0 (r8474)


Fixed in Subversion repository.

Could you, please, confirm that the bug is now fixed.


Link: http://www.fltk.org/str.php?L2516
Version: 1.3.0
Fix Version: 1.3.0 (r8474)

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [LOW] STR #2574: events for invisible widgets

2011-02-25 Thread corvid

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2574
Version: 1.3-current


Ah yes, that works!


Link: http://www.fltk.org/str.php?L2574
Version: 1.3-current

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [LOW] STR #2574: events for invisible widgets

2011-02-25 Thread Manolo Gouy

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2574
Version: 1.3-current


I forgot to specify that after
mywidget->hide();
you should put
mywidget->activate();

This is because one can't expect a normal hidden widget to 
receive events.


Link: http://www.fltk.org/str.php?L2574
Version: 1.3-current

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [MOD] STR #2579: Uable to compile under MS Windows with Visual Studio 2005

2011-02-25 Thread Michael Sweet

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2579
Version: 2.0-current


Not a security bug.

P3 because you can't compile.


Link: http://www.fltk.org/str.php?L2579
Version: 2.0-current

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [LOW] STR #2574: events for invisible widgets

2011-02-25 Thread corvid

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2574
Version: 1.3-current


It doesn't appear to work while hidden, presumably because setting INACTIVE
means that takesevents() will return false.


Link: http://www.fltk.org/str.php?L2574
Version: 1.3-current

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [LOW] STR #2576: Contradiction in the docs for Fl_Native_File_Chooser

2011-02-25 Thread Greg Ercolano

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Active]

Link: http://www.fltk.org/str.php?L2576
Version: Current
Fix Version: Current (r8377)


Taking ownership.
Awaiting OP to verify their current svn version.


Link: http://www.fltk.org/str.php?L2576
Version: Current
Fix Version: Current (r8377)

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [LOW] STR #2576: Contradiction in the docs for Fl_Native_File_Chooser

2011-02-25 Thread Greg Ercolano

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2576
Version: 1.3-current


This was fixed in r8377 (02/05/2011).
Are you quite sure you're running 1.3-current?


Link: http://www.fltk.org/str.php?L2576
Version: 1.3-current

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [LOW] STR #2574: events for invisible widgets

2011-02-25 Thread Manolo Gouy

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2574
Version: 1.3-current


Would invisible2.patch fix your issue ?


Link: http://www.fltk.org/str.php?L2574
Version: 1.3-current

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [LOW] STR #2574: events for invisible widgets

2011-02-25 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2574
Version: 1.3-current


Attached file "invisible2.patch"...


Link: http://www.fltk.org/str.php?L2574
Version: 1.3-currentIndex: FL/Fl_Widget.H
===
--- FL/Fl_Widget.H  (revision 8287)
+++ FL/Fl_Widget.H  (working copy)
@@ -753,7 +753,7 @@
   \retval 0 if the widget takes no events
*/ 
   unsigned int takesevents() const {
-return !output() && active_r() && visible_r();
+return !output() && active_r();
   }
 
   /** 
Index: src/Fl_Widget.cxx
===
--- src/Fl_Widget.cxx   (revision 8287)
+++ src/Fl_Widget.cxx   (working copy)
@@ -261,6 +261,7 @@
 void Fl_Widget::show() {
   if (!visible()) {
 clear_flag(INVISIBLE);
+clear_flag(INACTIVE);
 if (visible_r()) {
   redraw();
   redraw_label();
@@ -271,6 +272,7 @@
 }
 
 void Fl_Widget::hide() {
+  set_flag(INACTIVE);
   if (visible_r()) {
 set_flag(INVISIBLE);
 for (Fl_Widget *p = parent(); p; p = p->parent())
___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [LOW] STR #2578: "XOpenIM() failed" warnings in fl_init_xim

2011-02-25 Thread Manolo Gouy

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2578
Version: 1.3.0


The fl_init_xim() function is now called at other instances
than program startup to fix STR #2474. IMHO, your proposal to
print the warning message only once seems the correct fix.


Link: http://www.fltk.org/str.php?L2578
Version: 1.3.0

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


[fltk.bugs] [LOW] STR #2578: "XOpenIM() failed" warnings in fl_init_xim

2011-02-25 Thread Albrecht Schlosser

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2578
Version: 1.3.0


In one of my current Linux configs I get multiple warnings "XOpenIM()
failed" when running FLTK programs. They are triggered whenever
fl_init_xim() is called, and this is not only called on initialization
(which would IMHO be acceptable), but also on each entering the main
window with the mouse cursor (X11: EnterNotify, line #1410 in
src/Fl_x.cxx) and once more in line #871 (fl_handle).

I propose to
 (a) remove the above mentioned warning and related warnings entirely
 (maybe commenting them out), or
 (b) make them appear only once (to let the user know about it), by
 checking a static variable.

Note: currently I don't know why I get the warnings in the first place,
but this is a nice test case anyway. I assume that I would need to install
something but that is not the problem here.


Link: http://www.fltk.org/str.php?L2578
Version: 1.3.0

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [LOW] STR #2577: fl_choice focus

2011-02-25 Thread corvid

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2577
Version: 1.3-current


*checks*

At least with our usage, FLTK2 likes to focus the ReturnButton, which is
indeed nicely unsurprising for a user. I begin to think the FLTK3 dream
will find its share of exciting differences to contend with.


Link: http://www.fltk.org/str.php?L2577
Version: 1.3-current

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [LOW] STR #2577: fl_choice focus

2011-02-25 Thread Albrecht Schlosser

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2577
Version: 1.3-current


This is so by design. FLTK [1] buttons cannot be triggered by pressing
Enter or Return, instead you must use the space bar to trigger a button.
Fl_Enter_Button is an exception (shown by the arrow).

Thus, pressing Enter triggers Cancel, and pressing Space triggers Quit in
this demo.

This is the same in FLTK 1.1, and I don't see that we can change it in a
compatible way. I tend to close this STR w/o solution, unless there are
other comments / ideas how to proceed...
---
[1] I don't know whether this is different in FLTK 2, though.


Link: http://www.fltk.org/str.php?L2577
Version: 1.3-current

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs