Re: [SailfishDevel] Double-tap detection

2013-11-11 Thread Mikko Harju
On 10.11.2013 12:15, Artem Marchenko wrote:
 Thanks, for the reply, Jonni, now I know about double clicks. Will do
 own detection then.

Hello Artem :)

It seems double clicks are missed if the Flickable pressDelay is
non-zero (and SilicaFlickable has non-zero default pressDelay).

-- 
mikkoh


___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] qt-components-qt5

2013-11-11 Thread Marcin M.
Hello,

I am aware of that, that Sailfish native apps should use Silica. But it's
not my point in this case to switch I'm just experimenting with the old
com.nokia.meego components. They're available in the repos, so I tried, how
would the app basing on it work.

I installed it in Emulator only - I don't need it for building. I added to
Requires instead of sailfishsilica-qt5, but it's still not detected still
after installing.

Thanks

--
Marcin


2013/11/11 christopher.l...@thurweb.ch

 Hi Marcin

 Have you installed that package to both the Emulator and the SDK Build
 Engine? (and synced in the SDK Control Center?)

 My next guess is that you get this error from QML. Normally the qml types
 are available in a version of the package with import-declarative in the
 name (to be installed to both the Emulator and SDK build chain). But for
 qt-components-qt5 I can't find a import-declarative version of the package,
 so it looks to me to be C++ only ). But as I don't have experience of
 that package, I may be wrong.

 Sorry I have to dash off, otherwise I would experiment further ...

 Chris


 Zitat von Marcin M. marmistrz...@gmail.com:


  Hi,

 I'm trying to run an app using qt-components-qt5 (installed in the
 emulator). It fails though. The output is:

  QML debugging is enabled. Only use this in a safe environment.

 Using Wayland-EGL

 Module 'com.nokia.meego' does not contain a module identifier directive -
 it cannot be protected from external registrations.

 MLocalThemeDaemonClient::MLocalThemeDaemonClient(const QString,
 QObject*)
 Theme: jolla-ambient

 LocalThemeDaemonClient: Looking for assets in
 (/usr/share/themes/base/meegotouch,
 /usr/share/themes/jolla-ambient/meegotouch)

 file:///usr/share/MeeIrregulars/qml/MeeIrregulars.qml:5:1:
 PageStackWindow
 is not a type

 PageStackWindow

 ^

 What am I doing wrong?

 Thanks
 --
 Marcin




___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] qt-components-qt5

2013-11-11 Thread Andrea Bernabei
Hello Marcin,

the qt-components on Qt5 have a different version, which is 2.0

so, try with import com.nokia.meego 2.0 if you want to keep testing with
qt-components ;)


2013/11/11 Marcin M. marmistrz...@gmail.com

 Hello,

 I am aware of that, that Sailfish native apps should use Silica. But it's
 not my point in this case to switch I'm just experimenting with the old
 com.nokia.meego components. They're available in the repos, so I tried, how
 would the app basing on it work.

 I installed it in Emulator only - I don't need it for building. I added to
 Requires instead of sailfishsilica-qt5, but it's still not detected still
 after installing.

 Thanks

 --
 Marcin


 2013/11/11 christopher.l...@thurweb.ch

 Hi Marcin

 Have you installed that package to both the Emulator and the SDK Build
 Engine? (and synced in the SDK Control Center?)

 My next guess is that you get this error from QML. Normally the qml types
 are available in a version of the package with import-declarative in the
 name (to be installed to both the Emulator and SDK build chain). But for
 qt-components-qt5 I can't find a import-declarative version of the package,
 so it looks to me to be C++ only ). But as I don't have experience of
 that package, I may be wrong.

 Sorry I have to dash off, otherwise I would experiment further ...

 Chris


 Zitat von Marcin M. marmistrz...@gmail.com:


  Hi,

 I'm trying to run an app using qt-components-qt5 (installed in the
 emulator). It fails though. The output is:

  QML debugging is enabled. Only use this in a safe environment.

 Using Wayland-EGL

 Module 'com.nokia.meego' does not contain a module identifier directive -
 it cannot be protected from external registrations.

 MLocalThemeDaemonClient::MLocalThemeDaemonClient(const QString,
 QObject*)
 Theme: jolla-ambient

 LocalThemeDaemonClient: Looking for assets in
 (/usr/share/themes/base/meegotouch,
 /usr/share/themes/jolla-ambient/meegotouch)

 file:///usr/share/MeeIrregulars/qml/MeeIrregulars.qml:5:1:
 PageStackWindow
 is not a type

 PageStackWindow

 ^

 What am I doing wrong?

 Thanks
 --
 Marcin





 ___
 SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Double-tap detection

2013-11-11 Thread Artem Marchenko
Thanks, Mikko

By now I implemented my own double-tap detection, but in general
double-click detection I guess should work too. It's a pity there isn't a
[supported] pubica Silica but tracker yet. I'd submit some other small
stuff to there that's too small for spamming to this list. E.g. Slider
ignores initial value setting if it's above 1.

Cheers,
Artem.



On Mon, Nov 11, 2013 at 12:06 PM, Mikko Harju mikko.ha...@jolla.com wrote:

 On 10.11.2013 12:15, Artem Marchenko wrote:
  Thanks, for the reply, Jonni, now I know about double clicks. Will do
  own detection then.

 Hello Artem :)

 It seems double clicks are missed if the Flickable pressDelay is
 non-zero (and SilicaFlickable has non-zero default pressDelay).

 --
 mikkoh


 ___
 SailfishOS.org Devel mailing list




-- 
Artem Marchenko
http://agilesoftwaredevelopment.com
http://twitter.com/AgileArtem
___
SailfishOS.org Devel mailing list

[SailfishDevel] Bluetooth Transfer-engine UI

2013-11-11 Thread Tone Kastlunger
Hey;
I would need Transfer-engine UI for testing my Bluetooth plugins.
Any info on how to enable it / when it will be available (if ever on the
emulator)?

Best,
tortoisedoc
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Harbor not accessible from Finland

2013-11-11 Thread Tone Kastlunger
Thanks Karl,
your efforts are appreciated :)

Go Jolla Go!
Best,
tortoisedoc!


On Mon, Nov 11, 2013 at 6:43 PM, Karl Granström karl.granst...@jolla.comwrote:

  Hi all,

  Just want to update on the situation with the Harbour. We were able to
 debug the big bug in last Friday and got it fixed. Today we ran the
 production tests and found one small bug still that we are fixing and we
 are doing our best to allow you to dock there asap.

  Br,
 Karl

  On 09 Nov 2013, at 13:56, Tone Kastlunger users.giulie...@gmail.com
 wrote:

  Hi all;
 to avoid misunderstandings, I would like to pinpoint my email was supposed
 to be a mere faulty report.

 Best,
 tortoisedoc


 On Sat, Nov 9, 2013 at 1:04 PM, Filip Kłębczyk fklebc...@gmail.comwrote:

 W dniu 09.11.2013 11:26, Chris Walker pisze:

  On Fri, 8 Nov 2013 21:49:35 +0200
 Tone Kastlunger users.giulie...@gmail.com wrote:

  Never was so far, bad gateway all the time.
 anyone else experiencing the same?


 It's been like that since day one of the announcement here in the UK
 for me. So don't feel left out ;-)


  I can imagine how stressful (pressure created by big expectations) it is
 for people in Jolla trying to fix it and put it out running back again. So
 everyone a little bit more patience and understanding, I am sure harbour
 will be back again in very near future.

 Regards,
 Filip

 ___
 SailfishOS.org Devel mailing list


  ___
 SailfishOS.org Devel mailing list



 ___
 SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Harbor not accessible from Finland

2013-11-11 Thread Filip Kłębczyk

W dniu 11.11.2013 17:43, Karl Granström pisze:

Hi all,

Just want to update on the situation with the Harbour. We were able to
debug the big bug in last Friday and got it fixed. Today we ran the
production tests and found one small bug still that we are fixing and we
are doing our best to allow you to dock there asap.


Thanks for openly communicating how situation looks like. Good luck on 
fixing the bug.


Regards,
Filip

___
SailfishOS.org Devel mailing list

[SailfishDevel] QSqlDatabase cannot create db file when deployed as rpm package

2013-11-11 Thread Stockona
When I switched to Deploy by copying binary, the database is created and 
connected correctly.
Changing the deployment to rpm package the same code just failed with database 
error message out of memory Error opening database.

I checked in Emulator terminal and the database file was not created at all. Is 
this a permission issue? How do I work around this?
Thanks in advance!___
SailfishOS.org Devel mailing list

[SailfishDevel] Flashlight app icon experience

2013-11-11 Thread Artem Marchenko
Hi all

Does anybody know exact app icon requirements?

I know that it has to be 90x90 PNG and somehow I was able to make one icon
that works fine, but I failed to generate the 2nd one. Whatever I do, the
icon in emulator is displayed as just an empty space :/
And I did check that the proper file is actually installed to the proper
place, I even manually replaced file in the emulator to verify that it's
exactly the icon file contents that is problematic.

It has to do something with the allowed color profile or transparency or
interlacing or DPI or max file size or something else like this. I attached
one of the files that didn't work while looking perfectly legal to me.

Could somebody, please, have a look?
Or do you maybe have a GIMP or Photoshop template and PNG generation
instructions that just work?

Best regards,
Artem.

-- 
Artem Marchenko
http://agilesoftwaredevelopment.com
http://twitter.com/AgileArtem
attachment: flashlight-1.png___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Flashlight app icon experience

2013-11-11 Thread Jonni Rainisto
Icon shows up just fine, so maybe you just messed up the iconpath in desktop 
file? And maybe you also want to change background to be transparent.

I think that design team is working on a releasing a template, but I don't know 
the ETA yet.

re, Jonni

From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] 
on behalf of Artem Marchenko [artem.marche...@gmail.com]
Sent: Tuesday, November 12, 2013 12:26 AM
To: devel@lists.sailfishos.org
Subject: [SailfishDevel] Flashlight app icon experience

Hi all

Does anybody know exact app icon requirements?

I know that it has to be 90x90 PNG and somehow I was able to make one icon that 
works fine, but I failed to generate the 2nd one. Whatever I do, the icon in 
emulator is displayed as just an empty space :/
And I did check that the proper file is actually installed to the proper place, 
I even manually replaced file in the emulator to verify that it's exactly the 
icon file contents that is problematic.

It has to do something with the allowed color profile or transparency or 
interlacing or DPI or max file size or something else like this. I attached one 
of the files that didn't work while looking perfectly legal to me.

Could somebody, please, have a look?
Or do you maybe have a GIMP or Photoshop template and PNG generation 
instructions that just work?

Best regards,
Artem.

--
Artem Marchenko
http://agilesoftwaredevelopment.com
http://twitter.com/AgileArtem
___
SailfishOS.org Devel mailing list