[SailfishDevel] Proposal for mailing list moderators

2014-07-16 Thread Developer Care
Ahoy,

Following persons are proposed to be moderators for this mailing list from 
community point of view:

· Thomas B. Rücker, Mer/Nemo community background, has been chairing 
community meetings in IRC and IRL

· Andrea Bernabei,  Mer/Nemo community background, active Sailfish 
community member

If no objections raised before 22th of July  I take it as an acceptance and get 
moderator rights to  Thomas and Andrea.

Br,
Iekku Pylkkä
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Qt 5.2 in devel

2014-07-16 Thread Timo Jyrinki
2014-07-07 23:37 GMT+03:00 Robin Burchell robin.burch...@jolla.com:
 On the bright side, I¹m fairly confident that future upgrades will be less
 painful, as part of the pain was also on our side in that we rushed a few
 things to get to market last year, and we paid the price in doing that
 work properly.

I'd also say it's probable. Ubuntu had a similar huge
stabilizing/patching/backporting period with Qt 5.2.1 earlier for its
phone/tablet images, but everything was upstreamed to 5.3.0+. Now 5.3
has seemed great without too many patches and it was much easier
switch than to 5.2.1 (added with ~60 patches). But I wouldn't ever
consider doing two steps at once for a product that is in customers'
hands, and a heavily patched 5.2 will bring a lot of the benefits of
5.3 anyway.

My feeling is that the biggest growing pains for this kind of system
wide extensive Qt 5 usage are now resolved, thanks to efforts from all
parties involved. I hope 5.4 and onwards won't break anything big :)

-Timo

ps. I'm using this opportunity to thanks for Tahkalampi, awesome release!
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] A welcome dialog and pageStack's operation in progress.

2014-07-16 Thread Marcin M.
I'd like to open a welcome dialog at startup which can be disabled by a
user.

Page
{
id: mainPage
function openWelcomeDialog()
{
var component = Qt.createComponent(WelcomeDialog.qml)
var popup = component.createObject(mainPage)
popup.open()
}

Component.onCompleted: openWelcomeDialog()
// ...
}

In fact

[W] unknown:90 - file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.js:90:
Error: Cannot push while operation is in progress: push

happens.


What's done wrong?
--
Marcin
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] A welcome dialog and pageStack's operation in progress.

2014-07-16 Thread Andrey Kozhevnikov

do not use onCompleted in this case. use status == PageStatus.Active instead

16.07.2014 14:58, Marcin M. ?:
I'd like to open a welcome dialog at startup which can be disabled by 
a user.


Page
{
id: mainPage
function openWelcomeDialog()
{
var component = Qt.createComponent(WelcomeDialog.qml)
var popup = component.createObject(mainPage)
popup.open()
}

Component.onCompleted: openWelcomeDialog()
// ...
}

In fact

[W] unknown:90 - 
file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.js:90: Error: Cannot 
push while operation is in progress: push


happens.


What's done wrong?

--
Marcin


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] How to get dconf list of sub-items with MGConfItem?

2014-07-16 Thread Эльмира

How to get dconf list of sub-items with MGConfItem?

listDirs() method showing following warnings: http://paste.kde.org/p1ircugku
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


[SailfishDevel] Could not resolve the prototype ‘TextBaseItem’ of ‘TextBase’. (M301)

2014-07-16 Thread Andreas Heil
Hi all,

I recently started developing for SailfishOS using the latest SDK on Mac OSX. 

Unfortunately, I encountered an issue trying to use the TextField control in 
QML. 

Qt creator shows a 

Could not resolve the prototype ‘TextBaseItem’ of ‘TextBase’. (M301) 

error. I meanwhile drilled down TextBase.qml where Qt Creator tells 

Unknown Component. (M300) 

Any hints on this issue are appreciated. At the moment I have no idea where to 
look at. Including QtQuick.Control 1.0 in the QML file did not work either as 
supposed in another thread of this mailing list. 

Regards,
Andreas

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Support for Xwayland in Lipstick?

2014-07-16 Thread Chris Mailer
I don't know if I got you right. Does that mean that if I'd build the
current X11 release on SailfishOS I'd be able to run X11-apps on
SailfishOS as lipstick already supports Xwayland? Or is it only
possible to run X11 apps remotely (using e.g. ssh -X)?
Thanks a lot,

 Chris

On Wed, Jun 18, 2014 at 6:33 PM, martin brook
martin.brook...@googlemail.com wrote:
 Chris Hi,

 I have run xterm using xwayland on qml-compositor in the past




 On Wed, Jun 18, 2014 at 10:44 AM, Chris Mailer chris.newsm...@gmail.com
 wrote:

 Since Xwayland recently made it into X11[1,2], I only wonder if it is
 also supported by lipstick or if weston is the only compositor to
 support Xwayland to date?
 Thanks in advance,

  Chris

 [1] http://wayland.freedesktop.org/xserver.html
 [2]
 http://cgit.freedesktop.org/xorg/xserver/commit/?id=6e539d8817f738289dc2dea13d0720116287ab9d
 ___
 SailfishOS.org Devel mailing list
 To unsubscribe, please send a mail to
 devel-unsubscr...@lists.sailfishos.org



 ___
 SailfishOS.org Devel mailing list
 To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] How to get dconf list of sub-items with MGConfItem?

2014-07-16 Thread Andrey Kozhevnikov
showing child items is not implemented, only child dirs function is 
available.

if you're interested i can share class from my project replacing MGConfItem

03.07.2014 23:29, Эльмира пишет:

How to get dconf list of sub-items with MGConfItem?

listDirs() method showing following warnings: 
http://paste.kde.org/p1ircugku

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to 
devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Sailfish OS SDK July update - VirtualBox 4.3.14 for Windows broken

2014-07-16 Thread Kimmo Lindholm
FYI

When installing SDK, I updated also the VirtualBox to latest version, which was 
not so good decision...

Seems that VirtualBox 4.3.14 for Windows is broken. Use 4.3.12 with SDK (or 
some other version)

Some more here: https://forums.virtualbox.org/viewtopic.php?f=6t=62597 - at 
least I got similar errors when starting merSDK. After downgrading, all works 
ok.

-kimmo



-Original Message-
From: devel-boun...@lists.sailfishos.org 
[mailto:devel-boun...@lists.sailfishos.org] On Behalf Of Juha Kallioinen
Sent: 14. heinäkuuta 2014 18:27
To: Sailfish OS Developers
Subject: [SailfishDevel] Sailfish OS SDK July update available tomorrow 12:00 
UTC

Hello again,

Tomorrow (July 15th) at 12:00 UTC we will publish new installers and 
package repositories for our Sailfish OS SDK version Alpha-1407-Qt5.

If you already have an existing Alpha-Qt5 SDK installed you should see 
the Updates Available icon in Qt Creator. If you don't have a previous 
SDK installation you can get the latest installer from 
http://www.sailfishos.org.

It is recommended to uninstall the old SDK and download a new installer.

SDK content has been updated to match Jolla Release 1.0.8.19. Please see 
below for detailed information of the changes.

A couple of things you should be aware of:
- As before, in this update the build engine, emulator and targets are 
re-installed so you will lose all changes you may have made in those - 
however, if your application packaging is done correctly, rebuilding 
your projects should reinstall the packages you have been using.
- Any customization done to SDK (adding new package repositories, adding 
custom targets, additional source paths) will be removed during the 
installation process so make your own backup of those before starting 
the update.
- If you import existing projects made with a previous version of the 
Sailfish OS SDK, make sure to select the correct kit in the project 
configuration step. Both ARM and i486 kits are available.
- Windows users need to install VC10 runtime from 
http://www.microsoft.com/en-us/download/confirmation.aspx?id=8328 or the 
Installer will ask for admin rights during installation.
- Package repository contents have been updated and consequently using a 
previous SDK version with these package repositories is not supported.
- Supported host platforms can be found from: 
https://sailfishos.org/alpha_qt5_sdk_release_notes.html
- For more information, please see the SDK Alpha-Qt5 known issues list 
at: https://sailfishos.org/wiki/SDK_Alpha_Qt5_Known_Issues.

This is mainly a housekeeping release and here's the short summary of 
changes:

SDK IDE (Qt Creator)
- Fix bugs related to handling symlinked home directory or project 
directory. This change affects only Linux and Mac hosts.
- Updated component gallery sources in the Example projects
- Updated Sailfish Silica help documentation

Installer:
- Fix Sailfish template application source location in Mac installer. 
Mac users should check out the updated default template application, it 
has some changes that were missing in the previous installer.

SDK Build engine:
- Build targets refreshed to Jolla release 1.0.8.19 level.
- RPM repositories point to releases.jolla.com instead of 
releases.sailfishos.org.

SDK Control Center:
- No updates

Emulator:
- Emulator packages refreshed to Jolla release 1.0.8.19 level.
- RPM repositories point to releases.jolla.com.

Website:
- The Silica documentation at http://sailfishos.org/sailfish-silica/ 
updated to current level.

If you have any questions, feel free to either send an email to this 
mailing list: mailto:devel@lists.sailfishos.org or write it up in 
http://together.jolla.com and tag your issue with 'sdk'.

Happy hacking,
Jolla SDK Team.

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Sailfish OS SDK July update - VirtualBox 4.3.14 for Windows broken

2014-07-16 Thread Andrey Kozhevnikov

404 by your link

16.07.2014 18:29, Kimmo Lindholm пишет:

FYI

When installing SDK, I updated also the VirtualBox to latest version, which was 
not so good decision...

Seems that VirtualBox 4.3.14 for Windows is broken. Use 4.3.12 with SDK (or 
some other version)

Some more here: https://forums.virtualbox.org/viewtopic.php?f=6t=62597 - at 
least I got similar errors when starting merSDK. After downgrading, all works ok.

-kimmo



-Original Message-
From: devel-boun...@lists.sailfishos.org 
[mailto:devel-boun...@lists.sailfishos.org] On Behalf Of Juha Kallioinen
Sent: 14. heinäkuuta 2014 18:27
To: Sailfish OS Developers
Subject: [SailfishDevel] Sailfish OS SDK July update available tomorrow 12:00 
UTC

Hello again,

Tomorrow (July 15th) at 12:00 UTC we will publish new installers and
package repositories for our Sailfish OS SDK version Alpha-1407-Qt5.

If you already have an existing Alpha-Qt5 SDK installed you should see
the Updates Available icon in Qt Creator. If you don't have a previous
SDK installation you can get the latest installer from
http://www.sailfishos.org.

It is recommended to uninstall the old SDK and download a new installer.

SDK content has been updated to match Jolla Release 1.0.8.19. Please see
below for detailed information of the changes.

A couple of things you should be aware of:
- As before, in this update the build engine, emulator and targets are
re-installed so you will lose all changes you may have made in those -
however, if your application packaging is done correctly, rebuilding
your projects should reinstall the packages you have been using.
- Any customization done to SDK (adding new package repositories, adding
custom targets, additional source paths) will be removed during the
installation process so make your own backup of those before starting
the update.
- If you import existing projects made with a previous version of the
Sailfish OS SDK, make sure to select the correct kit in the project
configuration step. Both ARM and i486 kits are available.
- Windows users need to install VC10 runtime from
http://www.microsoft.com/en-us/download/confirmation.aspx?id=8328 or the
Installer will ask for admin rights during installation.
- Package repository contents have been updated and consequently using a
previous SDK version with these package repositories is not supported.
- Supported host platforms can be found from:
https://sailfishos.org/alpha_qt5_sdk_release_notes.html
- For more information, please see the SDK Alpha-Qt5 known issues list
at: https://sailfishos.org/wiki/SDK_Alpha_Qt5_Known_Issues.

This is mainly a housekeeping release and here's the short summary of
changes:

SDK IDE (Qt Creator)
- Fix bugs related to handling symlinked home directory or project
directory. This change affects only Linux and Mac hosts.
- Updated component gallery sources in the Example projects
- Updated Sailfish Silica help documentation

Installer:
- Fix Sailfish template application source location in Mac installer.
Mac users should check out the updated default template application, it
has some changes that were missing in the previous installer.

SDK Build engine:
- Build targets refreshed to Jolla release 1.0.8.19 level.
- RPM repositories point to releases.jolla.com instead of
releases.sailfishos.org.

SDK Control Center:
- No updates

Emulator:
- Emulator packages refreshed to Jolla release 1.0.8.19 level.
- RPM repositories point to releases.jolla.com.

Website:
- The Silica documentation at http://sailfishos.org/sailfish-silica/
updated to current level.

If you have any questions, feel free to either send an email to this
mailing list: mailto:devel@lists.sailfishos.org or write it up in
http://together.jolla.com and tag your issue with 'sdk'.

Happy hacking,
Jolla SDK Team.

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] A welcome dialog and pageStack's operation in progress.

2014-07-16 Thread Marcin M.
This way the dialog opens after closing the dialog. Worked it around by


Component.onCompleted:
{
while (status != PageStatus.Active) {}
openWelcomeDialog()
}

--
Marcin


2014-07-16 11:01 GMT+02:00 Andrey Kozhevnikov coderusin...@gmail.com:

  do not use onCompleted in this case. use status == PageStatus.Active
 instead

 16.07.2014 14:58, Marcin M. пишет:

  I'd like to open a welcome dialog at startup which can be disabled by a
 user.

 Page
 {
  id: mainPage
 function openWelcomeDialog()
 {
 var component = Qt.createComponent(WelcomeDialog.qml)
 var popup = component.createObject(mainPage)
 popup.open()
 }

 Component.onCompleted: openWelcomeDialog()
 // ...
 }

  In fact

 [W] unknown:90 - file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.js:90:
 Error: Cannot push while operation is in progress: push

 happens.


  What's done wrong?
--
 Marcin


 ___
 SailfishOS.org Devel mailing list
 To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org



 ___
 SailfishOS.org Devel mailing list
 To unsubscribe, please send a mail to
 devel-unsubscr...@lists.sailfishos.org

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] A welcome dialog and pageStack's operation in progress.

2014-07-16 Thread Marcin M.
Take back what I said. The workaround doesn't work. :P

--
Marcin


2014-07-16 14:42 GMT+02:00 Marcin M. marmistrz...@gmail.com:

 This way the dialog opens after closing the dialog. Worked it around by


 Component.onCompleted:
 {
 while (status != PageStatus.Active) {}
 openWelcomeDialog()
 }

 --
 Marcin


 2014-07-16 11:01 GMT+02:00 Andrey Kozhevnikov coderusin...@gmail.com:

  do not use onCompleted in this case. use status == PageStatus.Active
 instead

 16.07.2014 14:58, Marcin M. пишет:

  I'd like to open a welcome dialog at startup which can be disabled by a
 user.

 Page
 {
  id: mainPage
 function openWelcomeDialog()
 {
 var component = Qt.createComponent(WelcomeDialog.qml)
 var popup = component.createObject(mainPage)
 popup.open()
 }

 Component.onCompleted: openWelcomeDialog()
 // ...
 }

  In fact

 [W] unknown:90 - file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.js:90:
 Error: Cannot push while operation is in progress: push

 happens.


  What's done wrong?
--
 Marcin


 ___
 SailfishOS.org Devel mailing list
 To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org



 ___
 SailfishOS.org Devel mailing list
 To unsubscribe, please send a mail to
 devel-unsubscr...@lists.sailfishos.org



___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] A welcome dialog and pageStack's operation in progress.

2014-07-16 Thread Andrey Kozhevnikov
In this case you'd better connect to pageStack.busyChanged :) and wait 
while pageStack.busy


16.07.2014 18:42, Marcin M. ?:

This way the dialog opens after closing the dialog. Worked it around by


Component.onCompleted:
{
while (status != PageStatus.Active) {}
openWelcomeDialog()
}

--
Marcin


2014-07-16 11:01 GMT+02:00 Andrey Kozhevnikov coderusin...@gmail.com 
mailto:coderusin...@gmail.com:


do not use onCompleted in this case. use status ==
PageStatus.Active instead

16.07.2014 14:58, Marcin M. ?:

I'd like to open a welcome dialog at startup which can be
disabled by a user.

Page
{
id: mainPage
function openWelcomeDialog()
{
var component = Qt.createComponent(WelcomeDialog.qml)
var popup = component.createObject(mainPage)
popup.open()
}

Component.onCompleted: openWelcomeDialog()
// ...
}

In fact

[W] unknown:90 -
file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.js:90: Error:
Cannot push while operation is in progress: push

happens.


What's done wrong?

--
Marcin


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail todevel-unsubscr...@lists.sailfishos.org  
mailto:devel-unsubscr...@lists.sailfishos.org



___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to
devel-unsubscr...@lists.sailfishos.org
mailto:devel-unsubscr...@lists.sailfishos.org




___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] A welcome dialog and pageStack's operation in progress.

2014-07-16 Thread Dmitriy Purgin
Hi Martin,

I had the same issue while dealing with a similar problem where start
page was showing BusyIndicator while the application is loading. What
I did is connected to Component.onCompleted in ApplicationWindow,
start the initialization procedure and replace the page after
initialization is done:

// main.qml

ApplicationWindow
{
Component.onCompleted: {
pageStack.push(Qt.resolvedUrl(pages/Loader.qml))
myApp.initialize(); // call of an exposed C++ method
}
}

// Loader.qml:

Page {
BusyIndicator {
running: myApp.initializing // Q_PROPERTY exposed in C++ class
}
onRunningChanged: {
if (!running)
pageStack.replace(Qt.resolvedUrl(FirstPage.qml))
}
}

I think you can add both of your pages in Component.onCompleted() of
the ApplicationWindow and switch between them in runtime.

Cheers

2014-07-16 18:45 GMT+06:00 Marcin M. marmistrz...@gmail.com:
 Take back what I said. The workaround doesn't work. :P

 --
 Marcin


 2014-07-16 14:42 GMT+02:00 Marcin M. marmistrz...@gmail.com:

 This way the dialog opens after closing the dialog. Worked it around by


 Component.onCompleted:
 {
 while (status != PageStatus.Active) {}
 openWelcomeDialog()
 }

 --
 Marcin


 2014-07-16 11:01 GMT+02:00 Andrey Kozhevnikov coderusin...@gmail.com:

 do not use onCompleted in this case. use status == PageStatus.Active
 instead

 16.07.2014 14:58, Marcin M. пишет:

 I'd like to open a welcome dialog at startup which can be disabled by a
 user.

 Page
 {
 id: mainPage
 function openWelcomeDialog()
 {
 var component = Qt.createComponent(WelcomeDialog.qml)
 var popup = component.createObject(mainPage)
 popup.open()
 }

 Component.onCompleted: openWelcomeDialog()
 // ...
 }

 In fact

 [W] unknown:90 - file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.js:90:
 Error: Cannot push while operation is in progress: push

 happens.


 What's done wrong?

 --
 Marcin


 ___
 SailfishOS.org Devel mailing list
 To unsubscribe, please send a mail to
 devel-unsubscr...@lists.sailfishos.org



 ___
 SailfishOS.org Devel mailing list
 To unsubscribe, please send a mail to
 devel-unsubscr...@lists.sailfishos.org




 ___
 SailfishOS.org Devel mailing list
 To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] A welcome dialog and pageStack's operation in progress.

2014-07-16 Thread Dmitriy Purgin
Sorry Marcin, misread the name :)

2014-07-16 18:55 GMT+06:00 Dmitriy Purgin dpur...@gmail.com:
 Hi Martin,

 I had the same issue while dealing with a similar problem where start
 page was showing BusyIndicator while the application is loading. What
 I did is connected to Component.onCompleted in ApplicationWindow,
 start the initialization procedure and replace the page after
 initialization is done:

 // main.qml

 ApplicationWindow
 {
 Component.onCompleted: {
 pageStack.push(Qt.resolvedUrl(pages/Loader.qml))
 myApp.initialize(); // call of an exposed C++ method
 }
 }

 // Loader.qml:

 Page {
 BusyIndicator {
 running: myApp.initializing // Q_PROPERTY exposed in C++ class
 }
 onRunningChanged: {
 if (!running)
 pageStack.replace(Qt.resolvedUrl(FirstPage.qml))
 }
 }

 I think you can add both of your pages in Component.onCompleted() of
 the ApplicationWindow and switch between them in runtime.

 Cheers

 2014-07-16 18:45 GMT+06:00 Marcin M. marmistrz...@gmail.com:
 Take back what I said. The workaround doesn't work. :P

 --
 Marcin


 2014-07-16 14:42 GMT+02:00 Marcin M. marmistrz...@gmail.com:

 This way the dialog opens after closing the dialog. Worked it around by


 Component.onCompleted:
 {
 while (status != PageStatus.Active) {}
 openWelcomeDialog()
 }

 --
 Marcin


 2014-07-16 11:01 GMT+02:00 Andrey Kozhevnikov coderusin...@gmail.com:

 do not use onCompleted in this case. use status == PageStatus.Active
 instead

 16.07.2014 14:58, Marcin M. пишет:

 I'd like to open a welcome dialog at startup which can be disabled by a
 user.

 Page
 {
 id: mainPage
 function openWelcomeDialog()
 {
 var component = Qt.createComponent(WelcomeDialog.qml)
 var popup = component.createObject(mainPage)
 popup.open()
 }

 Component.onCompleted: openWelcomeDialog()
 // ...
 }

 In fact

 [W] unknown:90 - file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.js:90:
 Error: Cannot push while operation is in progress: push

 happens.


 What's done wrong?

 --
 Marcin


 ___
 SailfishOS.org Devel mailing list
 To unsubscribe, please send a mail to
 devel-unsubscr...@lists.sailfishos.org



 ___
 SailfishOS.org Devel mailing list
 To unsubscribe, please send a mail to
 devel-unsubscr...@lists.sailfishos.org




 ___
 SailfishOS.org Devel mailing list
 To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Sailfish OS SDK July update - VirtualBox 4.3.14 for Windows broken

2014-07-16 Thread Kimmo Lindholm
Ok, they are rearraning forum due excessive topics of the same issue... 
https://forums.virtualbox.org/viewtopic.php?f=6t=62615 

-Original Message-
From: devel-boun...@lists.sailfishos.org 
[mailto:devel-boun...@lists.sailfishos.org] On Behalf Of Andrey Kozhevnikov
Sent: 16. heinäkuuta 2014 15:31
To: devel@lists.sailfishos.org
Subject: Re: [SailfishDevel] Sailfish OS SDK July update - VirtualBox 4.3.14 
for Windows broken

404 by your link

16.07.2014 18:29, Kimmo Lindholm пишет:
 FYI

 When installing SDK, I updated also the VirtualBox to latest version, which 
 was not so good decision...

 Seems that VirtualBox 4.3.14 for Windows is broken. Use 4.3.12 with 
 SDK (or some other version)

 Some more here: https://forums.virtualbox.org/viewtopic.php?f=6t=62597 - at 
 least I got similar errors when starting merSDK. After downgrading, all works 
 ok.

 -kimmo



 -Original Message-
 From: devel-boun...@lists.sailfishos.org 
 [mailto:devel-boun...@lists.sailfishos.org] On Behalf Of Juha 
 Kallioinen
 Sent: 14. heinäkuuta 2014 18:27
 To: Sailfish OS Developers
 Subject: [SailfishDevel] Sailfish OS SDK July update available 
 tomorrow 12:00 UTC

 Hello again,

 Tomorrow (July 15th) at 12:00 UTC we will publish new installers and 
 package repositories for our Sailfish OS SDK version Alpha-1407-Qt5.

 If you already have an existing Alpha-Qt5 SDK installed you should see 
 the Updates Available icon in Qt Creator. If you don't have a previous 
 SDK installation you can get the latest installer from 
 http://www.sailfishos.org.

 It is recommended to uninstall the old SDK and download a new installer.

 SDK content has been updated to match Jolla Release 1.0.8.19. Please 
 see below for detailed information of the changes.

 A couple of things you should be aware of:
 - As before, in this update the build engine, emulator and targets are 
 re-installed so you will lose all changes you may have made in those - 
 however, if your application packaging is done correctly, rebuilding 
 your projects should reinstall the packages you have been using.
 - Any customization done to SDK (adding new package repositories, 
 adding custom targets, additional source paths) will be removed during 
 the installation process so make your own backup of those before 
 starting the update.
 - If you import existing projects made with a previous version of the 
 Sailfish OS SDK, make sure to select the correct kit in the project 
 configuration step. Both ARM and i486 kits are available.
 - Windows users need to install VC10 runtime from
 http://www.microsoft.com/en-us/download/confirmation.aspx?id=8328 or 
 the Installer will ask for admin rights during installation.
 - Package repository contents have been updated and consequently using 
 a previous SDK version with these package repositories is not supported.
 - Supported host platforms can be found from:
 https://sailfishos.org/alpha_qt5_sdk_release_notes.html
 - For more information, please see the SDK Alpha-Qt5 known issues list
 at: https://sailfishos.org/wiki/SDK_Alpha_Qt5_Known_Issues.

 This is mainly a housekeeping release and here's the short summary of
 changes:

 SDK IDE (Qt Creator)
 - Fix bugs related to handling symlinked home directory or project 
 directory. This change affects only Linux and Mac hosts.
 - Updated component gallery sources in the Example projects
 - Updated Sailfish Silica help documentation

 Installer:
 - Fix Sailfish template application source location in Mac installer.
 Mac users should check out the updated default template application, 
 it has some changes that were missing in the previous installer.

 SDK Build engine:
 - Build targets refreshed to Jolla release 1.0.8.19 level.
 - RPM repositories point to releases.jolla.com instead of 
 releases.sailfishos.org.

 SDK Control Center:
 - No updates

 Emulator:
 - Emulator packages refreshed to Jolla release 1.0.8.19 level.
 - RPM repositories point to releases.jolla.com.

 Website:
 - The Silica documentation at http://sailfishos.org/sailfish-silica/
 updated to current level.

 If you have any questions, feel free to either send an email to this 
 mailing list: mailto:devel@lists.sailfishos.org or write it up in 
 http://together.jolla.com and tag your issue with 'sdk'.

 Happy hacking,
 Jolla SDK Team.

 ___
 SailfishOS.org Devel mailing list
 To unsubscribe, please send a mail to 
 devel-unsubscr...@lists.sailfishos.org
 ___
 SailfishOS.org Devel mailing list
 To unsubscribe, please send a mail to 
 devel-unsubscr...@lists.sailfishos.org

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] QTcreator.exe

2014-07-16 Thread Juha Kallioinen

On 18.06.2014 12:47, Vesa Arttijeff wrote:

Hi,

I installed Sallfish SDK 
(SailfishOSSDK-Alpha-1406-Qt5-windows-offline) to my Windows 8. I have 
Norton Antivirus on my machine.


Please check the attached document (as Word /ODT). Norton detected 
something weird in qtcreator.exe file. Is it just my local problem or 
something else?




Hi, for some reason I only received this mail on the mailing list just 
today.


I've scanned my files on this end with Bitdefender and clamav, but those 
did not detect any problems here.


Best regards,
 Juha


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] QTcreator.exe

2014-07-16 Thread Andrey Kozhevnikov
Norton detected something weird - what exactly? Can you paste error 
message or screenshot it?


For now i see only something weird with your antivirus

(probably you using norton as firewall also and it just reporting 
network activity)


16.07.2014 20:21, Juha Kallioinen пишет:

Norton detected something weird


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Fwd: QtCreator issues

2014-07-16 Thread Stijn Devriendt
Hi,

I'm having segfaults when starting the Qt Creator from the July SDK:
kernel: qtcreator[3217]: segfault at a1d46 ip 000a1d46 sp
7fff634493e8 error 14 in qtcreator[40+13000]

Issue is reproducible; OS is the latest Sabayon Linux 64bit.
I can send coredump on request.

Let me know if I can be of further assistance.

Regards,
Stijn
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Fwd: QtCreator issues

2014-07-16 Thread Juha Kallioinen
Hi,

sorry to hear that.

Did the previous version 1406 or some earlier version work for you in the same 
host?

Please send core dump to me and if you could also provide an strace log of 
starting Qt Creator:

$ strace -o output.log -s 512 installdir/bin/qtcreator

Also please mention which Sabayon variant do you use, gnome/kde/xfce?

Best regards,
 Juha


From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] 
on behalf of Stijn Devriendt [high...@gmail.com]
Sent: Wednesday, July 16, 2014 7:50 PM
To: devel@lists.sailfishos.org
Subject: [SailfishDevel] Fwd: QtCreator issues

Hi,

I'm having segfaults when starting the Qt Creator from the July SDK:
kernel: qtcreator[3217]: segfault at a1d46 ip 000a1d46 sp 
7fff634493e8 error 14 in qtcreator[40+13000]

Issue is reproducible; OS is the latest Sabayon Linux 64bit.
I can send coredump on request.

Let me know if I can be of further assistance.

Regards,
Stijn
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Fwd: QtCreator issues

2014-07-16 Thread Stijn Devriendt
Hi Juha,

I just had a look at the backtrace (apparently some of the libs aren't
(completely) stripped):

#0  0x000a1d46 in ?? ()
#1  0x7f5e4944abe6 in call_init () from /lib64/ld-linux-x86-64.so.2
#2  0x7f5e4944acca in _dl_init_internal () from
/lib64/ld-linux-x86-64.so.2
#3  0x7f5e4944ed99 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#4  0x7f5e4944aa26 in _dl_catch_error () from
/lib64/ld-linux-x86-64.so.2
#5  0x7f5e4944e5d9 in _dl_open () from /lib64/ld-linux-x86-64.so.2
#6  0x7f5e46a001e6 in dlopen_doit () from /lib64/libdl.so.2
#7  0x7f5e4944aa26 in _dl_catch_error () from
/lib64/ld-linux-x86-64.so.2
#8  0x7f5e46a0078c in _dlerror_run () from /lib64/libdl.so.2
#9  0x7f5e46a00281 in dlopen () from /lib64/libdl.so.2
#10 0x7f5e47ba7ac5 in QLibraryPrivate::load_sys() () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtCore.so.4
#11 0x7f5e47ba0d94 in QLibraryPrivate::load() () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtCore.so.4
#12 0x7f5e47ba1aad in QLibraryPrivate::loadPlugin() () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtCore.so.4
#13 0x7f5e47b9a7fd in QFactoryLoader::instance(QString const) const ()
from /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtCore.so.4
#14 0x7f5e485635bc in createReadHandlerHelper(QIODevice*, QByteArray
const, bool, bool) () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#15 0x7f5e48564f24 in QImageReaderPrivate::initHandler() () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#16 0x7f5e485666b0 in QImageReader::read(QImage*) () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#17 0x7f5e485668ac in QImageReader::read() () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#18 0x7f5e4857c4bc in QPixmapData::fromFile(QString const, char
const*, QFlagsQt::ImageConversionFlag) () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#19 0x7f5e485774a5 in QPixmap::load(QString const, char const*,
QFlagsQt::ImageConversionFlag) () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#20 0x7f5e48577917 in QPixmap::QPixmap(QString const, char const*,
QFlagsQt::ImageConversionFlag) () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#21 0x7f5e48802e52 in
QRenderRule::QRenderRule(QVectorQCss::Declaration const, QWidget const*)
() from /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#22 0x7f5e4880be9d in QStyleSheetStyle::renderRule(QWidget const*, int,
unsigned long long) const () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#23 0x7f5e4880d673 in QStyleSheetStyle::renderRule(QWidget const*,
QStyleOption const*, int) const () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#24 0x7f5e48817c57 in QStyleSheetStyle::styleHint(QStyle::StyleHint,
QStyleOption const*, QWidget const*, QStyleHintReturn*) const () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#25 0x7f5e48968c17 in QToolButton::changeEvent(QEvent*) () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#26 0x7f5e484e3a75 in QWidget::event(QEvent*) () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#27 0x7f5e4848b5dc in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#28 0x7f5e4849250d in QApplication::notify(QObject*, QEvent*) () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#29 0x7f5e47bb700c in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtCore.so.4
#30 0x7f5e484e97a3 in QWidgetPrivate::setStyle_helper(QStyle*, bool,
bool) () from /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#31 0x7f5e3ccd195c in ?? () from
/home/stijn/SailfishOS/lib/qtcreator/plugins/QtProject/libCore.so
#32 0x7f5e3ccd1a37 in ?? () from
/home/stijn/SailfishOS/lib/qtcreator/plugins/QtProject/libCore.so
#33 0x7f5e3ccd25fc in ?? () from
/home/stijn/SailfishOS/lib/qtcreator/plugins/QtProject/libCore.so
#34 0x7f5e3cc20768 in ?? () from
/home/stijn/SailfishOS/lib/qtcreator/plugins/QtProject/libCore.so
#35 0x7f5e3cc8b8ee in ?? () from
/home/stijn/SailfishOS/lib/qtcreator/plugins/QtProject/libCore.so
#36 0x7f5e3cc8b9bd in qt_plugin_instance () from
/home/stijn/SailfishOS/lib/qtcreator/plugins/QtProject/libCore.so
#37 0x7f5e47b99272 in QPluginLoader::instance() () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtCore.so.4
#38 0x7f5e49224490 in
ExtensionSystem::Internal::PluginSpecPrivate::loadLibrary() () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libExtensionSystem.so.1
#39 0x7f5e49220335 in
ExtensionSystem::Internal::PluginManagerPrivate::loadPlugin(ExtensionSystem::PluginSpec*,
ExtensionSystem::PluginSpec::State) () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libExtensionSystem.so.1
#40 0x7f5e492205cf in

Re: [SailfishDevel] A welcome dialog and pageStack's operation in progress.

2014-07-16 Thread Matthew Vogt
Hi, 'Page.status' is the correct property to watch for avoiding this problem.

Here is an example of what you could do:

import QtQuick 2.0
import Sailfish.Silica 1.0

ApplicationWindow {

initialPage: Component {
Page {
anchors.fill: parent

Label {
anchors.centerIn: parent
text: 'Main page'
}

property bool showSplash: true
onStatusChanged: {
if (status == PageStatus.Active  showSplash) {
showSplash = false
pageStack.push(splashPage)
}
}
}
}

Component {
id: splashPage

Page {
Label {
anchors.centerIn: parent
text: 'Splash page'
}
}
}
}

Thanks,
Matt


From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] 
on behalf of Andrey Kozhevnikov [coderusin...@gmail.com]
Sent: Wednesday, July 16, 2014 7:01 PM
To: devel@lists.sailfishos.org
Subject: Re: [SailfishDevel] A welcome dialog and pageStack's operation in 
progress.

do not use onCompleted in this case. use status == PageStatus.Active instead

16.07.2014 14:58, Marcin M. пишет:
I'd like to open a welcome dialog at startup which can be disabled by a user.

Page
{
id: mainPage
function openWelcomeDialog()
{
var component = Qt.createComponent(WelcomeDialog.qml)
var popup = component.createObject(mainPage)
popup.open()
}

Component.onCompleted: openWelcomeDialog()
// ...
}

In fact

[W] unknown:90 - file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.js:90: 
Error: Cannot push while operation is in progress: push

happens.


What's done wrong?

--
Marcin



___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to 
devel-unsubscr...@lists.sailfishos.orgmailto:devel-unsubscr...@lists.sailfishos.org

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] A welcome dialog and pageStack's operation in progress.

2014-07-16 Thread J-P Nurmi
On Wed, Jul 16, 2014 at 11:25 PM, Matthew Vogt matthew.v...@jolla.com wrote:

 Hi, 'Page.status' is the correct property to watch for avoiding this problem.

 Here is an example of what you could do:

 import QtQuick 2.0
 import Sailfish.Silica 1.0

 ApplicationWindow {

 initialPage: Component {
 Page {
 anchors.fill: parent

 Label {
 anchors.centerIn: parent
 text: 'Main page'
 }

 property bool showSplash: true
 onStatusChanged: {
 if (status == PageStatus.Active  
 showSplash) {
 showSplash = false
 pageStack.push(splashPage)
 }
 }
 }
 }

 Component {
 id: splashPage

 Page {
 Label {
 anchors.centerIn: parent
 text: 'Splash page'
 }
 }
 }
 }

 Thanks,
 Matt


Hi Matt,

Notice that essentially the same problem occurs when a dialog/page is
triggered by an external event. User navigates the UI meanwhile eg. a
network event triggers a dialog = PageStack is busy so it just bails
out and user misses the dialog. As a workaround, waiting until
PageStack is no longer busy gets pretty ugly.

--
J-P Nurmi
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] A welcome dialog and pageStack's operation in progress.

2014-07-16 Thread Matthew Vogt
Yes, fair point.

IIRC, we decided there weren't enough motivating examples to make it worth 
adding action-queueing behaviour to the PageStack.  If people keep hitting this 
problem, though, it could be worth revisiting.

That said, working around the problem is usually simple, and making the 
PageStack support more complicated API patterns could lead users to get 
themselves into deeper trouble, that's harder to diagnose and fix :-)

Matt

From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] 
on behalf of J-P Nurmi [jpnu...@gmail.com]
Sent: Thursday, July 17, 2014 7:45 AM
To: Sailfish OS Developers
Subject: Re: [SailfishDevel] A welcome dialog and pageStack's operation in  
progress.

On Wed, Jul 16, 2014 at 11:25 PM, Matthew Vogt matthew.v...@jolla.com wrote:

 Hi, 'Page.status' is the correct property to watch for avoiding this problem.

 Here is an example of what you could do:

 import QtQuick 2.0
 import Sailfish.Silica 1.0

 ApplicationWindow {

 initialPage: Component {
 Page {
 anchors.fill: parent

 Label {
 anchors.centerIn: parent
 text: 'Main page'
 }

 property bool showSplash: true
 onStatusChanged: {
 if (status == PageStatus.Active  
 showSplash) {
 showSplash = false
 pageStack.push(splashPage)
 }
 }
 }
 }

 Component {
 id: splashPage

 Page {
 Label {
 anchors.centerIn: parent
 text: 'Splash page'
 }
 }
 }
 }

 Thanks,
 Matt


Hi Matt,

Notice that essentially the same problem occurs when a dialog/page is
triggered by an external event. User navigates the UI meanwhile eg. a
network event triggers a dialog = PageStack is busy so it just bails
out and user misses the dialog. As a workaround, waiting until
PageStack is no longer busy gets pretty ugly.

--
J-P Nurmi
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org