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

Revision history [back]

click to hide/show revision 1
initial version

posted 2014-06-11 01:05:06 +0300

[Bug] Browser, jquery having trouble after screen lock

I noticed that webpages with jquery doesn't work properly after the screen have been locked. Certain functions that modifies the DOM such as append(), fadeOut(), fadeIn(), slideUp() etc does not work after screen has been locked. For example, if an element is to be faded out using $('someobject').fadeOut(); this does not work anymore after the screen has been locked. It works properly if the browser app is slided away and back again, but as soon as the screen gets locked, the webpage have to be reloaded in order to work properly.

This phenomena can be created by doing: - Open a URL that uses jquery. For example jolla.com - Try press the menu button a few times at the top right corner (verify that it works) - Press the "lock-screen"-button - Go back to the browser - Try pressing the menu button again (first time seems to work, but then it stops working)

[Bug] Browser, jquery having trouble with effects after screen lock

I noticed that webpages with jquery doesn't work properly after the screen have been locked. Certain functions that modifies the DOM effects such as append(), fadeOut(), fadeIn(), slideUp() etc does not work after screen has been locked. For example, if an element is to be faded out using $('someobject').fadeOut(); this does not work anymore after the screen has been locked. It works properly if the browser app is slided away and back again, but as soon as the screen gets locked, the webpage have to be reloaded in order to work properly.

This phenomena can be created by doing: - Open a URL that uses jquery. For example jolla.com - Try press the menu button a few times at the top right corner (verify that it works) - Press the "lock-screen"-button - Go back to the browser - Try pressing the menu button again (first time seems to work, but then it stops working)

[Bug] Browser, jquery having trouble with effects after screen lock

I noticed that webpages with jquery doesn't work properly after the screen have been locked. Certain effects such as fadeOut(), fadeIn(), slideUp() etc does not work after screen has been locked. For example, if an element is to be faded out using $('someobject').fadeOut(); this does not work anymore after the screen has been locked. It works properly if the browser app is slided away and back again, but as soon as the screen gets locked, the webpage have to be reloaded in order to work properly.

This phenomena can be created recreated by doing: - doing:

  • Open a URL that uses jquery. For For example jolla.com - jolla.com
  • Try press the menu button a few times times at the top right corner (verify that that it works) - works)
  • Press the "lock-screen"-button - "lock-screen"-button
  • Go back to the browser - browser
  • Try pressing the menu button again again (first time seems to work, but then then it stops working)

[Bug] Browser, jquery having trouble with effects after screen lock

I noticed that webpages with jquery doesn't work properly after the screen have been locked. Certain effects such as fadeOut(), fadeIn(), slideUp() etc does not work after screen has been locked. For example, if an element is to be faded out using $('someobject').fadeOut(); this does not work anymore after the screen has been locked. It works properly if the browser app is slided away and back again, but as soon as the screen gets locked, the webpage have to be reloaded in order to work properly.

EDIT: setInterval() seems to stop working after screen lock aswell.

This phenomena can be recreated by doing:

  • Open a URL that uses jquery. For example jolla.com
  • Try press the menu button a few times at the top right corner (verify that it works)
  • Press the "lock-screen"-button
  • Go back to the browser
  • Try pressing the menu button again (first time seems to work, but then it stops working)

[Bug] Browser, jquery having trouble with effects after screen lock

I noticed that webpages with jquery doesn't work properly after the screen have been locked. Certain effects such as fadeOut(), fadeIn(), slideUp() etc does not work after screen has been locked. For example, if an element is to be faded out using $('someobject').fadeOut(); this does not work anymore after the screen has been locked. It works properly if the browser app is slided away and back again, but as soon as the screen gets locked, the webpage have to be reloaded in order to work properly.

EDIT: setInterval() seems to stop working after screen lock aswell.aswell. EDIT2: Seems like the root cause for malfunction of jquery effects might originate from that setTimeout and setInterval doesn't work after screen lock.

This phenomena can be recreated by doing:

  • Open a URL that uses jquery. For example jolla.com
  • Try press the menu button a few times at the top right corner (verify that it works)
  • Press the "lock-screen"-button
  • Go back to the browser
  • Try pressing the menu button again (first time seems to work, but then it stops working)

[Bug] Browser, jquery having trouble with effects after screen lock

I noticed that webpages with jquery doesn't work properly after the screen have been locked. Certain effects such as fadeOut(), fadeIn(), slideUp() etc does not work after screen has been locked. For example, if an element is to be faded out using $('someobject').fadeOut(); this does not work anymore after the screen has been locked. It works properly if the browser app is slided away and back again, but as soon as the screen gets locked, the webpage have to be reloaded in order to work properly.

EDIT: setInterval() seems to stop working after screen lock aswell. aswell.

EDIT2: Seems like the root cause for malfunction of jquery effects might originate from that setTimeout and setInterval doesn't work after screen lock.

[Bug] Browser, jquery having trouble with effects after screen lock

I noticed that webpages with jquery doesn't work properly after the screen have been locked. Certain effects such as fadeOut(), fadeIn(), slideUp() etc does not work after screen has been locked. For example, if an element is to be faded out using $('someobject').fadeOut(); this does not work anymore after the screen has been locked. It works properly if the browser app is slided away and back again, but as soon as the screen gets locked, the webpage have to be reloaded in order to work properly.

EDIT: setInterval() seems to stop working after screen lock aswell.

EDIT2: Seems like the root cause for malfunction of jquery effects might originate from that setTimeout and setInterval doesn't work after screen lock.