You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2021/01/06 17:10:25 UTC

[GitHub] [netbeans] DevCharly opened a new pull request #2642: [NETBEANS-5025] Fix wheel/trackpad scrolling in Options > Fonts & Colors > Syntax > Preview area

DevCharly opened a new pull request #2642:
URL: https://github.com/apache/netbeans/pull/2642


   Scrolling using mouse wheel (or scroll arrow buttons) in "Options > Fonts & Colors > Syntax > Preview area" (select language "Yaml") is very slow (1-3 pixel) because a `JPanel` is used as view in a `JScrollPane`. Since `JPanel` does not implement the `javax.swing.Scrollable` interface, the scrollpane uses a unit increment of 1. So clicking scroll arrow arrows (or rotating mouse wheel one tick) scrolls only 1-3 pixel (depending on OS and scroll amount specified in OS settings).
   
   This fix simply sets unit increment to 10.
   
   This is similar to other code in NB:
   https://github.com/apache/netbeans/search?q=setUnitIncrement
   
   This affects all Lafs.
   
   For FlatLaf, this also improves smooth scrolling (using trackpad) reported here:
   https://issues.apache.org/jira/browse/NETBEANS-5025


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] DevCharly commented on pull request #2642: [NETBEANS-5025] Fix wheel/trackpad scrolling in Options > Fonts & Colors > Syntax > Preview area

Posted by GitBox <gi...@apache.org>.
DevCharly commented on pull request #2642:
URL: https://github.com/apache/netbeans/pull/2642#issuecomment-765008325


   Can we get this into 12.3?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] lkishalmi commented on pull request #2642: [NETBEANS-5025] Fix wheel/trackpad scrolling in Options > Fonts & Colors > Syntax > Preview area

Posted by GitBox <gi...@apache.org>.
lkishalmi commented on pull request #2642:
URL: https://github.com/apache/netbeans/pull/2642#issuecomment-765155350


   Approved, restarted the failing Travis job. I guess it will pass, you are free to tease and merge.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] neilcsmith-net merged pull request #2642: [NETBEANS-5025] Fix wheel/trackpad scrolling in Options > Fonts & Colors > Syntax > Preview area

Posted by GitBox <gi...@apache.org>.
neilcsmith-net merged pull request #2642:
URL: https://github.com/apache/netbeans/pull/2642


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] lkishalmi edited a comment on pull request #2642: [NETBEANS-5025] Fix wheel/trackpad scrolling in Options > Fonts & Colors > Syntax > Preview area

Posted by GitBox <gi...@apache.org>.
lkishalmi edited a comment on pull request #2642:
URL: https://github.com/apache/netbeans/pull/2642#issuecomment-765155350


   Approved, restarted the failing Travis job. I guess it will pass, you are free to rebase and merge.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] DevCharly commented on pull request #2642: [NETBEANS-5025] Fix wheel/trackpad scrolling in Options > Fonts & Colors > Syntax > Preview area

Posted by GitBox <gi...@apache.org>.
DevCharly commented on pull request #2642:
URL: https://github.com/apache/netbeans/pull/2642#issuecomment-765008325


   Can we get this into 12.3?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] DevCharly commented on pull request #2642: [NETBEANS-5025] Fix wheel/trackpad scrolling in Options > Fonts & Colors > Syntax > Preview area

Posted by GitBox <gi...@apache.org>.
DevCharly commented on pull request #2642:
URL: https://github.com/apache/netbeans/pull/2642#issuecomment-766086475


   > Approved, restarted the failing Travis job. I guess it will pass, you are free to rebase and merge.
   
   Have rebased it, but don't have yet commit permissions.
   @neilcsmith-net can you please merge it?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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