Lbry-desktop: Back Button - Does not ignore double clicks on destination buttons

Created on 30 Aug 2017  路  11Comments  路  Source: lbryio/lbry-desktop

Steps to reproduce

1.Click Settings Button (Top Right)
2.Click Home Button twice
3.Click Back

Expected behaviour

Should go back to the setting folder and not stay on the home screen.

Actual behaviour

Does not move off the home screen. I see this as a problem as i know a lot of people who will double click icons and buttons.

App | 0.15.0rc2
-- | --
0.15.1
3.1.6
[email protected]

Linux (Linux-4.4.0-92-generic-x86_64-with-Ubuntu-16.04-xenial)

All 11 comments

If you click back again, does it go back to settings? I think it tracks each click, so it would need to take into account the scenario where the same button /action /screen is clicked twice.

Yes it goes back if you double click, like you say it's tracking each click and does not account for a double click. I know my parents and a few of my friends always double click nearly everything lol.

yes youd have implement a check to see if there are two in a row that are the same and filter them out so its a list with no repeats

essentially double clicking logs it twice in the history so you have to press the back button twice to get passed the doubled up history

I can not reproduce this bug on the latest version pushed to git.

well thats where the issue arises @gyroninja simply press any menu button twice and youll have to press the back button twice or the first time it reloads the page again cause you clicked twice and it logged it to history twice

@gyroninja @MSFTserver The new history logic don't allow history duplication ->
https://github.com/lbryio/lbry-app/blob/master/ui/js/reducers/navigation.js#L47

@tzarebczan I guess you can close this
unless someone can recreate the bug in master, but that should be impossible :stuck_out_tongue:

I am getting this problem on the 0.15.0.rc2 version released yesterday. Has the fix been implemented since then?

This was real. Fixed in a911336

working in version 0.15.0

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kauffj picture kauffj  路  14Comments

jsigwart picture jsigwart  路  12Comments

tzarebczan picture tzarebczan  路  17Comments

tzarebczan picture tzarebczan  路  13Comments

tumispro picture tumispro  路  16Comments