Difference in behavior between one-column and two-column mode

Support requests, bug reports, etc. go here. Dedicated servers / VDS hosting only
hg8739
Bear Rating Trainee
Bear Rating Trainee
Posts: 18
Joined: 11 Jul 2013, 16:20

Difference in behavior between one-column and two-column mode

Postby hg8739 » 06 Apr 2016, 05:06

When swiping to read messages using the Android client on my phones/tablets, I often run into a blank message suggesting that the client is trying to download additional messages. Depending on the speed and quality of the internet connection, this may take one second or up to 30 seconds. If I during this period try to swipe to the next message and the client is used in landscape mode on the tablet (i.e., two-column mode), it resets to the first older unread message (assuming that I have temporarily skipped some older messages to read later in the session) rather than wait for the new messages to finish downloading and then continuing to the next new message. This does not happen when I use the client in portrait mode (i.e., one-column mode) where it continues to the next new message which is the expected, logical behavior.

This difference in behavior seems like a bug. I much prefer the behavior in one-column mode.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Difference in behavior between one-column and two-column mode

Postby fox » 06 Apr 2016, 09:24

this sounds like a lot of fun to try to replicate on a virtual device

my advice would be not fucking with it while it loads things or get a less shit internet connection tbh, we're talking like a few KBs of gzipped JSON, it usually takes less than a second or so to load new headlines for me

i mean i might take a look but no promises

also, the logic wrt headline loading shouldn't really depend on controls being visible on screen so i'm not sure why this happens

darknite323
Bear Rating Trainee
Bear Rating Trainee
Posts: 40
Joined: 30 Oct 2013, 15:46

Re: Difference in behavior between one-column and two-column mode

Postby darknite323 » 07 Apr 2016, 16:29

FYI: I've had this happen to myself quite a few times, but only recently realised that it happens when it's trying to load the next set of articles.

TL;DR I'm seeing this as well, and over a LAN. Is there possibly a way to just make it not move if the articles are not loaded yet? That might be the easiest way to stop it from happening.

More specific info below. (brace for wall of text)



So just to make sure we're talking about the same issue, this is exactly what I'm doing/seeing.

I'm using the Android APP on a Samsung Tablet (running KitKat/4.4).
Using it in landscape mode, swiping left to move from article to article.
When I get to the last one on the currently loaded list of 30 sometimes after swiping again I see the articles appear after the one I was in for a split second, but I'm then sent back to the start of the list, so back to article 1 from 30, instead of going to article 31.
I used to rapidly swipe through articles I don't care about, thinking that was the cause I slowed down, waiting about one second between each swipe to make sure, but on my network I doubt it would take that long to pull down the new articles.

Note: I'm seeing this even when running it over my home Wireless network, both the Server and Tablet on the same network, which has fantastic coverage, not dropouts/blackspots (you get what you pay for :) )
My server is running on an i7 proc with 12GB of RAM so don't thing it's a slowness issue on the server, it is very snappy when in the normal web interface in Firefox. Although I am running it on MySQL with the performance schema disabled, possibly that is contributing? Since my DB is only for a single user I didn't see the need for SQL to chew up over 600MB of RAM.

Wondering also why it goes back to the first article, since when you get to the end of the articles list it doesn't go anywhere when swiping left, I kind of expect it to just not go anywhere.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Difference in behavior between one-column and two-column mode

Postby fox » 07 Apr 2016, 16:39

>TL;DR I'm seeing this as well, and over a LAN. Is there possibly a way to just make it not move if the articles are not loaded yet? That might be the easiest way to stop it from happening.

what like block the ui? no way in hell

gat
Bear Rating Trainee
Bear Rating Trainee
Posts: 9
Joined: 11 Apr 2016, 15:46

Android App - small issue in Landscape view

Postby gat » 11 Apr 2016, 15:59

Hi.

Great job with Tiny Tiny RSS, Server and client.

I just report one tiny issue in Android App when we use it in landscape mode.

By default, the app load 20 articles (i did'nt count but it seems to be).

No problem by reading all the article except for the last one of theses 20 articles.

In fact, when the last one is displayed, the system go for 20 articles again (to refresh the small view) and then go immediately to the first of these.
So the last articles of each series is not readable (except if you read very very fast :)).

I don't know if it's clear but if it's not, i can to try to do better.

Thanks again for theses developpements,

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Android App - small issue in Landscape view

Postby fox » 11 Apr 2016, 16:16


gat
Bear Rating Trainee
Bear Rating Trainee
Posts: 9
Joined: 11 Apr 2016, 15:46

Re: Android App - small issue in Landscape view

Postby gat » 11 Apr 2016, 16:26

Sorry, it's the same issue.

But, for me, it's not relative to the network speed.

It's happening all the time when i reach the last item of each set.

We can close this topic if you prefer and switch to the other.

Thanks for you support.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Android App - small issue in Landscape view

Postby fox » 11 Apr 2016, 16:32

yeah i guess it's something going wrong with the way UI works in tablet mode

just wanted to confirm it's not something else

gat
Bear Rating Trainee
Bear Rating Trainee
Posts: 9
Joined: 11 Apr 2016, 15:46

Re: Android App - small issue in Landscape view

Postby gat » 11 Apr 2016, 16:38

Great.
I can do more tests if you need so.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Android App - small issue in Landscape view

Postby fox » 11 Apr 2016, 23:21

alright, let's summarize:

1. you have the app open in landscape mode on a tablet
2. you navigate using the RIGHT fragment: the pager
3. when you reach the end (bottom of the left fragment is also reached) and new articles are loaded left fragment is auto-scrolled to the top
4. however, if you navigate using the left fragment i.e. by picking and choosing headlines, UI works normally

correct?

also: i've merged the topics on this issue

gat
Bear Rating Trainee
Bear Rating Trainee
Posts: 9
Joined: 11 Apr 2016, 15:46

Re: Difference in behavior between one-column and two-column mode

Postby gat » 11 Apr 2016, 23:38

Yes, it is exactly that.
There is no problem when you click and slide down on the left side.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Difference in behavior between one-column and two-column mode

Postby fox » 11 Apr 2016, 23:40

well i've managed to replicate it but hell if i know why it happens

so its kinda mixed news i guess

UPD: well the cause was me being an idiot, which is, i know, not surprising

no longer relevant, nvm

since you guys are using it on a tablet i'd like you to see if i broke anything with the fix for this issue, try it on phones too if possible

darknite323
Bear Rating Trainee
Bear Rating Trainee
Posts: 40
Joined: 30 Oct 2013, 15:46

Re: Difference in behavior between one-column and two-column mode

Postby darknite323 » 12 Apr 2016, 08:25

Thanks fox, I was hoping this wasn't just me, but you never know, everyone's setup is different.

I'll give it a go later today and let you know, I've got a couple of big feeds I can very easily test it on.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Difference in behavior between one-column and two-column mode

Postby fox » 12 Apr 2016, 09:01

i've uploaded the beta to play store btw

gat
Bear Rating Trainee
Bear Rating Trainee
Posts: 9
Joined: 11 Apr 2016, 15:46

Re: Difference in behavior between one-column and two-column mode

Postby gat » 12 Apr 2016, 11:32

I will try this as soon as the Play Store give me an update.


Return to “Support”

Who is online

Users browsing this forum: No registered users and 8 guests