octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #60980] "Position" key in uigetfile appears to


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #60980] "Position" key in uigetfile appears to have no effect
Date: Thu, 29 Jul 2021 12:45:04 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36 Edg/92.0.902.55

Update of bug #60980 (project octave):

                  Status:                    None => Confirmed              
                 Release:                   6.1.0 => dev                    
        Operating System:       Microsoft Windows => Any                    

    _______________________________________________________

Follow-up Comment #2:

I can confirm on both Windows and Ubuntu.

It looks like this is an extension to the Matlab function that isn't
completely implemented. Their documentation doesn't mention a "position"
property:
https://de.mathworks.com/help/matlab/ref/uigetfile.html


The position is assigned to a variable here. But it is never used for the Qt
graphics toolkit:
https://hg.savannah.gnu.org/hgweb/octave/file/53de043ea532/libinterp/corefcn/event-manager.cc#l311

Looking back in the history of the repository, it looks like this was never
implemented.

The same goes for corresponding implementation with the FLTK graphics
toolkit:
https://hg.savannah.gnu.org/hgweb/octave/file/53de043ea532/libinterp/dldfcn/__fltk_uigetfile__.cc#l78

Maybe, we should just remove that property from the documentation and simplify
the code by removing the position property entirely.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60980>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]