GUI: bad game performance (fps) on opened deck editor in background
- Dominant language
- Java
- Stars
- 2.4k
- Forks
- 940
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 160
Description
How to reproduce:
* open game and try tap/untap on attack - it works smooth; same for dialog moving over battlefield like disconnect;
* open deck editor with few cards in it;
* open game and try tap/untap on attack - now it will have bad performance due slow rendering;
Possible reason: xmage uses shared deck panel (pane) for all game panels and other GUI components, so swing somehow try to render all elements, even hidden under another elements. Can be related to wrong usages of invalidate, repaint or transparent background (the last one most perspective, see https://github.com/magefree/mage/issues/12261#issuecomment-2120352023).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.