flathub/org.octave.Octave

uigetfile and uiputfile return wrong directory with native file dialogs

オープン

#51 opened on 2019/03/07

 (10 件のコメント) (0 件のリアクション) (0 人の担当者) (12 件のフォーク)auto 404
flatpakhelp wanted

Repository metrics

Stars
 (20 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド