[haiku-bugs] Re: [Haiku] #6940: "Stretch to window" somehow does not work as expected

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Mon, 29 Nov 2010 17:33:26 -0000

#6940: "Stretch to window" somehow does not work as expected
-------------------------------------+------------------------------
  Reporter:  stippi                  |        Owner:  axeld
      Type:  bug                     |       Status:  new
  Priority:  normal                  |    Milestone:  R1
 Component:  Applications/ShowImage  |      Version:  R1/Development
Resolution:                          |     Keywords:
Blocked By:                          |  Has a Patch:  0
  Platform:  All                     |     Blocking:
-------------------------------------+------------------------------

Comment (by axeld):

 > I would make it work this way:
 > * For images smaller than the current ShowImage window size, open them
 always at 100%.
 > * For images larger than the current ShowImage window size, always scale
 them down to fit the window.
 > * Introduce menu and/or tool bar actions "Fit to window" and "Show at
 original size"

 This is how it works right now. What you probably forgot to note is how
 "Stretch to window" is supposed to work differently. BTW, the current
 stretch-to-window behaviour is also modeled after your suggestion :-)

 My initial suggestion was to stretch it until you zoomed the image
 manually.

 > So perhaps add another toggleable option "Lock current zoom level and
 displayed image portion".

 At least your example is a very specific use case that wouldn't make it
 worthwhile to implement.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6940#comment:1>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: