Open JayDi85 opened 5 months ago
Moving dialog over skip buttons also produce a slow performance:
Well, it's not skip buttons -- it's action buttons in lobby's games history -- if you minimize it by splitter then there aren't any performance problems on dialog moving:
There are multiple problems with too much paint calls. Example:
setOpaque(true)
for some non transparent components);MageDialog.java
contains some TODOs from 1f3fad65944f76c81f31cd7dc21381313f35a623).
How to reproduce:
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).