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
Overlay refresh not erasing previous content #1976
Labels
bug
macro changes
This issue adds or changes macro functions. Extra work is required (testing, wiki, code editor)
tested
This issue has been QA tested by someone other than the developer.
Projects
Milestone
Comments
Issue appeared after switching to Java 14: https://stackoverflow.com/questions/62186782/javafx-webview-transparent-webview-keeps-old-content-drawn |
Merudo
added a commit
to Merudo/maptool
that referenced
this issue
Jun 4, 2020
- Fix new overlay with the same name not erasing the previous overlay drawn on the screen - Close RPTools#1976
PR #1983 fixes this. |
Merudo
added a commit
to Merudo/maptool
that referenced
this issue
Jun 4, 2020
- Replace the code to make WebPage invisible from reflection to invocation - Discussed in RPTools#1976
PR #1984 changes the reflection to invocation, which is faster, more modern, provides better error traces and is more secure. |
Tested. New content erases old content. |
Phergus
added
macro changes
This issue adds or changes macro functions. Extra work is required (testing, wiki, code editor)
tested
This issue has been QA tested by someone other than the developer.
labels
Jun 8, 2020
kwvanderlinde
added a commit
to kwvanderlinde/maptool
that referenced
this issue
Aug 14, 2023
The workaround was needed as old overlay contents were not being erased when the page background was transparent. That problem no longer seems to exist, so the workaround has been removed in favour of always setting a fully transparent background. This also seems to fix the blue flicker that has plagued overlays.
kwvanderlinde
added a commit
to kwvanderlinde/maptool
that referenced
this issue
Aug 14, 2023
The workaround was needed as old overlay contents were not being erased when the page background was transparent. That problem no longer seems to exist, so the workaround has been removed in favour of always setting a fully transparent background. This also seems to fix the blue flicker that has plagued overlays.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
macro changes
This issue adds or changes macro functions. Extra work is required (testing, wiki, code editor)
tested
This issue has been QA tested by someone other than the developer.
Describe the bug
Using
overlay
with the same name does not erase the content of the previous overlay. This leads to content being drawn on top of previous content.To Reproduce
Steps to reproduce the behavior:
[overlay("test"):{Old text}]
[overlay("test"):{New}]
Expected behavior
The previous content of the overlay should not be kept.
MapTool Info
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: