Opened 9 years ago

Closed 9 years ago

#11680 closed bug (fixed)

Screenshot window doesn't shrink to smaller images.

Reported by: humdinger Owned by: stippi
Priority: normal Milestone: R1
Component: Applications/HaikuDepot Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is hrev48584.

If you first click on the larger screenshot of a package, the pop-up window will correctly resize to show the image in 100% zoom. If you then open one with a smaller window, the window stays the same size and therefore stretches the image.

E.g. first open the shot of BeShare, then open the one of BeScreenCapture.

Change History (4)

comment:1 by humdinger, 9 years ago

This is issue is fixed with hrev48599.
stippi, did you leave this ticket open on purpose?

Maybe you're still optimizing the fix... I noticed that a new screenshot window first appears with the last used size, before the new screenshot is shown and resizes the window accordingly. Can the window be shown later, i.e. after that resizing?

comment:2 by humdinger, 9 years ago

Hmm, I think I can answer my own question: when you click on a screenshot, HaikUDepot doesn't yet know how big the screenshot actually is. It has to download the image first. The showing of the screenshot window cannot wait for that, or the users think their click was lost or HaikuDepot became unresponsive.

The window could, however always start with the same, relatively small, size. Maybe even with a string in it "Downloading screenshot...", in case the connection is extremely slow.

comment:3 by stippi, 9 years ago

Mostly I didn't close the ticket since I was too tired. But you are right, and have some good suggestions, thanks!

comment:4 by humdinger, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.