Re: [SailfishDevel] cover stays after app has quitted

2013-08-29 Thread Reto Zingg

Hi,

On 29.08.2013 16:22, Wim de Vries wrote:

Hi all,
After quitting the app, very often, the cover is still there (sometimes
garbled).
It works ok when the shutDown function is called from the pull-down menu.


yes, that is a know bug. We call it the "dead cover bug". I think just 
this morning it got fixed (verification pending).


So it shold be fixed in one of the future release of the SDK.

br
Reto


(MyesNoDialog is used as a message Dialog).
QML:

Page..

  if (saveFailed)
   {
   var errorDialog = pageStack.push("MyesNoDialog.qml", {text :
"FATAL ERROR: CANNOT SAVE.\nSHUTTING DOWN\n"})
  errorDialog.accepted.connect(
  function()
 {
   myqquickview.shutDown()
 })
  errorDialog.rejected.connect(
  function()
 {
   myqquickview.shutDown()
 })
   }

C++ (myqquickview):

void MyQQuickView::shutDown()
{
qWarning() << "shutting down";
close();
}

Thanks.

___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list


[SailfishDevel] cover stays after app has quitted

2013-08-29 Thread Wim de Vries

Hi all,
After quitting the app, very often, the cover is still there (sometimes 
garbled).

It works ok when the shutDown function is called from the pull-down menu.
(MyesNoDialog is used as a message Dialog).
QML:

Page..

 if (saveFailed)
  {
  var errorDialog = pageStack.push("MyesNoDialog.qml", {text : 
"FATAL ERROR: CANNOT SAVE.\nSHUTTING DOWN\n"})

 errorDialog.accepted.connect(
 function()
{
  myqquickview.shutDown()
})
 errorDialog.rejected.connect(
 function()
{
  myqquickview.shutDown()
})
  }

C++ (myqquickview):

void MyQQuickView::shutDown()
{
qWarning() << "shutting down";
close();
}

Thanks.

___
SailfishOS.org Devel mailing list