Closed Bug 788907 Opened 12 years ago Closed 11 years ago

Image/Media/PluginDocuments should make use of HiDPI mode

Categories

(Toolkit :: Themes, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 857089

People

(Reporter: Dolske, Unassigned)

References

Details

When viewing a [image, video, plugin] directly, these special documents should make use of HiDPI mode when available. EG, on a retina display these would normally be pixel-doubled to appear at the same size (in content, for compatibility). But when viewing them directly, we should show them as crisp as possible.


We should also consider, as part of this work, if we should retain some way of showing small images at a pixel-doubled (or more) size. EG:

Current:

  if (media fits in window w/o scrolling)
    show media
  else
    show scaled-down media w/ click to zoom 1:1

Proposed:
  // using physical pixel sizes
  if (media fits in window w/o scrolling)
    show media scaled-up to window size w/ click to shrink to 1:1
  else
    show media scaled-down to window size w/ click to zoom to 1:1

Alternatively we could consider some kind of "Tools" menu to control this and other modes (eg transparent backgrounds ;).
Does a plugin have a way to 'notify' the browser that it can actually handle rendering in HiDPI mode? 

Cheers,

Jonathan
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.