Closed sayboltm closed 3 years ago
What value does QT_QPA_PLATFORMTHEME
environment variable have? Also please post the value of XDG_CURRENT_DESKTOP
.
$QT_QPA_PLATFORMTHEME appears to be unset, and/or doesn't appear in env
desktop is GNOME
env | grep QT
returns only QT_IM_MODULE=ibus
running centOS 8 if that helps
Does it work if you unset XDG_CURRENT_DESKTOP
or set it to e.g. kde
?
Well that's certainly a weird one! Any luck with @10110111's suggestions?
I ran into some difficulty installing kde on my last known good kernel (working on display issues with latest one -- only one monitor at low resolution works), but in the process I tried simply using other desktops, so thanks for that!
Classic (X11 display server)
which results in:
XDG_CURRENT_DESKTOP=GNOME-Classic:GNOME
or
Standard (X11 display server) on Xorg
which results in
XDG_CURRENT_DESKTOP=GNOME
and
XDG_SESSION_dESKTOP=gnome-xorg
(vs just gnome
)
and I have all 3 monitors working, without this issue showing up. I do still get the message Gtk-Message: 11:45:17.481: GtkDialog mapped without a transient parent. This is discouraged.
It appears it does not like Wayland, though it was also working there, with additional warning on startup: edb.Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway
. I will just login using "Standard (X11 display server) on Xorg" in the future!
To reproduce this darkened screen and no dialogue, I login with Standard (Wayland)
, this only runs 2/3 monitors, so I drop a runlevel with systemctl isolate multi-user.target
, then startx manually, to get the 3rd monitor on. Janky procedure, I know, but I was just happy to get it to go so I could keep working with some semblance of my nice desktop back. Now I see Wayland must be causing some kind of problem with my gpu conf etc, PWM and temp not showing up right.
It is following this process the above issue occurs. I am not sure what would be different starting X that way, vs logging in using Classic (X11 display server)
or what appears to be identical but must not be, logging in using Standard (X11 display server) on Xorg
. I am new to centOS and aware that it is maybe not the best desktop candidate, but I wanted to try out RHEL flavor distro and GPU passthrough and figured what's the worst that can happen using as a desktop for a bit.
I'll close it, but happy to hear any other suggestions. Thanks for the help!
In fact, I wasn't suggesting to switch DE or windowing system, just to alter the environment variable for EDB — so that Qt didn't try to use its GTK plugin.
So, ignore what I said, during my tests, I did not load the executable I was working on
However, @10110111 is right, and that unsetting the environment variable EDB sees does change its behavior! I had to not just unset, but set to 'kde' (or presumably something else), else it would still default to trying to use its GTK plugin. I do not see the GTK message, and the window does not go dark and not work. It looks older, but works!
It looks older, but works!
Could you show a screenshot? Qt doesn't seem to have an "old" style by default...
Sure! .. Looks 'old' but I like its behavior more
I have seen it a few times in different programs, and prefer its "windows-like" behavior of being able to press the first few letters of a folder instead of search, and had not yet had the time to get to 'nice to have' customization like that.
Actually, this appears to be the standard dialogue used by EDB, or whatever powers it within (QT?). With my default CentOS config, I prefer this dialogue EDB uses over the "system dialogue", which looks 'newer' but starts searching with hit or miss results instead of going to first letter of folder I press. Example of 'new' dialogue:
I don't recall the state of this, I think changing the XDG_CURRENT_DESKTOP
helped, though I did that through changing my desktop at the login screen of CentOS. My system became unstable after a kernel update, losing my monitors and delaying my progress posting back here. sorry about that. I will close! (and post back if have more details)
Using EDB v1.3.0, commit 39925b68375be2bb70a9df539d897c944a3c4d1b
I feel right at home in EDB, or at least as home as it seems I can be, jumping back into this hobby/work after totally removing Windows and its familiar but dated PE32s from my life. Thanks for making something that looks and sort of feels like Olly DBG!
When in breakpoint manager (Ctrl+B),
clicking "Import Breakpoints" results in the dialogue going dark,
and the console in the background shows:
Gtk-Message: 11:45:17.481: GtkDialog mapped without a transient parent. This is discouraged.
I can provide additional details if needed. I installed using the very nice and simple standard build in the readme. Any help or ideas appreciated!