Tk Source Code

View Ticket
Login
Ticket UUID: 606546
Title: LEFT-CLICK maximize doesn't always
Type: Bug Version: obsolete: 8.4b2
Submitter: dthein Created on: 2002-09-09 02:27:26
Subsystem: 67. Unix Window Operations Assigned To: jenglish
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2002-09-10 13:27:42
Resolution: Invalid Closed By: hobbs
    Closed on: 2002-09-10 06:27:42
Description:
The bug is that the LEFT-CLICK won't expand the window
in all directions if the width is already maximized, or
if the height is already maximized.  LEFT-CLICK (Button
1) will only have effect if both the width and height
are not at maximum.

What I expect is that a LEFT-CLICK of the maximize
control will toggle between fully maximized in all
direction and the unmaximized dimensions.

I'm basing that on the following expected behavior of
maximize control in the title bar of main window (frame):

1. LEFT-CLICKing the maximize control is suppose to expand
the window in both directions.
2. MIDDLE-CLICKing the maximize control is supposed to
expand the window vertically
3. RIGHT-CLICKing the maxmize control is supposed to expand
the window horizontally.

I'm using Tk/Tcl 8.4b2 on Linux 2.4.9 with Gnome.
User Comments: hobbs added on 2002-09-10 13:27:42:
Logged In: YES 
user_id=72656

closing as noted by poster.

dthein added on 2002-09-10 09:23:13:
Logged In: YES 
user_id=603528

Yeah, it is sawfish-0.36-7.  And, yes, other windows (like
Mozilla and the terminal window) behave the same.

Sorry, I was so focused on show that it wasn't a Python app
or Tkinter bug that I forgot to check non-Tk app behavior.

And thanks for the pointer.  Once I unchecked "Lock position
and size while windows are maximized", I got the behavior I
expected.

Bug can be closed.  Thank you for your patience and calm
assistance.  :-)

jenglish added on 2002-09-09 21:37:47:
Logged In: YES 
user_id=68433

What window manager are you running?  (This sounds like
sawfish -- do
you know what version?)  How is the WM configured?  (Check:
Gnome control panel : Sawfish Window Manager : Minimizing
and Maximizing, select the 'Maximizing' tab.)

Most importantly, does this happen with all applications, or
only
with Tk apps?

The behaviour I see here (Gnome 1.4.1, sawfish 1.0.1, from
Debian testing)
is that Left-clicking the maximize control works like a
toggle: if the window 
is not maximized in any direction, then it zooms the window
to full-screen;
but if it is presently maximized vertically, horizontally,
or in both directions,
then it's returned to the original size.

I suspect that this is the intended behaviour.