FLTK logo

Re: [fltk/fltk] Fl_Native_File_Chooser::filter_value() [Kdialog] always returns 0 (Issue #899)

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 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [fltk/fltk] Fl_Native_File_Chooser::filter_value() [Kdialog] always returns 0 (Issue #899) ManoloFLTK 07:49 Apr 22  
 

@michel34 Commit abfc8ee is a proposal to fix this issue. The logic of using zenity and kdialog to construct file choosers has been modified. Both are now false by default, so that they are opt-in options. FLTK by default won't use kdialog so it won't loose the effect of Fl_Native_File_Chooser::filter_value() member functions. The impact of zenity and kdialog on Fl_Native_File_Chooser::filter_value() is documented. Do you agree your issue is solved?

@Albrecht-S Here is a detailed description of what changed with the commit :

- remove build option FLTK_USE_KDIALOG replaced by an Fl::option() option
- new run-time option OPTION_FNFC_USES_KDIALOG
- make options OPTION_FNFC_USES_KDIALOG and OPTION_FNFC_USES_ZENITY
false by default
- add mention of new program fltk-options in the doc of Fl::option()
- change logic of choice of the native file chooser under X11/Wayland:
the zenity and kdialog choosers are opt-in; otherwise the GTK file chooser
is used, unless opted out with OPTION_FNFC_USES_GTK
- document that zenity may be interesting for sandboxed apps
- document that both zenity and kdialog make member functions
Fl_Native_File_Chooser::filter_value() inoperable

Do you see remaining issues?


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/issues/899/2069740768@github.com>

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

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