Same timer and on-demand popup for all OS#1533
Conversation
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
This PR makes tooltip popups use the same macOS-style “on-demand creation with a timer” behavior across Windows/Linux to avoid slow UI construction.
Changes:
- Removed OS-specific tooltip binding logic and applied delayed tooltip creation universally.
- Stopped pre-creating tooltips on non-macOS during initialization.
- Standardized tooltip teardown behavior to destroy the tooltip on hide/leave.
cf6d013 to
37c4503
Compare
Coverage Report for CI Build 24790957227Warning Build has drifted: This PR's base is out of sync with its target branch, so coverage data may include unrelated changes. Coverage increased (+0.8%) to 95.782%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats💛 - Coveralls |
|
@amilcarlucas , I used a scroll method to load a small amount of parameters. The scroll is currently the most efficient method i have explored and tested to make it fast till now Though i think its a bypass and will have a few bugs itself, but works perfectly for the time being, will test other methods also but it is much faster than the original way. Working perfectly on Windows and Mac, Linux testing and updating tests are still left , ill update it shortly Please let me know if anything can be improved. |
41260cc to
33a0a9c
Compare
|
@amilcarlucas , any changes needed in this? |
|
Thanks, it looks good, I will need some time to review and I want to benchmark it a bit. In the future I plan to use the new python 3.15 unintrusive profiler to find bottlenecks without requiring code instrumentation. |
|
Using copilot in VS code you can add this github pull request as reference and tell it to validate the review comments and address the valid ones. |
|
Thanks, I have never used copilot in VS but ill try it |
…ter table Signed-off-by: Omkar Sarkar <omkarsarkar24@gmail.com>
Signed-off-by: Omkar Sarkar <omkarsarkar24@gmail.com>
Signed-off-by: Omkar Sarkar <omkarsarkar24@gmail.com>
Signed-off-by: Omkar Sarkar <omkarsarkar24@gmail.com>
33a0a9c to
d2e9c58
Compare
|
I rebased it, force pushed it and tested it. It works great!!!! |
|
Thank You so much. |
|
Adressed copilot review. |
Signed-off-by: Omkar Sarkar <omkarsarkar24@gmail.com>
5b47095 to
ef4326f
Compare
|
@amilcarlucas , Glad this worked well and also thank you very much for the appreciation on discord, is it ok to close this one. |
|
Yes, we'll continue this on #1573 I can only test it on linux and windows. Can you test it on macOS? |
Sure ill do it and let you know :) |
Description
Fix: #1520
Parameter ediotr builder is slow on windows and linux, applying the same logic for popups as on MacOS to the other OS's
Checklist
git commit --signoff)Testing
Describe how you tested these changes:
WIP
I want to test this on all the three OS's to see any edge cases.