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


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

Submitted by:  Torsten <ttl>
Submitted on:  Thu 09 Nov 2017 08:58:51 PM UTC  
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: Torsten <ttl>
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

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


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>
Project 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
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 <ttl>
Project MemberIn charge of this item.
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
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 <ttl>
Project MemberIn charge of this item.
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>
Project 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 <ttl>
Project MemberIn charge of this item.


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

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 30 Nov 2017 05:31:12 PM UTCrik5StatusReady For Test=>Fixed
    Mon 27 Nov 2017 08:05:19 PM UTCttlStatusConfirmed=>Ready For Test
    Sat 18 Nov 2017 03:14:09 PM UTCttlAssigned toNone=>ttl
    Sun 12 Nov 2017 10:05:56 PM UTCpantxoItem GroupInaccurate Result=>Regression

    Back to the top

    Powered by Savane 3.1-cleanup1