MagicSetEditor2
MagicSetEditor2 copied to clipboard
Set Symbol Inverted in Linux Compilation
What I did:
- Create a new MtG set using magicseteditor
- Switch to "set info" tab
- Press "edit symbol"
- Delete existing shape
- Create a small circle
- Store symbol
- Exit symbol editor
What I expected:
- Symbol is a small circle with a thin black or white outline, whose interior changes color with rarity
What I got:
- Symbol is a large square with no outline except for a small black or white circle in the middle, where the body of the square changes color with rarity
Basically, the rarity is drawn outside the shape, the outline is drawn inside the shape, and no border is drawn at all.
This appears to be a rendering issue, because set symbols created in my build of MSE2, then exported from MSE2 as .mse-set-symbol files, and shared with other users, functioned as expected for those other users. (i.e.: circle -> circle filled with rarity and outlined with black/white, rather than square with circle inside it)
Build: Self-compiled 2.1.2:
$ magicseteditor --version
Magic Set Editor
Version 2.1.2
OS: Linux Mint 20.2 (64-bit)
Library versions:
$ aptitude versions libwxgtk3.0-gtk3-dev
Package libwxgtk3.0-gtk3-dev:
i 3.0.4+dfsg-15build1 focal 500
$ aptitude versions libboost-dev
Package libboost-dev:
i 1.71.0.0ubuntu2 focal 500
$ aptitude versions libboost-regex-dev
Package libboost-regex-dev:
i 1.71.0.0ubuntu2 focal 500
$ aptitude versions libhunspell-dev
Package libhunspell-dev:
i 1.7.0-2build2 focal 500
The attached screenshot illustrates the results, using a small circle for the set symbol and a large circle for the masterpiece symbol, to demonstrate that the inner circle is not an outline, but rather a filled circle.

After much searching, I've found the source of this issue: wxWidgets, the UI library that MSE uses, is missing some features on Mac and GTK3 that are currently used by the symbol editor. As outlined here, many wxRasterOperationModes aren't supported on wxMac and wxGTK3, in particular two that the symbol editor makes heavy use of: wxAND and wxAND_INVERT. I believe it should be possible to fix this by creating workaround methods to be used on GTK3 and Mac in place of the current methods, which I think I could do, but I'd appreciate if someone with more experience with MSE's code weighed in first.
Note that no commits have been made to this repo in three years. The current community focus is on haganbmj/MagicSetEditor2.