vigneshmanick opened a new issue, #5917:
URL: https://github.com/apache/netbeans/issues/5917

   ### Apache NetBeans version
   
   Apache NetBeans 17
   
   ### What happened
   
   select a code block and use the lightbulb icon to show code hints.  When the 
list of hints dialog is close to the bottom of the screen, the last item is not 
selected on mouse over. Keyboard selection works.
   
   ### How to reproduce
   
   ### Steps to reproduce
   Use the sample code below and make sure to set the scroll such that the 
hints dialog opens below the code and reaches till the end of the screen. The 
last item will not be selectable, if the scroll is adjusted then the last item 
is selectable again.
   
   ```java
   
   import java.util.Arrays;
   import java.util.Collection;
   
   public class HintsIssue {
   
       /**
        * @param args the command line arguments
        */
       public static void main(String[] args) {
           String[] arr_x = new String[]{"tom", "nam", "vam"};
           Collection<String> listA = Arrays.asList(arr_x);
           Collection<String> listB = Arrays.asList(arr_x);
           Collection<String> listC = Arrays.asList(arr_x);
   
           for (String string : listA) {
               System.out.println("Item: " + string);
               for (String string1 : listB) {
                   System.out.println("Item: " + string1);
                   for (String string2 : listC) {
                       if (string2.equals("nam")){
                           System.out.println("Match found");
                       }
                       System.out.println("Item: " + string2);
                   }
               }
           }
       }
   
   }
   
   ```
   
   #### Video that shows the behaviour
   
   [Video 5-05 at 
10.23.webm](https://user-images.githubusercontent.com/62500639/236411193-78045aa9-2e88-4257-bf14-2abfbbc311f3.webm)
   
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Red Hat Enterprise Linux Workstation release 7.9 (Maipo)
   
   ### JDK
   
   OpenJDK 64-Bit Server VM (build 17.0.3-internal+0-adhoc..src, mixed mode, 
sharing)
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


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

Reply via email to