[haiku-commits] Re: haiku: hrev47177 - in src: kits/media apps/showimage

  • From: "Adrien Destugues" <pulkomandy@xxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 28 Apr 2014 05:45:57 +0000

> No. IIRC there was consensus, that it never makes much sense to display
> large images in their natural size. You'll usually want to have them fit
> the window. That's what the current code expresses.
> 
> If you want to see them 1:1 (which definitely is a valid use case, just
> not as common) just press the button responsible for doing that (or '1'
> which should do the same).

Ok, here is another use case: I'm viewing a book that was scanned as multiple 
jpeg files. I want things to show full-size, because rescaling the images make 
them unreadable on my relatively small resolution. Clicking 1 each time I move 
to a new page is very annoying. I don't really need the option to be saved, but 
I think the zoom factor should be preserved when moving from one image to 
another.

I could not get this to work. The zoom factor being less than 1, things were 
always scaled down. This is why I think the option and the separate and 
independant zoom control is a bit messy and confusing. I don't think re-adding 
the separate option for images bigger than the screen makes more sense, and 
what I really want is the "original size" and "fit to window" zoom buttons to 
retain their state when moving to the next image in the same folder.

>> I don't see when scaling small images up would be useful, I always hit
>> the 'original size' button when displaying it.
>> 
> Again, that's why it's an option. You don't want images to be stretched,
> just keep that option disabled (that should be its default IIRC).

Do you sometimes enable it? If we disable it by default, and everyone keeps it 
that way, I see little use for the option.


>> Maybe the wording of the French
>> translation is the problem, becausethe word for "stretch" also applies
>> to "shrink".

> Stretch is not meant to mean shrink, so yes, this seems to have been the
> problem. I believe we do have a French version of Haiku, though ;-)

Yes, that's the problem, in my French system the wording for the menu entry 
sounded like it should do what I expected, but that didn't work. The english 
version having a better distinction of stretch vs shrink, I can see this is 
wrong. Yet I want images to show 1:1 as an option, or at least as something 
that persists in a ShowImage session when navigating a directory. Would that be 
a better solution?

-- 
Adrien.

Other related posts: