Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow text selection in flamegraph view. #874

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Conversation

ghemawat
Copy link
Contributor

Previously, the click handler would fire after some text was selected with the mouse. This would switch pivots and forget the selected text.

We now switch the pivot only if the mouse did not move significantly between mouse-down and mouse-up.

Fixes #870.

Previously, the click handler would fire after some text was selected
with the mouse. This would switch pivots and forget the selected text.

We now switch the pivot only if the mouse did not move significantly
between mouse-down and mouse-up.

Fixes google#870.
@ghemawat ghemawat requested a review from aalexand June 24, 2024 16:29
@codecov-commenter
Copy link

codecov-commenter commented Jun 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.98%. Comparing base (0ed6a68) to head (dacbc3b).
Report is 27 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #874      +/-   ##
==========================================
+ Coverage   66.86%   66.98%   +0.11%     
==========================================
  Files          44       44              
  Lines        9824     9793      -31     
==========================================
- Hits         6569     6560       -9     
+ Misses       2794     2780      -14     
+ Partials      461      453       -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@aalexand aalexand merged commit 27f5697 into google:main Jun 25, 2024
31 checks passed
@ghemawat ghemawat deleted the stackselect branch June 25, 2024 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New flamegraph cannot copy strings
3 participants