[Lazarus] Testing needed for bugfix
Bart
bartjunk64 at gmail.com
Sun Aug 7 23:12:50 CEST 2016
On 8/7/16, Howard Page-Clark <hdpc at talktalk.net> wrote:
> Under Linux Mint 64-bit the dialog opens and closes as you say it should
> for a .txt selection.
OK, fine.
B.t.w: QT or GTK2?
> For a non-.txt selection it is impossible to close the dialog either by
> Cancel button or via the bordericon X close button. The dialog can only
> be dismissed by selecting a .txt file again.
Thanks for testing.
What about the OnCanClose event?
Does it get fired if you cancel the dialog?
It should not (see TFileDialog.DoCanClose).
If OnCanClose fires, can you uncomment the debugln() in
TFileDialog.DoCanClose, so we can see what the value is of UserChoice
at that point?
If you build the app without my fix, can you close it in that scenario?
(Since I changed nothing in GTK2 or QT WS code, I expect the same behaviour)
> Also I could get the project to compile only by commenting out uxtheme
> in the uses clause (I don't know if that skews the outcome in any way).
Sorry, you can leave that out, it was only used in the forms OnCreate
at some point (but now commented out) when I was testing other
problems.
Bart
More information about the Lazarus
mailing list