[ 
https://issues.apache.org/jira/browse/NETBEANS-426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17348682#comment-17348682
 ] 

Eirik Bakke commented on NETBEANS-426:
--------------------------------------

The right behavior here depends on the definition of "1:1" here. The current 
behavior maps one pixel in the image to one logical pixel (=two device pixels 
on retina) on the screen.

But it's probably more useful to have the zoom rate be influenced by the HiDPI 
scaling factor of whichever screen the image is showing on when the "1:1" 
button is clicked, so that each pixel in the image maps to a device pixel on 
the screen. If you move the window to a different screen, with a different 
HiDPI scaling level, it'd be OK to require that the user presses the "1:1" 
button again.

> png file not viewed in scale in retina display
> ----------------------------------------------
>
>                 Key: NETBEANS-426
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-426
>             Project: NetBeans
>          Issue Type: Bug
>          Components: ide - UI
>    Affects Versions: 8.2
>            Reporter: Peter
>            Priority: Major
>              Labels: HiDPI
>         Attachments: icon is not one-to-one in scale if in retina.png
>
>
> png file not viewed in scale in retina display



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to