Re: [SailfishDevel] Problem with playing sounds in first application

2015-06-11 Thread coderusinbox
Please use SoundEffect class for that: http://doc.qt.io/qt-5/qml-qtmultimedia-soundeffect.html Sent from Windows Mail From: Thomas Tanghus Sent: ‎Thursday‎, ‎June‎ ‎11‎, ‎2015 ‎11‎:‎06‎ ‎PM To: devel@lists.sailfishos.org On Tuesday 03 February 2015 23:13:44 Luis Manuel Ramos Da Cos

Re: [SailfishDevel] ApplicationWindow.activate() does nothing

2015-06-11 Thread coderusinbox
you should call app.activate() Sent from Windows Mail From: Thomas Tanghus Sent: ‎Friday‎, ‎June‎ ‎12‎, ‎2015 ‎4‎:‎51‎ ‎AM To: devel@lists.sailfishos.org Hi The documentation says: activate() Brings the application in full-screen mode to the foreground. But absolutely nothi

[SailfishDevel] ApplicationWindow.activate() does nothing

2015-06-11 Thread Thomas Tanghus
Hi The documentation says: activate() Brings the application in full-screen mode to the foreground. But absolutely nothing happens when I call it. Is anybody using it successfully? https://github.com/tanghus/kitchen-timer-qml/blob/master/qml/harbour-kitchentimer.qml#L271 -- Med venlig h

Re: [SailfishDevel] Sailfishos.org site renewal!

2015-06-11 Thread Thomas Tanghus
On Friday 30 January 2015 08:04:08 Developer Care wrote: > If you find any broken links, please inform us. Also kindly note that your > bookmarks for the old site may have change locations or may not exist > anymore. At the bottom of the "Silica Reference Documentation" [1] there's a link to "F

Re: [SailfishDevel] Problem with playing sounds in first application

2015-06-11 Thread Thomas Tanghus
On Tuesday 03 February 2015 23:13:44 Luis Manuel Ramos Da Costa wrote: > Audio { > id : whipSound > loops : Audio.Infinite > source:"qrc:/sounds/resources/sounds/whipSound.flac" > } That can teach me to read the ml regularly ;) The loops

[SailfishDevel] Deploy by copying binaries issue

2015-06-11 Thread Timur Kristóf
Good morning! I'm trying to deploy a Qt application to my Jolla. In the "Sailfish OS IDE", I set up the device and set the project to "deploy by copying binaries". Then I hit the play button. After that, I'm getting this error: Fatal: No spec file found in '/home/mersdk/share//Projects/apps/ufo/r

Re: [SailfishDevel] Scroll horizontal

2015-06-11 Thread Rudi Timmermans
Hi Andrey, I forgot i have also a messenger.css code ._s15 { display: none !important; visibility: hidden !important; } [data-reactid='.0.1'] { min-width: 100% !important; } [data-reactid='.0.1.$0'] { width: 100% !important; max-width: 100% !important;

Re: [SailfishDevel] Scroll horizontal

2015-06-11 Thread Andrey Kozhevnikov
sorry i'm not an web expert, you'd better wait for someone more experienced answer :) 11.06.2015 16:44, Rudi Timmermans пишет: Hi Andrey, Ok i have try it but now i can not open anymore my chat window. If you can give me a hint what i change as the best i would love it thanks for that ! T

Re: [SailfishDevel] Scroll horizontal

2015-06-11 Thread Rudi Timmermans
Hi Andrey, Ok i have try it but now i can not open anymore my chat window. If you can give me a hint what i change as the best i would love it thanks for that ! This i have into my code as messenger.js (function(){ var meta = document.createElement('meta'); meta.se

Re: [SailfishDevel] Scroll horizontal

2015-06-11 Thread Andrey Kozhevnikov
I mean webpage viewport size. when you using QML WebView server detect it as mobile client and setting webpage width to your device screen width, and you can't scroll. 11.06.2015 16:28, Rudi Timmermans пишет: Hi Andrey, Can you tell me where i can change this as best into the code please ? I

Re: [SailfishDevel] Scroll horizontal

2015-06-11 Thread Rudi Timmermans
Hi Andrey, Can you tell me where i can change this as best into the code please ? I'm nit shure i understand this corectly sorry... --- Best regards! Rudi Timmermans. Andrey Kozhevnikov schreef op 11/06/15 om 13:22: It should scroll if viewport width is higher than webview width. 11.06.2015

Re: [SailfishDevel] Scroll horizontal

2015-06-11 Thread Andrey Kozhevnikov
It should scroll if viewport width is higher than webview width. 11.06.2015 16:20, Rudi Timmermans пишет: Hi, As i'm start with coding for Sailfish OS, i have some idea but i can not figer it out how i can fix this into the code. I have made a Facebook Messenger with the www.messenger.com we

[SailfishDevel] Scroll horizontal

2015-06-11 Thread Rudi Timmermans
Hi, As i'm start with coding for Sailfish OS, i have some idea but i can not figer it out how i can fix this into the code. I have made a Facebook Messenger with the www.messenger.com webpage build into the app, now i like to have that users can scroll horizontal to see older message into th

Re: [SailfishDevel] PullDownMenu in a Dialog?

2015-06-11 Thread Thomas Tanghus
On Thursday 11 June 2015 15:26:00 Andrey Kozhevnikov wrote: > You did some weird stuff... LOL yeah probably > I sent PR: > https://github.com/tanghus/kitchen-timer-qml/pull/6 Thanks. It works perfectly. > But imho it's better to use /[..]/ folder to navigate up and not use > PullDown menu for t

Re: [SailfishDevel] PullDownMenu in a Dialog?

2015-06-11 Thread Thomas Tanghus
Ah, yes, I forgot to mention that I wanted the PullDownMenu to appear below the header, but thinking about it it's more convenient to have it always visible. Thanks. Now I just need to position the SilicaListView correctly. "y: header.height;" pushes the header bar down header.height, "topMargi

Re: [SailfishDevel] PullDownMenu in a Dialog?

2015-06-11 Thread Andrey Kozhevnikov
You did some weird stuff... I sent PR: https://github.com/tanghus/kitchen-timer-qml/pull/6 But imho it's better to use /[..]/ folder to navigate up and not use PullDown menu for this. P.S. I personally prefer using this: var picker = pageStack.push("Sailfish.Pickers.MusicPickerPage", {"title

Re: [SailfishDevel] PullDownMenu in a Dialog?

2015-06-11 Thread Thomas Tanghus
Hmm, I'm pretty sure I've already tried that. Gimme a sec and I'll try again :) On Thursday 11 June 2015 05:05:24 Kimmo Lindholm wrote: > Similar things as earlier. > > Don't give y to Pulldownmenu, breaks. > Dialogheader not in Dialog, but in child. > > https://gist.github.com/kimmoli/626c8381