pawelsalawa / sqlitestudio

A free, open source, multi-platform SQLite database manager.
https://sqlitestudio.pl
Other
4.52k stars 565 forks source link

Changing Style under Look & Feel|Style causes crash when selecting Apply or OK buttons #4200

Open audiomuze opened 3 years ago

audiomuze commented 3 years ago

Details

Per subject

Steps to reproduce

Per subject

Operating system

Linux, KDE Plasma

SQLiteStudio version

3.3.3

pawelsalawa commented 3 years ago

Is it from any style to any style? Or just 1 particular combination?

audiomuze commented 3 years ago

Oxygen > Breeze = crash Breeze > Fusion = crash Fusion > Oxygen = OK Oxygen > Windows = crash Windows > Oxygen = OK Oxygen > Fusion = crash Fusion > Breeze = crash

So it pretty much looks going from anything to Oxygen should be fine, but going from Oxygen to another theme causes a crash.

pawelsalawa commented 3 years ago

It crashes, but then you can start the app and the changed theme is applied without any issues?

audiomuze commented 3 years ago

It would appear so, yes.

pawelsalawa commented 3 years ago

Okay, thanks. I will try to reproduce it when I sit down to fix it (I'll need to install Kubuntu, or other distro with KDE). Are you using ubuntu, or...? I want to replicate the closest environment to yours.

pawelsalawa commented 2 years ago

I've tried reproducing it but I could not. I also noticed that you mention Oxygen and Breeze styles. This indicates that you are using OS's version of Qt, not the one distributed with SQLiteStudio, while the application was compiled with its own Qt (which is distributed alongside). Well, maybe not entire Qt, but only Qt style plugins, which then is incompatible with Qt that SQLiteStudio has and therefore it crashes.

That's only my best guess, because I cannot reproduce it (on Ubuntu with KDE installed & running).