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

 
 

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

Submitted by:  Alexander Wilms <alexanderw>
Submitted on:  Fri 25 Aug 2017 09:46:30 PM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Other
Status: Wont FixAssigned 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.

 

(Jump to the original submission Jump to the original submission)

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>
Project 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 <ttl>
Project MemberIn charge of this item.
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>
Project 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 <ttl>
Project MemberIn charge of this item.
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>
Project 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 <ttl>
Project MemberIn charge of this item.
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>
Project 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>
Project 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>
Project Administrator
Sun 27 Aug 2017 08:26:04 PM UTC, comment #3:

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

Philip Nienhuis <philipnienhuis>
Project 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 <ttl>
Project MemberIn charge of this item.
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 File(s):
   
   
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
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by ttl (Updated the item)
  • -unavailable- added by alexanderw (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 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 05 Sep 2017 05:05:57 PM UTCrik5StatusFixed=>Wont Fix
      Open/ClosedOpen=>Closed
      SummaryUn-docked variable editor window has ampersand in its title=>KDE issues with docked windows and title bars/decorations
    Thu 31 Aug 2017 05:47:14 PM UTCrik5StatusReady For Test=>Fixed
    Tue 29 Aug 2017 06:16:41 PM UTCjweStatusPatch Submitted=>Ready For Test
    Sun 27 Aug 2017 09:32:53 AM UTCttlAttached File-=>Added bug51853_v01.patch, #41677
      StatusNone=>Patch Submitted
      Assigned toNone=>ttl

    Back to the top


    Powered by Savane 3.1-cleanup1