Vieb icon indicating copy to clipboard operation
Vieb copied to clipboard

set the default zoom level

Open yanwh0311 opened this issue 1 year ago • 10 comments

how to set the default zoom level

yanwh0311 avatar Apr 06 '23 10:04 yanwh0311

Currently there is no setting for this, but it could be added. It does remember the zoom level per domain, but the fixed default is the default zoom of 100%.

Jelmerro avatar Apr 06 '23 11:04 Jelmerro

Any update on this issue ? Using --ash-host-window-bounds="1920x1080" and --force-scale-factor=1.5 seems to do nothing

abvee avatar Jul 07 '23 17:07 abvee

I have made the interface scaling into a proper supported Vieb flag named --interface-scale, hence the force-scale-factor not working, could you try that too? We do definitely still need a proper default zoom, but at least having that flag there should work as a workaround.

Jelmerro avatar Jul 07 '23 20:07 Jelmerro

Trying with --interface-scale has some strange results, atleast for me on my tiling window manager.

It might work for someone with a floating window manager ? When I set the --interface-scale to 2: image

It will yell at me that my argument is unsupported if I put --interface-scale=1.5, but it does allow for a scale less than 1. that does the opposite of when I set it to 2, and shrinks the entire thing:

image

The problem is that these windows are not floating or anything, they are tiled like that:

image

I can't seem to get it scale properly either. Setting it to floating mode does not help and I can only resize it to a certain extent before it won't go any further:

Floating mode

image

abvee avatar Jul 10 '23 08:07 abvee

I think this might be an issue with the window manager indeed. Do you have similar issues with other Electron applications when using the force-scale-factor flag?

Jelmerro avatar Jul 10 '23 15:07 Jelmerro

The only other electron application I have is Discord, and neither --force-scale-factor nor --interface-scale affect it at all. Discord does have an option for increasing scaling in settings though. I have no problem with scaling at all in Discord

I should mention I have only tested the --interface-scale option on the newest version with the AppImage. Still doesn't work as intended.

abvee avatar Nov 08 '23 11:11 abvee