Soumya-Kushwaha / Web-Browser

personal web browser
MIT License
0 stars 1 forks source link

Issue target="_blank" , PyQt #1

Open CodeX-All opened 9 months ago

CodeX-All commented 9 months ago

Issue target="_blank" and website in web-view is small ( zoomed out )

ISSUE 1

It does not open external links: with target="_blank"

ISSUE 2

Page zoomed out too much , not give same view as other browsers.

Hope to see update

Soumya-Kushwaha commented 9 months ago

@CodeX-All Would you like to work on this?

CodeX-All commented 9 months ago

@CodeX-All Would you like to work on this?

Well i can help

For Issue 2 : it can be solved using this :

# Set the QT_AUTO_SCREEN_SCALE_FACTOR environment variable

import os
os.environ['QT_AUTO_SCREEN_SCALE_FACTOR'] = '1'

should be present before this, if i'm correct

if __name__ == "__main__":
    main()

That should solve display for all screens in correct size of current device resolution

for Issue #1 , believe or not , this my first 3 days in python