We have moved to a new Sailfish OS Forum. Please start new discussions there.
328

Avoid reloading the whole page every time you switch to another browser tab

asked 2013-12-24 18:59:01 +0300

chemist gravatar image

updated 2018-07-16 00:58:22 +0300

Spam Hunter gravatar image

We need browser-settings to have tabs not auto-reload when switched. Or any other nice idea of not reloading tabs "always".

EDIT:

Reopened since in update10 the tabs are reloading again when switching. Step backwards, pity.

Edit #2 (Jan 2015):

Arbitrary reloading highjacks processing time and redundantly consumes battery. It forces users to wait for pageloads before doing anything. Reloading prevents loading in the background and if present at all should be off by default and user-configurable in the basic settings.

Edit #3(Jul 2018) ~ 2.2.0.29

Still the page has to reload when switching tabs.

edit retag flag offensive close delete

Comments

10

This would be especially beneficial for anyone on limited data connections, or when you're in an area with poor/no mobile signal.

fivepointsquare ( 2013-12-24 19:01:53 +0300 )edit
30

not to forget, when you're in an input mask, and you go to another browser tab to look something up, and you go back, the input page is reloaded and all previously typed is gone.

Low ( 2013-12-24 19:38:13 +0300 )edit
4

I agree, and I think Jolla should implement the following:

A setting to control how many 'Most Recent Tabs" should be kept in memory: 1 - 9

The default could be a suitably low number such as 3 tabs (or even 2).

This would help avoid the large browser memory footprint mentioned by @carsten-munk

caa ( 2013-12-24 19:57:51 +0300 )edit
11

I would also appreciate an option to open pages in new windows instead of tabs. That made N9 so fluid to browse the web compared to any other OS.

Marko ( 2013-12-24 23:37:37 +0300 )edit
7

The problem is also important for dynamic pages like Facebook - the feed can be very different upon refresh and scroll position is also important. It's very likely that once you click on an article and go back to "like" the friend's post, you won't be able to find it.

Nux ( 2013-12-25 22:37:12 +0300 )edit

2 Answers

Sort by » oldest newest most voted
49

answered 2013-12-26 16:33:46 +0300

stezz gravatar image

The reason why this is like this at the moment is purely memory optimization. Gecko (web engine that we use in browser) does not optimize well memory consumption when multiple tabs are open. If you remember the first versions of iPad had the same behavior for the same reason. We will work during next year in optimizing Gecko memory consumption and make them real tabs.

edit flag offensive delete publish link more

Comments

42

please at least prioritize remembering scroll position, not only in tabs but when navigating back and forth

qwazix ( 2013-12-26 21:28:39 +0300 )edit

No idea how that could be done when reloading the whole tab but I will ask ;)

stezz ( 2013-12-26 23:04:52 +0300 )edit
9

It should be as easy as storing the body.scrollTop/Left value along with the url before navigating away, and restoring it at the onload event of the page upon return. See how the N9 browser handles going back in history. It does reload the page but still restores the scroll position.

qwazix ( 2013-12-27 02:10:01 +0300 )edit
10

Yes, remembering position is possible and makes a lot of sense. In any case even after we have real tabs implemented in low-memory situations we may want to close real tab and just remember the URL and position.

veskuh ( 2013-12-27 11:26:52 +0300 )edit
8

My typical usecase: entering tram or bus and opening several pages then after a few minutes I change to subway, where I read all the previously loaded pages.

With Jolla: nothing to read due to poor connection. Worked fine on n9/00 and even firefox on Galaxy Nexus can handly easily 15-20 open tabs.

fl ( 2013-12-30 06:29:13 +0300 )edit
47

answered 2013-12-25 12:08:36 +0300

qwazix gravatar image

updated 2013-12-25 12:09:09 +0300

I know that tabs are used by many people like temporary bookmarks, but tabs are there to switch between. If they are being reloaded they are not tabs anymore, they are bookmarks, and we already have bookmarks.

An acceptable workaround for me would be to allow multiple instances in the browser with X-Nemo-Single-Instance=no so that we can emulate fremantle/harmattan behaviour.

edit flag offensive delete publish link more

Comments

10

Being used to the N9 behaviour of the browser, at least I vote for multible browser windows, instead of one browser window with multible tabs.

(and on more than one occasion, I've looked up information in one N9 browser, to peek-input in another N9 browser :-) )

Maybe tabs OR browser as an option?

phle ( 2013-12-25 14:47:08 +0300 )edit
19

Not only tabs reload, they lose scrolling position. Not good.

qwazix ( 2013-12-25 20:06:40 +0300 )edit

That above or at least some option to add pages like Facebook to main screen and open them in separate browser window.

Nux ( 2013-12-25 22:38:46 +0300 )edit

I'm new to SailfishOS and stumbled upon this question because I'm quite annoyed of the forced tab reloading on the tablet. Makes it impossible to preload some webpages and read them e.g. on the bus where there is no wifi. I'm also used to the N9 behaviour of multiple browser windows that you can switch between.

fpe ( 2016-03-07 15:12:15 +0300 )edit
Login/Signup to Answer

Question tools

Follow
33 followers

Stats

Asked: 2013-12-24 18:59:01 +0300

Seen: 4,937 times

Last updated: Jul 16 '18