-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uigetfile and uiputfile return wrong directory with native file dialogs #51
Comments
I installed octave using flatpak command line , i tried those maybe will be useful for tracking the problem ..
|
@khalil2535 Can you confirm that disabling the "Preferences" setting "Use native file dialogs" makes this work for you? I can confirm this problem with native dialogs enabled (the default), and disabling native dialogs fixes it for me. This may be some flatpak containment problem with the native file dialog plugin. |
And btw I can confirm with GNOME, so this is not just about the KDE native dialog plugin. |
And this is specific to Flatpak, can not reproduce in a native build of Octave 5.1.0. |
yes that what's happening with me , it works fine when i disable native file dialogs. |
Same with The |
Looking at the Octave implementation of these functions, the |
I can confirm this with a trivial Qt program, not an Octave bug. Can someone who understands the Flatpak portal and permissions help out here? |
A simple example Qt project reproducing this behavior is here. |
And I've reported this Qt bug: https://bugreports.qt.io/browse/QTBUG-77825 Based on my investigation so far, we may want to change Octave to not rely on the |
hello , is it my problem or a bug in uigetfile()
uigetfile() returns my work path not the path for the file i choose.
documentation says about uigetfile() : Open a GUI dialog for selecting a
file and return the filename fname, the path to this file fpath, and the
filter index fltidx.
Octave version 5.1.0
information about the environment :-
Operating System: Fedora 29
KDE Plasma Version: 5.14.5
Qt Version: 5.11.3
KDE Frameworks Version: 5.55.0
Kernel Version: 4.20.13-200.fc29.x86_64
OS Type: 64-bit
The text was updated successfully, but these errors were encountered: