bugGNU Octave - Bugs: bug #55048, [GUI] Undocked Variable editor...

 
 

bug #55048: [GUI] Undocked Variable editor subpanes cannot be resized

Submitted by:  Philip Nienhuis <philipnienhuis>
Submitted on:  Sun 18 Nov 2018 04:20:50 PM UTC  
 
Category:  GUI Severity:  3 - Normal
Priority:  3 - Low Item Group:  Unexpected Error
Status:  None Assigned to:  None
Originator Name:  Philip Nienhuis Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

( Jump to the original submission)

Sun 31 Mar 2019 09:26:30 PM UTC, comment #13:

Thanks Mike, setting OS -> "Any"

"_awkward but working_" - sure, and admittedly resizing undocked VE subpanes wouldn't be a feature that will be used very often I suppose. (Although I "need" to do that quite often and do it regularly in Matlab)

OTOH, IMO it does need improvement. This is unexpected behavior for many a user.

Priority -> Low

(Still thinking about a better title)

Philip Nienhuis <philipnienhuis>
Project Member
Sun 31 Mar 2019 08:52:10 PM UTC, comment #12:

> You're right, but it takes a steady hand to be able to resize undocked subpanes.
> If you hadn't written this comment I wouldn't have found out, a.o., because of the mouse cursor not changing appearance.


That looks to me like the exact same behavior I see on Debian, which I guess I would call awkward but working. So I think the behavior is identical, IOW this is not a Windows specific behavior. It's just the way that Qt presents floating panels without window decoration.

Mike Miller <mtmiller>
Project Administrator
Sun 31 Mar 2019 08:06:43 PM UTC, comment #11:

BTW it is probably a fairly "new" thing (< 1 or 2 yrs old) as AFAIR subpanes could be resized more easily.

Philip Nienhuis <philipnienhuis>
Project Member
Sun 31 Mar 2019 08:03:41 PM UTC, comment #10:

@Torsten,
You're right, but it takes a steady hand to be able to resize undocked subpanes.
If you hadn't written this comment I wouldn't have found out, a.o., because of the mouse cursor not changing appearance.

Are you implying nothing can be done about this (on Windows)?

In the mean time I'll think about a better bug report title

Philip Nienhuis <philipnienhuis>
Project Member
Sun 31 Mar 2019 07:15:39 PM UTC, comment #9:

I have just tested a recent build on Windows 7. Floating variable panes can be resized at all sides, but the border for resizing with the mouse only seems to be 1px thick and the mouse cursor does not change into the typical one for resizing.

From some internet resources, e.g., https://forum.qt.io/topic/60122/increase-floating-qdockwidget-resize-margin-size, this is a known issue of some window managers and is not handled by qt (or the application using qt).

Torsten Lilge <ttl>
Project Member
Tue 05 Mar 2019 09:25:09 PM UTC, comment #8:

OK, so this remains a Windows-only bug report.

Philip Nienhuis <philipnienhuis>
Project Member
Tue 05 Mar 2019 08:50:27 PM UTC, comment #7:

Seems like it is working as intended to me. The variable panes are floating Qt dock widgets, so they have no window decoration, and can only be resized by dragging very near the edges.

I can resize on my Debian system by dragging on any of the sides or corners, including the top edge and the top corners.

Mike Miller <mtmiller>
Project Administrator
Sun 03 Mar 2019 04:20:54 PM UTC, comment #6:

The look and feel is fine with me, it's more the behavior.

As even on Linux resizing by dragging doesn't work on all sides (i.e., not the top subpane border), shall I set 'Operating System' => "Any" ?

Philip Nienhuis <philipnienhuis>
Project Member
Sun 03 Mar 2019 11:26:10 AM UTC, comment #5:

The subpanes look the same on my system. In contrast to the dock widgets of Octave's main window, the variable subpanes are ordinary Qt dock widgets which do not have any window decoration. This is intended in order to have a clear "hierarchy" between the main dock widgets and their subwidgets, if exisiting.

Torsten Lilge <ttl>
Project Member
Sun 03 Mar 2019 10:08:29 AM UTC, comment #4:

Ah OK I was a little confused by (in comment #1)

> on all sides and corners of the undocked variable pane


The subpane has just two buttons (Dock & Close), see attached pic, and they do work.
Dan commented (in that bug report discussion I referred to) that VE subpanes lack window decorations, which to me looks like an accurate observation.

(file #46395)

Philip Nienhuis <philipnienhuis>
Project Member
Sat 02 Mar 2019 02:57:53 PM UTC, comment #3:

Yes, I was talking about a single variale pane, too, not the entire VE dock widget.

Is it at least possible to use the general windows menu (close, maximize, minimize, move, resize etc.) to resize the pane on windows?

Torsten Lilge <ttl>
Project Member
Sat 02 Mar 2019 11:58:46 AM UTC, comment #2:

> works on all sides and corners of the undocked variable pane.

The bug is about SUBpanes, not the entire VE pane, and on Windows.

(On Windows) just undock a subpane (drag it out the undocked or a docked VE pane onto the desktop), you don't even need to undock the entire VE pane for that, and try again.

On my Mageia-6 Linux it works marginally better. But there:

- resizing only works on the left, right and bottom subpane borders, not on the top one (ISTR I reported that already in passing in a long discussion with Dan in another bug report about the VE)

- when dragged out of the docked VE pane, resizing only works within the sizes of the original docked subpane. IOW, I can't drag the borders to make the subpane bigger than it was in the docked VE pane. When dragging out of an undocked VE pane, the borders can be dragged to make the subpane any size.

Philip Nienhuis <philipnienhuis>
Project Member
Sat 02 Mar 2019 11:17:57 AM UTC, comment #1:

On my Gnome desktop the cursor never changes into a resize cursor. Anyhow, resizing by mouse works on all sides and corners of the undocked variable pane.

Is it possible to resize the pane on windows by using the window menu (Alt+Space in Gnome but I do not remember the shortcut for windows)?

Torsten Lilge <ttl>
Project Member
Sun 18 Nov 2018 04:20:50 PM UTC, original submission:

To replicate:

1. In the GUI, type:

a = rand (3)
b = rand (3)

2. Then, doubleclick a and b in the Workspace pane (they'll show up in the Variable editor).

3. Undock the Variable editor pane.

4. Undock the Variable editor "b" subpane.

5. Try to resize the undocked "b" subpane. Nowhere on any side does a resize cursor appear. So no resizing is possible. it keeps the size it had when docked in the Variable Editor pane.
Moving the subpane around by dragging its upper toolbar (what is it, title bar?) does work.

On Linux (Mageia-6 with KDE/Plasma) the resize cursor only appears (and works) on the lower and left/right sides and lower corners. I think it should also work on the subpane's upper side.

Philip Nienhuis <philipnienhuis>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #46395:  bug55408_A.PNG added by philipnienhuis (25KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by philipnienhuis (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-31 philipnienhuis Priority5 - Normal => 3 - Low
        Operating SystemMicrosoft Windows => Any
    2019-03-03 philipnienhuis Attached File- => Added bug55408_A.PNG, #46395

    Back to the top


    Powered by Savane 3.4