Menu

#149 Resizing with grip miscalculates for fixed aspect ratio

open
nobody
None
5
2016-08-27
2010-06-01
No

This is a problem that affects gxine and, I believe, Hulu desktop, among others. These programs have windows with fixed aspect ratio, and when I try to resize the fixed-aspect window, using the grips, the sizes are miscalculated.

The attached patch seems to help.

(Personally, I would like it better if aspect ratio were not updated during the resizing operation, but only after I let go of the grip. That way the grip feels much more like something on which I am grasping, and the quick resizing that occurs after I let go also feels natural, like putting an elastic object into something. So I'm thinking of commenting out the pertinent code, in my own copy of fluxbox.)

Discussion

  • Barry Schwartz

    Barry Schwartz - 2010-06-01

    The patch mentioned in the description

     
  • Thomas Luebking

    Thomas Luebking - 2016-08-27

    The result of the proposed patch is that the user won't have an idea of the final window geometry until he stops resizing. Meh.

    However, Barry has a point - the off-place cursor is odd. We might control it instead (ie. warp it to the newly calculated corner, warping is evil though and won't work too good with absolute input methods, ie. eg. a stylus)

     

Log in to post a comment.