-
Notifications
You must be signed in to change notification settings - Fork 35
Excessively zoomed-in page(s) #107
Comments
I have the same issue on https://www.three.co.uk/New_My3/My3_Home |
I also have this issue frequently (FP2, OTA-8). Device type: On an iphone it shows: It might thus be that some sites do not recognize the device as mobile and display a default Desktop version. |
Hm, I am not sure what's the best way to approach this, but what about this?
It seems to work so maybe someone could have a look, try to think of a better solution / tweak this one and merge it :). It can be downloaded and tested here: https://www.iubuntu.cz/apps/morph-browser-autozoom.click On pages like https://pedf.cuni.cz/ which are excessively zoomed in in the current Morph browser this seems to be a working workaround. |
2019-W41 I've tested this workaround by copying the I made some changes, this uses autozoom, only if no zoom settings for domain is saved. |
@jezek Thanks a lot. Yeah, I've noticed that too but you've been faster :) - I haven't had much time for that. Also your code seems more compact and nicer, so thank you for that. Anyway, I've also noticed (with my code, maybe your changes will fix that) that in some cases if I go to a certain page by clicking an |
I think we may want this in it as well:
Line 872 here: If you return from a zoomed out page to a certain page working well on mobile, it will not display it zoomed out too but in its correct or zoomed-in form right from the beginning. Regarding the thing I've mentioned earlier regarding zoom not being updated on page load if you go to the page e.g. through Google or so it seems that |
@zubozrout |
@jezek Thank you. I've just tested this and it seems to work really well. And I love the idea of having a switch for this in the settings :), great work 👍 |
@zubozrout I've made some tweaks, fixes and utilized your idea using onUrlChanged, to make autozoom more comfortable. Please check it in above mentioned branch and provide some insights, if something feels odd. Thank you. |
@jezek Yup, this feels a bit better I suppose :), thank you. |
interesting feature, maybe one small change request:
with
[edit: I have checked that onCurrentDomainChanged gets called just after onUrlChanged] maybe it is even possible to put the zoom related code from |
@balcy Good idea with the I also renamed the auto zoom feature, to fit to width and provided a button in the zoom menu. The automatic fit to width feature is now simplified and if enabled, it "launches" fit to width after page load, but only if no specific zoom is stored for domain. Any feedback? |
This is very nice :). I didn't now of But this works flawlessly to me, great job :) |
that is a QML feature: all properties with simple data types (e.g. string, bool, int) automatically trigger a changed signal that can be used. (for var it does not work automatically) |
Yup, of course. I know that but was somehow expecting the |
@jezek I think the code is quite nice to be left not-merged. Could you please create a pull-request for this so that maybe someone actually merges this? :) Unless of course there is some valid reason not to merge it ... |
@zubozrout I played, with the code, rewrote some former logic, fixed found old bugs and new emerged ones. Today I began test phase and made some final fixes. Only when I'm satisfied with my internal tests, I will write a PR with summary of what was done and why. If everything works right, tomorrow it's finished. ;) |
@giiba I think the excessive zoom is a bug in qt's web engine (this is maybe related https://bugreports.qt.io/browse/QTBUG-58290). A workaround is currently produced to automatically zoom to fit page width. |
Hello, there is at least one site, that is excessively zoomed in and can't be zoomed out.
This is very similiar to issue #12 (or perhaps the same), which is closed as solved.
The old browser in 15.04 (Oxide) got the scaling right. So, I think, it's a regression bug.
Device: FP2
OS: Ubuntu 16.04 (2018-W46)
Site: memrise.com
Maybe, there are more sites experiencing this zoom bug out there.
This topic is being discussed on this ubports forum.
The text was updated successfully, but these errors were encountered: