mbien commented on code in PR #8310:
URL: https://github.com/apache/netbeans/pull/8310#discussion_r1990297512
##########
platform/core.windows/src/org/netbeans/core/windows/view/dnd/DragWindow.java:
##########
@@ -44,6 +46,9 @@
* @author sa
*/
class DragWindow extends JWindow {
+ /* Store buffers at 2x the logical resolution. Then scale them down by 50%
when painting to the
+ JWindow. This ensures full-resolution painting on HiDPI and Retina
screens. */
+ private static final int DPI_SCALE = 2;
private boolean useFadeEffects = !Boolean.getBoolean(
"winsys.dnd.nofadeeffects" );
Review Comment:
the transparent drag window felt always a little slow to me. I think part of
it is the fairly long fade-in effect (2s?) which makes it look less snappy as
it could be. (easier to see with dark theme).
Wondering if we should turn it off by default or reduce the fade-in time?
(The second problem turned out to be my system settings which also have a
small effect for opening/closing windows which clashed with this usecase)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists