fix: Allow scrolling on edge of the window#8461
fix: Allow scrolling on edge of the window#8461rstanuwijaya wants to merge 44 commits intozen-browser:devfrom
Conversation
|
Could you please make it follow zen's code style? View other files such as "glance" on how to properly inject scripts into sites. Thanks! |
|
I changed the implementation to use actor model, and somehow it now works on Google and Youtube! Also, I'm experiencing high CPU usage when enabling split tab, but it seems like the issue also exists in 0f37364? (although I haven't tried clean build). If you also experience this issue, please let me know. Thanks! |
mr-cheffy
left a comment
There was a problem hiding this comment.
Nice! Looks much better now.
I'm going to ask you to please remove the log functions, and that would pretty much be it!
|
Done! I'm considering to add a feature to change selected tab as well (in split view), but it'll be on a separate PR. |
|
Could you explain that a bit more? 😅 Also, please run |
|
I added horizontal trigger as well. Should be ready now! |
|
Hi @mauro-balades , is there anything else you want me to modify? Im hoping this can get merged soon :) |
|
No, thank you. I'm just waiting for a new release cycle |
|
Hi, I was trying to merge the dev branch but now I can't run the tests :( Can anyone help to see the issue? |
|
@rstanuwijaya did you import the en-US packs correctly? |
|
Ah I see.. I forgot to pull l10n last time. Now it's on sync with dev again. |
There was a problem hiding this comment.
Do I need to import this file anywhere? Last time it seems to be imported from features.inc
| modifiers, | ||
| 0, | ||
| 0, | ||
| 0 |
There was a problem hiding this comment.
Is aOptions = 0 ok?
It seems like this corresponds to these flags:
const unsigned long WHEEL_EVENT_CAUSED_BY_NO_LINE_OR_PAGE_DELTA_DEVICE = 0x0001;
const unsigned long WHEEL_EVENT_CAUSED_BY_MOMENTUM = 0x0002;
const unsigned long WHEEL_EVENT_CUSTOMIZED_BY_USER_PREFS = 0x0004;
// If any of the following flags is specified this method will throw an
// exception in case the relevant overflowDelta has an unexpected value.
const unsigned long WHEEL_EVENT_EXPECTED_OVERFLOW_DELTA_X_ZERO = 0x0010;
const unsigned long WHEEL_EVENT_EXPECTED_OVERFLOW_DELTA_X_POSITIVE = 0x0020;
const unsigned long WHEEL_EVENT_EXPECTED_OVERFLOW_DELTA_X_NEGATIVE = 0x0040;
const unsigned long WHEEL_EVENT_EXPECTED_OVERFLOW_DELTA_Y_ZERO = 0x0100;
const unsigned long WHEEL_EVENT_EXPECTED_OVERFLOW_DELTA_Y_POSITIVE = 0x0200;
const unsigned long WHEEL_EVENT_EXPECTED_OVERFLOW_DELTA_Y_NEGATIVE = 0x0400;
|
I wish this PR could be merged, maybe ping cheffy for a review |
|
It just feels like quite the complicated fix for just 4 pixels of extra scroll... I'll see what other alternatives there could be and let you know |
|
No worries, i also think it's quite a lot of changes for a minor feature. Just ping me if you want me to resolve merge conflicts later on. Thanks! |
Addressing: #6979
Screen.Recording.2025-05-21.at.12.40.44.AM-2.mp4
Current issues: