bugGNU Octave - Bugs: bug #52378, Changed behavior of floating dock...

 
 

bug #52378: Changed behavior of floating dock widgets with Qt5

Submitter:  Torsten Lilge <ttl>
Submitted:  Thu 09 Nov 2017 08:58:51 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  ttl
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 27 Nov 2017 09:40:52 PM UTC, comment #4: 

Indeed it fixes the issue for me and I don't find that not being able to detach/attach windows by dragging them is really a concern when we have a button to do it. I think this report can be closed.

Pantxo Diribarne <pantxo>
Group Member
Mon 27 Nov 2017 08:05:19 PM UTC, comment #3: 

As mentioned in comment #2, this issue was fixed in bug #38785 for windows. I have pushed changeset
http://hg.savannah.gnu.org/hgweb/octave/rev/a17862b28f0d
which now implements the same way for handling floating widgets on all platform as it has been already used on windows platforms.

While this might also fix the known issues of floating widgets in KDE, this approach has the drawback, that dragging a dock widget only works for changing the dock location within the main window. It can not be dragged outside the main window to make it floating and vice versa. Instead the (un)dock button in the title bar has to be used.

Torsten Lilge <ttl>
Group Member
Sat 18 Nov 2017 03:14:09 PM UTC, comment #2: 

A possible solution to this issue is handling floating widgets by ourselves as it is done in windows, where the problem already popped up with Qt4 (bug #38785).

While playing around with this solution I stumbled over a possible solution for the related "two-step-redocking" of floating widgets under windows as described in bug #38785. I have pushed changeset
http://hg.savannah.gnu.org/hgweb/octave/rev/e9fe31118542
which improves this re-docking behavior. I have tested it in Win 7 and 8.1, but since I am not using this platform on a regular basis, feedback from window users is highly welcome.

Torsten Lilge <ttl>
Group Member
Sun 12 Nov 2017 10:05:56 PM UTC, comment #1: 

I can confirm this behavior on linux mint 17.3 (based on ubuntu 14.04). I also marked this bug as a regression since we need to switch to Qt5 (the default for most modern distributions).

Pantxo Diribarne <pantxo>
Group Member
Thu 09 Nov 2017 08:58:51 PM UTC, original submission:  

With Qt5 - at least on Ubuntu Unity - floating dock widgets do not behave like independent windows anymore:

  • floating widgets are always on top of the main window
  • when a floating widget gets focus, the main window is also raised up, preventing, e.g., having the floating editor aside another application
Torsten Lilge <ttl>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-11-30 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2017-11-27 ttl StatusConfirmed Ready For Test
    2017-11-18 ttl Assigned toNone ttl
    2017-11-12 pantxo Item GroupInaccurate Result Regression
        StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code