SLADE
SLADE copied to clipboard
Preferences window covers whole UI
SLADE Version: (3.2.4) (d05af4bd) Operating System: ( Debian 11)
Issue Details: When activating preferences from the Edit menu, the screen turns white (fullscreen) and no buttons appear. Slade is unusable then and needs to be killed. But without setting preferences i can't configure it.
I built slade from source since i couldn't install it by the package manager for my distro.
Libraries:
$ readelf -d slade | grep NEEDED
0x0000000000000001 (NEEDED) Shared library: [libz.so.1]
0x0000000000000001 (NEEDED) Shared library: [libbz2.so.1.0]
0x0000000000000001 (NEEDED) Shared library: [libGL.so.1]
0x0000000000000001 (NEEDED) Shared library: [libGLU.so.1]
0x0000000000000001 (NEEDED) Shared library: [libEGL.so.1]
0x0000000000000001 (NEEDED) Shared library: [libwayland-egl.so.1]
0x0000000000000001 (NEEDED) Shared library: [libwayland-client.so.0]
0x0000000000000001 (NEEDED) Shared library: [libX11.so.6]
0x0000000000000001 (NEEDED) Shared library: [libXxf86vm.so.1]
0x0000000000000001 (NEEDED) Shared library: [libSM.so.6]
0x0000000000000001 (NEEDED) Shared library: [libgtk-3.so.0]
0x0000000000000001 (NEEDED) Shared library: [libgdk-3.so.0]
0x0000000000000001 (NEEDED) Shared library: [libpangocairo-1.0.so.0]
0x0000000000000001 (NEEDED) Shared library: [libcairo.so.2]
0x0000000000000001 (NEEDED) Shared library: [libgdk_pixbuf-2.0.so.0]
0x0000000000000001 (NEEDED) Shared library: [libgio-2.0.so.0]
0x0000000000000001 (NEEDED) Shared library: [libpangoft2-1.0.so.0]
0x0000000000000001 (NEEDED) Shared library: [libpango-1.0.so.0]
0x0000000000000001 (NEEDED) Shared library: [libgobject-2.0.so.0]
0x0000000000000001 (NEEDED) Shared library: [libglib-2.0.so.0]
0x0000000000000001 (NEEDED) Shared library: [libfontconfig.so.1]
0x0000000000000001 (NEEDED) Shared library: [libpcre2-32.so.0]
0x0000000000000001 (NEEDED) Shared library: [libpng16.so.16]
0x0000000000000001 (NEEDED) Shared library: [libjpeg.so.62]
0x0000000000000001 (NEEDED) Shared library: [libtiff.so.5]
0x0000000000000001 (NEEDED) Shared library: [libdl.so.2]
0x0000000000000001 (NEEDED) Shared library: [libfreeimage.so.3]
0x0000000000000001 (NEEDED) Shared library: [libsfml-system.so.2.5]
0x0000000000000001 (NEEDED) Shared library: [libsfml-audio.so.2.5]
0x0000000000000001 (NEEDED) Shared library: [libsfml-window.so.2.5]
0x0000000000000001 (NEEDED) Shared library: [libsfml-network.so.2.5]
0x0000000000000001 (NEEDED) Shared library: [libftgl.so.2]
0x0000000000000001 (NEEDED) Shared library: [liblua5.4.so.0]
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libmpg123.so.0]
0x0000000000000001 (NEEDED) Shared library: [libfluidsynth.so.2]
0x0000000000000001 (NEEDED) Shared library: [libstdc++.so.6]
0x0000000000000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
In issue https://github.com/sirjuddington/SLADE/issues/1351 it was suggested setting GDB Backend to x11 ($GDK_BACKEND=x11 slade) but this did not change anything.
I stumbled over this issue a few weeks ago. Today i gave it a new try witht the latest master, but the result was the same.
What else can i try?
Hmm I'm not sure what would cause something like that, is there anything in the log file? (~/.slade3/slade3.log)
Sorry for the late response...
This is the content of the log, nothing strange here
~/.slade3$ cat slade3.log
16:39:21: [Info] SLADE - It's a Doom Editor
16:39:21: [Info] Version 3.2.4
16:39:21: [Info] Written by Simon Judd, 2008-2023
16:39:21: [Info] Compiled with wxWidgets 3.2.2 and SFML 2.5.1
16:39:21: [Info] --------------------------------
16:39:21: [Info] Loading configuration
16:39:21: [Info] Loading resources
16:39:21: [Info] Looking for #include entry '/' / 'actions/main.cfg'
16:39:21: [Info] Looking for #include entry '/' / 'actions/aman.cfg'
16:39:21: [Info] Looking for #include entry '/' / 'actions/arch.cfg'
16:39:21: [Info] Looking for #include entry '/' / 'actions/pgfx.cfg'
16:39:21: [Info] Looking for #include entry '/actions/' / 'pgfx_brush.cfg'
16:39:21: [Info] Looking for #include entry '/' / 'actions/aelt.cfg'
16:39:21: [Info] Looking for #include entry '/' / 'actions/txed.cfg'
16:39:21: [Info] Looking for #include entry '/' / 'actions/anim.cfg'
16:39:21: [Info] Looking for #include entry '/' / 'actions/swch.cfg'
16:39:21: [Info] Looking for #include entry '/' / 'actions/ppal.cfg'
16:39:21: [Info] Looking for #include entry '/' / 'actions/data.cfg'
16:39:21: [Info] Looking for #include entry '/' / 'actions/ptxt.cfg'
16:39:21: [Info] Looking for #include entry '/' / 'actions/mapw.cfg'
16:39:21: [Info] Looking for #include entry '/actions/' / 'mapw_general.cfg'
16:39:21: [Info] Looking for #include entry '/actions/' / 'mapw_show.cfg'
16:39:21: [Info] Looking for #include entry '/actions/' / 'mapw_line.cfg'
16:39:21: [Info] Looking for #include entry '/actions/' / 'mapw_sector.cfg'
16:39:21: [Info] Looking for #include entry '/actions/' / 'mapw_script.cfg'
16:39:21: [Info] Looking for #include entry '/' / 'actions/scrm.cfg'
16:39:21: [Info] Loading icons
16:39:21: [Info] Loading entry types
16:39:21: [Info] Loading text languages
16:39:21: [Error] Can't convert "F1" to a double (stod)
16:39:21: [Info] Loading text style sets
16:39:21: [Info] Loading colour configuration
16:39:21: [Info] Loading base resource
16:39:21: [Info] Base resource loaded
16:39:21: [Info] Loading game configurations
16:39:21: [Info] SLADE Initialisation OK
Maybe the window info in slade.cfg is strange:
window_info
{
main 2880 1578 4014 194
map 1024 768 0 0
mobjprops_Sector 3840 2032 3840 26
prefs 12800 9392 150 54
}
// End Configuration File
Current screen resolution on main screen is 3840x2160, the second screen has an equal resolution.
Hmm yeah that prefs window size is way too large :P Try changing it to something smaller and see if it works. First 2 numbers are size, second 2 are position on the screen.
I have the same issue, but luckily I have a second monitor on a different offset so I can drag the preferences panel to the right a bit and see the buttons.
Workaround when you don't see the buttons: Ctrl-Enter activates the default button ("OK")
Furthermore, every toolbar and every dialog is 2x bigger than necessary. It's like the 200% scaling is applied twice. Many dialogs and panels can't be shrunk because of their runtime MinSize.