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] Zoom in / out menu and hotkey options in Linux / KDE do not change font size #1252

Open
1 task done
miranda opened this issue May 6, 2024 · 10 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@miranda
Copy link

miranda commented May 6, 2024

Non-ChatGPT bug

  • This issue does not occur on chat.openai.com and only occurs on this app.

Version

1.1.0

Bug description

The zoom options do not change font size. I can't figure out any way to change the font size and it is too small on a 4K monitor. I have tried both the AppImage and the AUR package.

OS

Arch Linux, KDE 6, X11

Environment

No response

@miranda miranda added the bug Something isn't working label May 6, 2024
@wanghao-SunSky
Copy link

MacBook Pro (15-inch, 2016) also encountered this issue.

@kinimokoena
Copy link

hello i have problem chat gpt is very law can you please assist me

@kinimokoena
Copy link

and always give wrong information

@adriandelgg
Copy link

I also can't zoom in and out anymore. It's extremely annoying.

@adriandelgg
Copy link

@miranda Did you figure it out?

@miranda
Copy link
Author

miranda commented May 7, 2024

@miranda Did you figure it out?

No... I don't think there is anything to figure out. Zoom just doesn't work. Seems like a bug.
I'm stuck using the website until this is fixed because I'm too blind for the font size.

@adriandelgg
Copy link

@miranda Did you figure it out?

No... I don't think there is anything to figure out. Zoom just doesn't work. Seems like a bug. I'm stuck using the website until this is fixed because I'm too blind for the font size.

Damn, I'm on the same boat..

@adriandelgg
Copy link

adriandelgg commented May 8, 2024

@miranda Did you figure it out?

No... I don't think there is anything to figure out. Zoom just doesn't work. Seems like a bug. I'm stuck using the website until this is fixed because I'm too blind for the font size.

Hey, I actually created a small fix to set the default zoom to any value you want! Here are the instructions:

  1. Go to "Control Center"
  2. Click on "Scripts"
  3. Edit main.js
  4. Insert this code at the bottom of the main.js file (set the zoom amount to whatever value you want. Note that it has to be enclosed in single '' or double "" quotes):
// zoomAmount must be a string percentage, e.g '150%'
function setDefaultZoom(zoomAmount) {
  const html = document.getElementsByTagName('html')[0];
  html.style.zoom = zoomAmount;
  window.localStorage.setItem('htmlZoom', zoomAmount);
}

setDefaultZoom('150%');
  1. Hit save and restart the app.

@miranda
Copy link
Author

miranda commented May 8, 2024

Hey, I actually created a small fix to set the default zoom to any value you want! Here are the instructions:

Awesome, thank you for this, I can finally use this app!

If that's all it takes to change the text size, maybe adding it in the control center would be an easier and better way to fix this bug?

@adriandelgg
Copy link

Hey, I actually created a small fix to set the default zoom to any value you want! Here are the instructions:

Awesome, thank you for this, I can finally use this app!

If that's all it takes to change the text size, maybe adding it in the control center would be an easier and better way to fix this bug?

Maybe, that would require more work though. I'm not a maintainer or contributor to this project, I just wanted to get the zoom working again lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants