s4gh opened a new pull request, #8961:
URL: https://github.com/apache/netbeans/pull/8961

   **Tooltip which shows variable value during debugging no longer hides 
automatically after variable loses focus**
   
   When you are in debug mode and want to see value for some variable you can 
find this in "variables" view. Alternatively you can hover over a variable and 
tooltip is displayed. Which is more convenient for some quick checks. However, 
if the variable is not of primitive type you need to click "expand" icon in 
tooltip to see any data. For example, if you variable is instance of a class - 
you will see has code in popup and to see any property defined for this class 
instance you need to click that expand icon.
   
   Unfortunately in NetBeans sometimes it is quite tricky to put your mouse 
into popup before it is automatically closed. This popup is automatically 
closed when variable for which it is display looses focus. See attached video.
   
https://github.com/user-attachments/assets/ef11db79-794b-4788-bc75-7c9cb03cfa3f
   Sometimes this behavior is really annoying because you can't catch popup 
before it is closed.
   This change makes popup "heavy" or "sticky" so it does not close 
automatically depending on focus or mouse movement. There are two ways to close 
it:
   * press "esc" on keyboard
   * click somewhere outside of popup in code editor window.
   
   As for me this behavior is much more convenient. I've checked idea ide - and 
they have very similar behavior.
   Also this behavior is aligned with other "mode" of this popup - when you 
expend popup to see details - there is popup window which also does not close 
depending on focus or mouse movement - but closes if you "click outside" or 
press "esc".
   
   Video with behavior after the change:
   
https://github.com/user-attachments/assets/185b0ca7-9356-4a9e-baee-377883d82844
   
   So as for me this is a good change - imho it makes this functionality more 
convenient to use and it makes it consistent with other "mode" for same popup.
   
   ### PR approval and merge checklist:
   
   1. [ ] Was this PR [correctly 
labeled](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=240884239#PRsandYouAreviewerGuide-PRtriggeredCIJobs(conditionalCIpipeline)),
 did the right tests run? When did they run?
   2. [ ] Is this PR 
[squashed](https://cwiki.apache.org/confluence/display/NETBEANS/git%3A+squash+and+merge)?
   3. [ ] Are author name / email address correct? Are 
[co-authors](https://docs.github.com/en/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors#creating-co-authored-commits-on-the-command-line)
 correctly listed? Do the commit messages need updates?
   3. [ ] Does the PR title and description still fit after the Nth iteration? 
Is the description sufficient to appear in the release notes?
   
   If this PR targets the delivery branch: [don't 
merge](https://cwiki.apache.org/confluence/display/NETBEANS/Pull+requests+for+delivery).
 ([full wiki 
article](https://cwiki.apache.org/confluence/display/NETBEANS/PRs+and+You+-+A+reviewer+Guide))
   
   </details>


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