bugfix/21131-boost-navigator-clip #21206
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixed #21131, missing navigator series after zooming in boost mode.
A follow-up to #21131 :
It comes from this commit. Tested by reverting changes and solved the issue. Why it happens? Because we have just one pane and navigator. Code executes twice, for each series:
<group>
)<image>
)The problem is: navigator series is still rendered in the series-group. That means it has two clip-rects, it's own and one leaked from main pane/series:
![Zrzut ekranu 2024-05-22 o 16 05 48](https://private-user-images.githubusercontent.com/1453926/332830009-7035d22e-3f60-452f-856a-1830fb8dab40.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1MjE1MzMsIm5iZiI6MTcyMDUyMTIzMywicGF0aCI6Ii8xNDUzOTI2LzMzMjgzMDAwOS03MDM1ZDIyZS0zZjYwLTQ1MmYtODU2YS0xODMwZmI4ZGFiNDAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDlUMTAzMzUzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGQzNzZiNzUzM2M3ODM5MGRiYzg1OWRlZWY0NjMxY2ExOWNmOGFkYzc1ODY0MDZiNzljM2RjNmJjODFhZjJmZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.UOJMKghV79ZbowurzPUCWyCBhsZ4vIK37oFdOo81mcA)
I don't quite understand why it's better to clip the target group @TorsteinHonsi - what is a mousewheel zoom preview? Something in HC Maps? If we don't want to revert the changes, then my suggestion is this PR: make an exception when the navigator exists. The condition is not perfect, for example, Navigator can exist in a form of a solo Scrollbar (and zero series), but is good enough.