From: SourceForge.net <no...@so...> - 2005-03-14 02:52:59
|
Patches item #1162739, was opened at 2005-03-13 18:52 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312997&aid=1162739&group_id=12997 Category: 67. Unix Window Operations Group: None Status: Open Resolution: None Priority: 5 Submitted By: Joe English (jenglish) Assigned to: Joe English (jenglish) Summary: Use StaticGravity for win_ and bit_ gravity Initial Comment: Tk currently uses NorthWestGravity for the win_gravity and bit_gravity window attributes. This makes interactive resizing less smooth than it ought to be. The problem is most visible in panedwindows with '-opaqueresize true' -- as you drag the sash up and down, the opposite border and window contents may jiggle, shake, and jump around. What's happening is: when the panedwindow sets the new geometry of the slave, the X server shifts the existing contents according to the bit_gravity and/or win_gravity attributes (depending on whether the window is directly managed by the panedwindow or is a descendant of the pane slave). Then a split-second later, the window redraws itself, this time with the correct geometry. Attached patch changes Tk to use StaticGravity for both attributes; this hint tells the X server to leave the pixels where they are when the window is resized. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312997&aid=1162739&group_id=12997 |