Tk Source Code

View Ticket
Login
Ticket UUID: 1006686
Title: wm resizable command not working on Solaris/CDE
Type: Bug Version: obsolete: 8.4.7
Submitter: cjmcdonald Created on: 2004-08-10 16:14:38
Subsystem: 67. Unix Window Operations Assigned To: jenglish
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2004-08-11 01:11:08
Resolution: Fixed Closed By: jenglish
    Closed on: 2004-08-10 18:11:08
Description:
The fix for bug #915350 "Tk sets min, max size in WM_HINTS
when it shouldn't", which was recently backported to Tk
8.4.7, breaks the wm resizable command for the CDE window
manager on Solaris 8.  Setting wm resizable 0 0 is now not
properly handled by the window manager, because the max
size hint is not set.  The window cannot be made smaller
than the current requested size, but it can be dragged
larger by the user.

Obviously this is in the realm of different interpretations
and behaviours among different window managers (and
probably different versions of the same window manager). 
But the attached simple patch fixes the problem in
Solaris/CDE, and hopefully won't undo the fix for bug
#915350.

The patch is for for UpdateSizeHints in the current head
version 1.43 of tkUnixWm.c
User Comments: jenglish added on 2004-08-11 01:11:08:

File Added - 97184: tk84-wm-resizable.patch

jenglish added on 2004-08-11 01:11:07:
Logged In: YES 
user_id=68433

Thanks for the bugreport and the fix; committed to CVS.

Attached patch backports the fix to core-8-4-branch.

cjmcdonald added on 2004-08-10 23:49:29:

File Deleted - 97153: 



File Added - 97170: tkUnixWm.diff

cjmcdonald added on 2004-08-10 23:49:28:
Logged In: YES 
user_id=883691

Updated patch file.

cjmcdonald added on 2004-08-10 23:14:38:

File Added - 97153: tkUnixWm.diff

Attachments: