#72 Layout jumps on Windows without Scrollbar present

Closed
opened 11 months ago by jhabdas · 9 comments

As reported in chat. Consider applying fix via script using navigator.platform and matchMedia for screen.

As reported in chat. Consider applying fix via script using [`navigator.platform`](https://devdocs.io/dom/navigatorid/platform) and [`matchMedia`](https://devdocs.io/dom/window/matchmedia) for `screen`.
jhabdas added the
bug
label 11 months ago
jhabdas added the
help wanted
label 11 months ago
jhabdas commented 11 months ago
Owner

Closed in #73

Closed in #73
jhabdas commented 11 months ago
Owner

Reopened for addition of object detection and PE/GD.

Reopened for addition of object detection and PE/GD.
jhabdas commented 11 months ago
Owner

Observed off-screen content appearing JIT with a flick gesture on mobile which is unexpected and a little disorienting. Need to determine if a Brave feature to conserve memory or bug in paint/reflow.

Observed off-screen content appearing JIT with a flick gesture on mobile which is unexpected and a little disorienting. Need to determine if a Brave feature to conserve memory or bug in paint/reflow.
jhabdas commented 11 months ago
Owner

Display issue observed: https://mega.nz/#!6uIhQSYI

Decryption key:

!V_fQQEa-OysFriqV8LE0dOSUYWhXoQCLh3QTMQpSX3A
Display issue observed: https://mega.nz/#!6uIhQSYI Decryption key: ```sh !V_fQQEa-OysFriqV8LE0dOSUYWhXoQCLh3QTMQpSX3A ```
jhabdas commented 11 months ago
Owner

This seems to be a browser thing to conserve memory and it happens on pages and was observed outside Brave with and without the calc property on the layout.

This seems to be a browser thing to conserve memory and it happens on pages and was observed outside Brave with and without the `calc` property on the layout.
jhabdas commented 10 months ago
Owner

Reopened. There’s a clear (and sometimes almost imperceptible) rightwards jump of layout as the calc occurs in Brave from time to time and that needs adjustment.

Reopened. There's a clear (and sometimes almost imperceptible) rightwards jump of layout as the `calc` occurs in Brave from time to time and that needs adjustment.
jhabdas commented 10 months ago
Owner

The jump has been seen in Brave Android but that browser got a 22% speed bump in the last version and jumping only seen a handful of times over the last few weeks so it’s about but not that annoying.

Additional testing reveals other sluggishness in Moun Brave (affected UA) possibly due to its Electron-forked wrapper (pretty cool btw) causing performance bottlenecks in conjunction with V8.

Testing on Via, a lightweight Chinese browser reveals a slight delay on first page load but the layout hasn’t jumped as observed here. Not sure if it’s a browser quirk some profiling and CBT should help reveal that.

The jump has been seen in Brave Android but that browser got a 22% speed bump in the last version and jumping only seen a handful of times over the last few weeks so it's about but not _that_ annoying. Additional testing reveals other sluggishness in Moun Brave (affected UA) possibly due to its Electron-forked wrapper (pretty cool btw) causing performance bottlenecks in conjunction with V8. Testing on Via, a lightweight Chinese browser reveals a slight delay on first page load but the layout hasn't jumped as observed here. Not sure if it's a browser quirk some profiling and CBT should help reveal that.
jhabdas commented 10 months ago
Owner

Tested on DDG browser and it also doesn’t have the problems of muon. Via had its own problems. Closing until this resurfaces.

Tested on DDG browser and it also doesn't have the problems of muon. Via had its own problems. Closing until this resurfaces.
jhabdas commented 7 months ago
Owner

document.defaultView.scrollbars.visible
document.defaultView.styleMedia

`document.defaultView.scrollbars.visible`<br> `document.defaultView.styleMedia`
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.