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 8: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 9:28:45 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,066
United States
Location: Tampa, FL

Thanks: 22 times
Was thanked: 315 time(s) in 276 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 11:30:50 AM(UTC)  | Reason: I can't spell

Lemon Juice  
#3 Posted : Monday, March 4, 2019 9: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 11:08:43 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,066
United States
Location: Tampa, FL

Thanks: 22 times
Was thanked: 315 time(s) in 276 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/
remizik  
#5 Posted : Sunday, October 3, 2021 10:11:59 AM(UTC)
remizik

Rank: Newbie

Reputation:

Groups: Approved
Joined: 10/1/2021(UTC)
Posts: 3
France

Originally Posted by: Lemon Juice Go to Quoted Post

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



Hi,
3 years later, i'm having the same issue :(
your workaround works but adds a little bit of lag on the mouse, which is not very pleasant to use.
Are you still using that setup ?

Thanks


randomConstant  
#6 Posted : Thursday, October 7, 2021 9:44:29 PM(UTC)
randomConstant

Rank: Member

Reputation:

Groups: Approved
Joined: 7/17/2021(UTC)
Posts: 20

Thanks: 5 times
Was thanked: 1 time(s) in 1 post(s)
I think those jumps you are talking about might be because of the vivaldi's fast forward and backward option (called rewind history iirc), a variant of normal navigation which moves between website domains instead of individual pages. So all URLs of same website such as youtube.com are skipped with you press back.

Edited by user Thursday, October 7, 2021 9:46:23 PM(UTC)  | Reason: Not specified

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.