StrokesPlus.net
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Lemon Juice  
#1 Posted : Monday, March 4, 2019 1:33:29 PM(UTC)
Lemon Juice

Rank: Member

Reputation:

Groups: Approved
Joined: 2/16/2019(UTC)
Posts: 18

I've encountered a peculiar problem in Vivaldi browser and I'm not sure if the bug exists in S+ or in Vivaldi. I have history back and forward gestures defined as
Code:
 sp.SendVKey(vk.BROWSER_BACK);
and
Code:
sp.SendVKey(vk.BROWSER_FORWARD);
respectively. For some strange reason Vivaldi moves by two history items except one, always skipping one page in history. I've tried Chrome, Firefox and Opera and everywhere this seems to work correctly except Vivaldi. Of course, I've turned off native mouse gestures in Vivaldi.

I've come up with a workaround to use ALT+LEFT/RIGHT keystrokes instead and then Vivaldi behaves good - like
Code:
sp.SendKeys("%{LEFT}");


I wonder what kind of key is pressed by vk.BROWSER_BACK and vk.BROWSER_FORWARD? I first thought they would be equivalent to back and forward buttons that some mice have. But I have a mouse with such buttons and using them in Vivaldi works correctly so it must be something different.

I first used vk.BROWSER_XXX keystrokes because they were the default ones set in S+ (if I remember well) but they seem not to be working universally.
Rob  
#2 Posted : Monday, March 4, 2019 2:28:45 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 52
United States

Was thanked: 10 time(s) in 5 post(s)
I think it's a Vivaldi bug

https://forum.vivaldi.ne...erly-on-random-occasions

https://forum.vivaldi.ne...85/mouse-backwards-twice

https://forum.vivaldi.ne...th-side-mouse-buttons/14

Those virtual keys are built into Windows, not something I made custom for StrokesPlus.net, their intent is to navigate forward and backward, like in File Explorer and other apps that support the key codes.

Edited by user Tuesday, March 5, 2019 4:30:50 AM(UTC)  | Reason: I can't spell

Lemon Juice  
#3 Posted : Monday, March 4, 2019 2:58:34 PM(UTC)
Lemon Juice

Rank: Member

Reputation:

Groups: Approved
Joined: 2/16/2019(UTC)
Posts: 18

Thanks, I think you are right. It didn't occur to me to search Vivaldi forums...

I had my mouse navigation buttons set to "4th button" and "5th button" - whatever that means - they seem to navigate back and forward and work correctly in Vivaldi. But when I tried changing them to "Internet back/forward" then the problem started happening - they must be the equivalent of vk.BROWSER_BACK/FORWARD. Everything is clear now.
Rob  
#4 Posted : Monday, March 4, 2019 4:08:43 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 52
United States

Was thanked: 10 time(s) in 5 post(s)
Yeah 4th and 5th button are considered the X1 and X2 mouse buttons respectively, which are different than browser back/forward

You can see a big list of all the virtual key codes here, if you care at all :)

http://nehe.gamedev.net/..._virtualkey_codes/15009/
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.