ChatGPT icon indicating copy to clipboard operation
ChatGPT copied to clipboard

[Bug] Zoom in / out menu and hotkey options in Linux / KDE do not change font size

Open miranda opened this issue 9 months ago • 11 comments

Non-ChatGPT bug

  • [X] 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 avatar May 06 '24 01:05 miranda

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

wanghao-SunSky avatar May 06 '24 06:05 wanghao-SunSky

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

kinimokoena avatar May 06 '24 16:05 kinimokoena

and always give wrong information

kinimokoena avatar May 06 '24 16:05 kinimokoena

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

adriandelgg avatar May 07 '24 13:05 adriandelgg

@miranda Did you figure it out?

adriandelgg avatar May 07 '24 13:05 adriandelgg

@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.

miranda avatar May 07 '24 19:05 miranda

@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 avatar May 08 '24 14:05 adriandelgg

@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.

adriandelgg avatar May 08 '24 14:05 adriandelgg

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?

miranda avatar May 08 '24 16:05 miranda

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

adriandelgg avatar May 08 '24 18:05 adriandelgg

@adriandelgg
Thank you bro! Great solution. Finally, i dont need to squeeze to see the characters.

tyePhDCandy avatar Sep 07 '24 04:09 tyePhDCandy