Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Huge font #3042

Closed
1 task done
oliversen opened this issue May 25, 2022 · 6 comments
Closed
1 task done

[Bug]: Huge font #3042

oliversen opened this issue May 25, 2022 · 6 comments
Labels
gui solution fix This thread contains a solution to an issue which could be useful for others

Comments

@oliversen
Copy link

What did you do?

I opened DB Browser for SQLite

What did you expect to see?

What did you see instead?

DB Browser has a huge font. I've checked the font scaling and its on 100%. My monitor resolution is 1280x1024.
I experimented with three environment variables:

  • QT_AUTO_SCREEN_SCALE_FACTOR
  • QT_SCALE_FACTOR
  • QT_SCREEN_SCALE_FACTORS

But it didn't work

Untitled-1
.

DB4S Version

3.12.2

What OS are you seeing the problem on?

Windows

OS version

Windows 10

Relevant log output

No response

Prevention against duplicate issues

  • I have searched for similar issues
@chrisjlocke
Copy link
Member

Hi @oliversen .
For some reason, this issue got missed. Going through some old issues, and noticed this never got acknowledged. Apologies.
Is this issue now resolved, or did you abandon DB4S as you couldn't get it working?
Either way, you should be able to change the default font and settings in the 'Preferences'. I'm guessing its using some weird default value...

@oliversen
Copy link
Author

@chrisjlocke, the problem is not solved. Changing the font settings didn't help.
sqlite_bug

@lucydodo
Copy link
Member

lucydodo commented Jun 3, 2023

That's weird.. Why not try a nightly builds?
You can download nightly builds from following: https://nightlies.sqlitebrowser.org/latest/

@chrisjlocke
Copy link
Member

chrisjlocke commented Jun 3, 2023

OK. DB4S can only get its settings from the registry. Can you open regedit and rename the 'Computer\HKEY_CURRENT_USER\SOFTWARE\sqlitebrowser\sqlitebrowser' leg to something else (prefix it with an X or something).
If you need detailed instructions on that, let me know. (actually, just put them below)

I experimented with three environment variables:

Can you run a command prompt and type

set >set.txt

You can then drag that 'set.txt' file into here to attach it.

Renaming the registry leg

Close DB4S.
Open Regedit
Navigate to 'Computer\HKEY_CURRENT_USER\SOFTWARE\sqlitebrowser\sqlitebrowser'

image

Right click on the 'sqlitebrowser' leg and click 'Rename'.

image

Prefix the text with an x and press [Enter]. Restart DB4S.

Reverting the edit

image

After restarting DB4S, a new 'sqlitebrowser' leg would have been created. Press [F5] in regedit to show the new leg.

image

Click on this new leg and press the [Delete] button. Click 'Yes' on the prompt to delete the key.
Click on 'xsqlitebrowser' and rename it back to 'sqlitebrowser'.

@oliversen
Copy link
Author

oliversen commented Jun 6, 2023

@chrisjlocke Thanks for your help, problem found! It lies in the Tahoma font, which Sqlite Browser cannot display correctly in Windows 10. I have Tahoma listed in "HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics" for display in the OS instead of the standard Segoe UI. Interestingly, there are no problems with Tahoma in Windows XP...

@chrisjlocke
Copy link
Member

Thanks for reporting back.
Didn't think of changing that setting. Weird that that font causes problems.

@chrisjlocke chrisjlocke added gui solution fix This thread contains a solution to an issue which could be useful for others labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gui solution fix This thread contains a solution to an issue which could be useful for others
Projects
None yet
Development

No branches or pull requests

3 participants