pawelsalawa / sqlitestudio

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

Can colour settings be comprehensively addressed to make SQLitestudio's UI pleasant to work in? #5080

Open audiomuze opened 3 weeks ago

audiomuze commented 3 weeks ago

Details

What does one need to do t have Fusion Dark appear in the dropdown list?

I have 31 code windows in SQLitestudio, which are all stored in unintelligible form in /home/username/.config/SalSoft/SQLiteStudio/settings3. If I delete the settings3 file (and lose all my code windows and snippets) Sqlitestudio fires up in dark mode. It feels to me like there's a bug in color theme support - there's no way to get any current config reset that reverts to following the desktop theme, without losing all prior work or spending time copying all code windows and code snippets into a different environment so they can be copied back again. Why can't the snippets and code windows live as a SQLite table rather than be obfuscated and tied to some binary configuration file format?

Here's what the defaults look like when running on Breeze Dark in KDE Plasma:

image

image

There a way to get rid of that horrible, eye burning white background and set it to something less offensive? And why is the coding window background so dark with no way to change the background in any of the windows?

The light theme is very hard on light sensitive eyes and the dark theme is great for browsing but terrible for coding.

I don't think it's a theme or Qt thing - I'm running many apps that leverage Qt and SqliteStudio is the only app with these colour issues.

To add to this, if one then exits Sqlitestudio and fires it up again it comes back in blinding white: image

Steps to reproduce

Delete the config file and fire up sqlitestudio in KDE Plasma environment running in dark mode. It's likely pervasive to all environments because it relates to SQLitestudio colour settings specifically. Fire it up and it comes up in Dark mode. Do some work, exit Sqlitestudio and fire it up again and it comes up stark white as shown above.

Operating system

Linux

SQLiteStudio version

3.4.4

pawelsalawa commented 3 weeks ago

Let's continue discussion at https://github.com/pawelsalawa/sqlitestudio/discussions/4992#discussioncomment-11064841 and eventually we get back here with conclusion.

pawelsalawa commented 3 weeks ago

The problem is well explained in comment https://github.com/pawelsalawa/sqlitestudio/discussions/4992#discussioncomment-11083489

pawelsalawa commented 1 week ago

I will postpone it to 3.5.0, as theming & system colors is 99% handled much better in Qt 6.4. SQLiteStudio 3.4.x still uses Qt 5.12, while SQLiteStudio 3.5.0 is aimed to use Qt 6.