[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: |
Sun, 22 Aug 2021 07:52:45 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36 Edg/92.0.902.78 |
Follow-up Comment #12, bug #60980 (project octave):
Attached is a WIP patch that adds a new function `have_dialogs` to the event
manager classes. That function returns `false` for the base class and `true`
for the Qt implementation.
The patch only partly implements handling that function (only the `uigetfile`
function for now). The other GUI dialogs that could be either implemented via
the event manager or otherwise would probably need similar changes.
The patch also includes some work for the originally motivating removal of the
"position" property for `uigetfile`. (A final patch should probably separate
those two changes.)
With that patch, a file dialog appears when Octave is started with
`--no-gui-libs` for `uigetfile('*.*', '', '')`.
I'm only uploading it here to ask if this is an approach worth putting more
time into. Or do we need something different?
(file #51802)
_______________________________________________________
Additional Item Attachment:
File name: bug60980-event-manager-dialogs.patch Size:11 KB
<https://file.savannah.gnu.org/file/bug60980-event-manager-dialogs.patch?file_id=51802>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60980>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #60980] "Position" key in uigetfile appears to have no effect,
Markus Mützel <=