Bwidget Source Code
View Ticket
Not logged in
Ticket UUID: d4dab9444b5a0de66a82d31e46c78f33e5519d85
Title: Dialog does not show in Gnome/X11 on Debian/testing
Type: Bug Version: 1.10.1
Submitter: anonymous Created on: 2025-05-06 15:02:56
Subsystem: (unused) Assigned To: nobody
Priority: 5 Medium Severity: Important
Status: Open Last Modified: 2025-05-09 21:36:34
Resolution: None Closed By: nobody
    Closed on:
Description:
Hi!

After updating my laptop to Debian/testing (I'm using Gnome/X11, haven't tested in other environments), I've found that BWidget's Dialog fails to display it's window. The following script just hangs silently:

package require BWidget
Dialog .m
.m add -text Yes
.m add -text No
.m draw

I'm not sure I fully understand what happens, but removing line 86:

wm overrideredirect $path 1

helps. I didn't find any adverse effects of this change.

(I've also checked if some other use of [wm overrideredirect $w 1] leads to bug, but no, every othe one is okay.)
User Comments: anonymous added on 2025-05-09 21:36:34:
Also, I've tested Dialog on Debian/testing with XFCE. Everything works fine (again, for both Tcl/Tk 8.6.16 and 9.0.1).

anonymous added on 2025-05-06 15:31:04:
Oops, forgot to mention that I've tried both Tcl/Tk 8.6.16 and 9.0.1. The behavior is identical.

oehhar added on 2025-05-06 15:17:41:
Thanks for the report.
I will look into it probably next friday.

Can you tell me your tk version ?

Take care,
Harald