bugGNU Octave - Bugs: bug #51853, KDE issues with docked windows and...

 
 

bug #51853: KDE issues with docked windows and title bars/decorations

Submitter:  Alexander Wilms <alexanderw>
Submitted:  Fri 25 Aug 2017 09:46:30 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Wont Fix 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
   

Jump to the original submission

Fri 29 Mar 2019 05:02:25 PM UTC, comment #17: 

For KDE users who come across this report, the solution is to add


[Development]
AutoCheckAccelerators=false


to the file ~/.config/kdeglobals.


Rik <rik5>
Group administrator
Tue 05 Sep 2017 05:05:57 PM UTC, comment #16: 

Re-titling to reflect the issue is running the GUI with KDE.  Marking as "Won't Fix" since this seems to be overly hard, and really something that upstream should allow us to control.

Rik <rik5>
Group administrator
Tue 05 Sep 2017 02:56:08 PM UTC, comment #15: 

Of course, we can not expect that KDE users know about this. On the other hand, I think there is nothing we can do in octave in order to fix this. Similar to the other bug, which results from KDE preventing any window decorations for qt dock widgets.

Torsten Lilge <ttl>
Group Member
Tue 05 Sep 2017 02:23:04 AM UTC, comment #14: 

I'm not sure how any KDE user was supposed to know about that magic setting, but I tried it and it works.  The title of the window through the Alt+Tab menu is now just "Variable Editor".

Rik <rik5>
Group administrator
Tue 05 Sep 2017 01:33:34 AM UTC, comment #13: 

I just had a look into the code and I did not find any occasion where a "&" is added to the title strings of the dock widgets. However, I fount the following about a special behavior of KDE, which obviously adds an ampersand to the text of any qt object: https://stackoverflow.com/questions/32688153/how-to-disable-automatic-mnemonics-in-a-qt-application-on-kde

Rik, Could you please test the workaround that is given in the linked thread? This should fix the "&" in all the title of dock widgets and tabs.

Torsten Lilge <ttl>
Group Member
Sun 03 Sep 2017 03:27:02 PM UTC, comment #12: 

As I just reported on another bug report, when I detach the "Variable Editor" and then use "Alt+Tab" to cycle between windows the title of the window in the cycle windows menu is "&Variable Editor".

I also notice that if the window is docked and I press just the "Alt" key then all the possible shortcuts lightup.  For the Workspace Window this is the second 'o' in "Workspace".  For the Variable Editor this is the first 'V' in "Variable Editor".  However, if I use the shortcut key nothing happens (presumably because these are not menu items that can be activated with Alt+Shortcut_Key).  Even more annoying is if I use openvar to create a few tabs in the Variable Editor.  After that, each variable like 'x' lights up when I use the Alt key.

Rik <rik5>
Group administrator
Sun 03 Sep 2017 01:42:37 AM UTC, comment #11: 

No, it's not.

Alexander Wilms <alexanderw>
Sat 02 Sep 2017 03:16:44 PM UTC, comment #10: 

@Alexander: In the "General" settings tab, is the custom style selected for the titles of the dock widgets?

Torsten Lilge <ttl>
Group Member
Thu 31 Aug 2017 05:48:27 PM UTC, comment #9: 

Qt 5.7.1

Alexander Wilms <alexanderw>
Thu 31 Aug 2017 05:47:14 PM UTC, comment #8: 

@Alexander: What version of Qt are you using?

Rik <rik5>
Group administrator
Tue 29 Aug 2017 08:37:36 PM UTC, comment #7: 

Patch works for me.  This is with Qt 5.6.1, KDE 5.36, cset 23970:37f3c4416f2e.

Rik <rik5>
Group administrator
Tue 29 Aug 2017 06:24:54 PM UTC, comment #6: 

Correction: If I start Octave with the editor still being undocked, there's no ampersand. As soon as focus the editor window, the ampersand re-appears.

Also, this affects other dock-able windows as well. Maybe someone could try to reproduce this on KDE. This is on a freshly set-up VM, so I don't know what else could cause this.

Alexander Wilms <alexanderw>
Tue 29 Aug 2017 06:17:50 PM UTC, comment #5: 

The build just finished and I can confirm the ampersand is gone with the patch.

Alexander Wilms <alexanderw>
Tue 29 Aug 2017 06:16:41 PM UTC, comment #4: 

I pushed the changeset here:

http://hg.savannah.gnu.org/hgweb/octave/rev/c46791c20a73

It seems like the right thing to do anyway since it makes this widget consistent with the other dock widgets.

John W. Eaton <jwe>
Group administrator
Sun 27 Aug 2017 08:26:04 PM UTC, comment #3: 

The "&" doesn't show up on Windows either.

Philip Nienhuis <philipnienhuis>
Group Member
Sun 27 Aug 2017 03:59:58 PM UTC, comment #2: 

Thanks, I'll try it tomorrow.

Alexander Wilms <alexanderw>
Sun 27 Aug 2017 09:32:53 AM UTC, comment #1: 

The ampersand does not show up on Ubuntu with Unity. I have compared the source of the variable editor with other dock-widgets and created the attach (simple) patch. Could you please try it on your system?

(file #41677)

Torsten Lilge <ttl>
Group Member
Fri 25 Aug 2017 09:46:30 PM UTC, original submission:  

The shown window title is "&Variable Editor"

This is on KDE 5.10.

Alexander Wilms <alexanderw>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #41677:  bug51853_v01.patch added by ttl (779B - 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 rik5 (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by ttl (Updated the item)
  • -email is unavailable- added by alexanderw (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 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-09-05 rik5 StatusFixed Wont Fix
        Open/ClosedOpen Closed
        SummaryUn-docked variable editor window has ampersand in its title KDE issues with docked windows and title bars/decorations
    2017-08-31 rik5 StatusReady For Test Fixed
    2017-08-29 jwe StatusPatch Submitted Ready For Test
    2017-08-27 ttl Attached File- Added bug51853_v01.patch, #41677
        StatusNone Patch Submitted
        Assigned toNone ttl

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code