bugGNU Octave - Bugs: bug #52797, Undocked windows are small and of...

 
 

bug #52797: Undocked windows are small and of fixed size with KDE

Submitter:  Rik <rik5>
Submitted:  Wed 03 Jan 2018 07:15:18 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Wont Fix Assigned to:  None
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
   

Jump to the original submission

Sun 08 Apr 2018 07:38:28 AM UTC, comment #20: 

Okay, closing

Torsten Lilge <ttl>
Group Member
Sat 07 Apr 2018 11:51:37 PM UTC, comment #19: 

Everything works for me if I use a different widget kit than Oxygen.  Should we just close this bug as being specific to KDE and the Oxygent widget set?

Rik <rik5>
Group administrator
Mon 05 Mar 2018 07:39:12 PM UTC, comment #18: 

With changeset
http://hg.savannah.gnu.org/hgweb/octave/rev/fd3edb183ee2
a tooltip of the title bar of floating widgets on unix-like systems is added explaining how to the widget.

Leaving report open, because this is not a fix.

Torsten Lilge <ttl>
Group Member
Sat 03 Feb 2018 10:53:57 AM UTC, comment #17: 

@Torsten: Yes, we should add that tool tip.  It's sort of documenting the problem, rather than resolving it, but it may be the best we can do right now.

Rik <rik5>
Group administrator
Sat 03 Feb 2018 08:41:45 AM UTC, comment #16: 

@Rik: In bug #51949 you are saying that Alt+Left Mouse works on KDE (Oxygen) for moving undocked widgets. That's good news! Last time I tested on KDE, this did not work for me. Since this also works on Ubuntu Unity (and possibly in other Linux distros), should we add an according tool tip to the title of floating widgets?



Torsten Lilge <ttl>
Group Member
Wed 10 Jan 2018 04:44:50 AM UTC, comment #15: 

@Torsten: confirmed.  I can resize the widget, although I cannot move it anywhere from its initial placement.

Rik <rik5>
Group administrator
Tue 09 Jan 2018 07:37:40 PM UTC, comment #14: 

Changeset http://hg.savannah.gnu.org/hgweb/octave/rev/c9aab297130e should at least enable resizing of floating widgets under KDE with Oxygen.

Torsten Lilge <ttl>
Group Member
Sun 07 Jan 2018 03:27:54 PM UTC, comment #13: 

@Torsten: Thanks for looking in to this so carefully.  Indeed, I am using the Oxygen widgets.  I never thought that would be a problem.

Rik <rik5>
Group administrator
Sun 07 Jan 2018 09:13:33 AM UTC, comment #12: 

I finally managed to setup a vbox with Kubuntu (KDE Plasma 5.5.5) and can confirm the issue for the widget style "oxygen". All other widget styles works fine, except for the "&" somewhere in the title string of floating widgets.

Torsten Lilge <ttl>
Group Member
Fri 05 Jan 2018 06:36:52 AM UTC, comment #11: 

The window is a bit bigger and a bit better positioned, but I still can't interact with it to move it or resize it.  It is still fixed at the location where it was created.  The new entry in qt-settings that is created is:


DocumentationDockWidget_floating_geometry=@Rect(50 100 480 480)



Rik <rik5>
Group administrator
Fri 05 Jan 2018 06:17:42 AM UTC, comment #10: 

What happens if you delete the entry with the floating geometry?

Torsten Lilge <ttl>
Group Member
Fri 05 Jan 2018 05:40:57 AM UTC, comment #9: 

In ~/.config/octave/qt-settings I have


DocumentationDockWidget_dock_area=2
DocumentationDockWidget_floating_geometry=@Rect(0 0 209 185)



Rik <rik5>
Group administrator
Thu 04 Jan 2018 08:10:45 PM UTC, comment #8: 

Thanks for testing. What about the entries <dockwidgetname>_floating_geometry in your settings file? Do they exist and what geometries are stored?

Torsten Lilge <ttl>
Group Member
Thu 04 Jan 2018 04:05:39 PM UTC, comment #7: 

I tried the patch, but alas, it doesn't change things for me.  Isn't there some other magic KDE global variable for getting floating objects to work?

Rik <rik5>
Group administrator
Thu 04 Jan 2018 02:53:03 PM UTC, comment #6: 

I have attached a patch that might add a title bar in KDE (I have no system for testing). It is essentially the same approach as tested in bug #44692 with the small but significant change that the flag Qt::CustomizeWindowHint was missing previously. It is required for being able to manually add decorations via Qt::WindowTitleHint etc.

(file #42826)

Torsten Lilge <ttl>
Group Member
Thu 04 Jan 2018 06:51:04 AM UTC, comment #5: 

There is a reasonable default size for a floating widget if no previous size is found in the settings file. Are you seeing entries like <dockwidgetname>_floating_geometry in your settings file? What is their value and what happens if you remove them?

The missing title bar of a floating dock widget under KDE is already discussed in bug #44692 without a solution. Still, the window should be movable and resizable.

Torsten Lilge <ttl>
Group Member
Wed 03 Jan 2018 09:39:51 PM UTC, comment #4: 

The widget is reactive, just small.  I can click on hyperlinks in the documentation or use the search feature.  However, there is no title bar or other window decorations.  The dock/undock button is still present, but it was always inside the window anyways.

Rik <rik5>
Group administrator
Wed 03 Jan 2018 09:26:07 PM UTC, comment #3: 

When undocking a widget for the first time after the concerning changeset, the floating widgets are located at the top left corner and have very small sizes, since the last floating geometry does not yet exist in the settings file (I will have a look if a default value can be given in this case).

Is the widget just non-reactive or are the related elements (close-, redock-button, title bar etc.) missing?

Torsten Lilge <ttl>
Group Member
Wed 03 Jan 2018 08:15:40 PM UTC, comment #2: 

I compiled with Qt5.  As the fix for bug #52378 suggests, I can't drag the widget out of the main window to make it undocked; I have to use the undock button specifically.  But that doesn't bother me.  It's the not being able to do anything with the window that is bothersome.

Rik <rik5>
Group administrator
Wed 03 Jan 2018 08:11:16 PM UTC, comment #1: 

This might be related to the fix of bug #52378, changeset
http://hg.savannah.gnu.org/hgweb/octave/rev/a17862b28f0d
Have you compiled Octave with Qt4 or Qt5?

Torsten Lilge <ttl>
Group Member
Wed 03 Jan 2018 07:15:18 PM UTC, original submission:  

Undocking a window, such as the documentation, puts it in the upper left corner of the screen and the window itself is pretty small.  After that, I can't interact with the window to move it, resize it, etc.

This is with KDE and hg id 24499:941ea3da921f (1/3/2018).

Rik <rik5>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #42826:  bug52797_v1.diff added by ttl (997B - text/x-patch)

 

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 rik5 (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-04-08 ttl StatusConfirmed Wont Fix
        Open/ClosedOpen Closed
    2018-01-07 ttl StatusNone Confirmed
    2018-01-04 ttl Attached File- Added bug52797_v1.diff, #42826

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code