Tk Source Code

View Ticket
Login
Ticket UUID: e57dbff619407aa58b3531cc9599fe00a8dd765b
Title: Ubuntu / Gnome desktop incorrect window mouseover labels in dock
Type: Bug Version: 8.6.10
Submitter: bll Created on: 2020-08-16 18:26:00
Subsystem: 67. Unix Window Operations Assigned To: fvogel
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2021-01-08 17:10:08
Resolution: Fixed Closed By: jan.nijtmans
    Closed on: 2021-01-08 17:10:08
Description:
On Ubuntu 20.04, I noticed that the mouseover of the dock icon does not 
display the correct title.  Apparently 'wm title' needs something more.
Images attached.  I have not done any research on this.
User Comments: jan.nijtmans added on 2021-01-08 17:10:08:

Merged now to core-8-5-branch and up. Thanks!


bll added on 2021-01-03 13:50:33:
Perfect.

fvogel added on 2021-01-03 13:42:03:

Would [ccc7ad37] constitute an answer to your concern? Feel free to amend as needed.


bll added on 2021-01-01 17:55:51:
Hmm...I would no longer classify this as a coding bug.

It probably needs to be documented.

Most windows managers display the title on mouseover in their dock or 
whatever they use.  This is extremely common.

Having seen this, my prediction (based on nothing) is that other window 
managers will start doing this also.  I certainly like "Firefox" as a mouseover
display better than "Tk Source Code: ... - Firefox".

Seeing ubuntu-gnome showing "Toplevel" and "Frame" for the mouseover was
very annoying :) .  More annoying still for people who actually use ubuntu-gnome.

fvogel added on 2021-01-01 15:39:21:
Is this a bug? As you mentioned, the name displayed in the dock in gnome is the class of the toplevel window, which can be set by specifying -class at toplevel creation time. What is the problem with this exactly? Would you expect the displayed name in the dock be the title? If so, why?

bll added on 2020-12-14 17:40:07:
See also:

https://core.tcl-lang.org/tk/info/e5ccf5425407b909

bll added on 2020-08-16 21:30:20:
The mouseover name can be set by setting the class name of the toplevel 
when it is instantiated.  Another reason to get rid of the damned . window,
as it cannot be reconfigured.

Attachments: