flathub/org.octave.Octave
uigetfile and uiputfile return wrong directory with native file dialogs
Aperta
#51 aperta il 7 mar 2019
flatpakhelp wanted
Metriche repository
- Star
- (20 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
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
>> [filename, folder] = uigetfile();
>> folder
folder = /home/khalil2535/Octave/HomeWork's/Homework1/
>> % selected file : /home/khalil2535/Octave/Materials/images/cameraman.tif
>> % my work path /home/khalil2535/Octave/HomeWork's/Homework1/
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