flathub/org.octave.Octave

uigetfile and uiputfile return wrong directory with native file dialogs

開放

#51 建立於 2019年3月7日

 (10 則留言) (0 個反應) (0 位負責人) (12 個分叉)auto 404
flatpakhelp wanted

倉庫指標

星標
 (20 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南