feelfreelinux / WykopMobilny

Unofficial wykop.pl client for Android
MIT License
160 stars 49 forks source link

Double tap on entry opens two of the same activities #158

Open SezzArt opened 5 years ago

SezzArt commented 5 years ago

Double tapping on the entry opens two pages on a stack. Not reproducible 100% of the time

MBratkowski commented 5 years ago

@SezzArt Can you tell more about places where this bug is existing? Because I'm working on some similar thing

SezzArt commented 5 years ago

It was 4 months ago but i believe i was trying to open a post detail view and double tapped it by accident. it opened the same post twice one above the other, so when i destroyed one of them the other one was still there.

selfisekai commented 5 years ago

it happens on any entry/link list, like homepage, wykopalisko, microblog or my wykop. you just have to tap on the element twice very fast - there is a small lag between the tap and opening the activity. https://101010.pl/system/media_attachments/files/000/995/295/original/83e9912f5d625165.mp4?1556987076

many of the popular social apps have this problem too, including Twitter for Android

SezzArt commented 5 years ago

cant You use this one for a quickfix? FLAG_ACTIVITY_SINGLE_TOP

selfisekai commented 5 years ago

did you just say to quickfix on 4 months after opening the issue?

SezzArt commented 5 years ago

@rnickson i dont really get what You wanted to say by this. I just suggested an option that MIGHT work(i have no idea what the problem is) without spending time to investigate what the actual reason for this is is(therefor its a quickfix)