https://bugs.freedesktop.org/show_bug.cgi?id=78209
Priority: medium
Bug ID: 78209
Assignee: [email protected]
Summary: BASIC: Race condition in FilePicker dialog methods, an
perhaps other dialogs
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
Version: 4.2.3.3 release
Component: BASIC
Product: LibreOffice
Problem description:
There appear to be race conditions in the dialog(s). At least one was found
that is reproducible on Linux (fc20) and LibreOffice 4.2.3.3 version. The race
condition was only reproduced on Linux using the FilePicker dialog using the
System style dialog. Note, that it is possible that the same underlying issue
is present with the System dialog on Windows, but that it is masked by the
behavior associated with Bug 43021 where an empty string is always returned by
getDisplayDirectory().
Steps to reproduce:
1. Write and run code with the getDisplayDirectory() method immediatly
following setDisplayDirectory()
2. Single step or insert a 50 ms wait, getDisplayDirectory() returns the
correct result.
3. ....
Current behavior:
In the reproduced race condition, getDisplayDirectory() returns an empty
string.
Expected behavior:
getDisplayDirectory() should return exactly what setDisplayDirectory() was
passed as an argument.
Operating System: All
Version: 4.2.3.3 release
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs