Tuesday, 2014-01-28

*** Swim_ has joined #sailfishos00:00
Swim_Hi, just testing the Emulator on Mac for JS detection checks. I get reports of a 0 value for both window.outerHeight and window.outerwidth in the browser, just want to report what seems to be a bug.00:05
*** M4rtinK has joined #sailfishos00:16
*** M4rtinK has quit IRC00:25
*** arcean has quit IRC00:28
*** Eztran has quit IRC00:34
kaltsiSwim_: could you write about it to the mailing list or together.jolla.com, might get more audience that way00:39
*** jjanvier has quit IRC00:44
*** Kabouik has joined #sailfishos00:46
*** AL13N_lappy has quit IRC00:52
*** Zesty_ has quit IRC00:55
*** triggerhappy has joined #sailfishos00:55
Swim_kaltsi: yes i could, but i honestly don't want to dwell that far on the sailfish os. Plus as it turn out those values are quite as mess with different takes on all browsers http://www.quirksmode.org/blog/archives/2012/03/windowouterwidt.html so no big deal. but thanks00:56
*** Zesty_ has joined #sailfishos00:59
*** sequantz has quit IRC01:02
*** f00barbaz has quit IRC01:03
*** Zesty_ has quit IRC01:04
*** Swim_ has quit IRC01:05
*** miksuh has quit IRC01:08
*** cnuke_ has quit IRC01:24
*** Zesty_ has joined #sailfishos02:07
*** Morpog has joined #sailfishos02:11
*** Tomiol80 has quit IRC02:12
*** Morpog_Mobile has quit IRC02:13
*** Morpog_ has quit IRC02:14
*** Morpog_Mobile has joined #sailfishos02:19
*** softmetz has quit IRC02:49
*** softmetz has joined #sailfishos02:51
*** Kabouik has quit IRC02:57
*** Funkeh` has joined #sailfishos03:17
*** Gilly has quit IRC03:33
*** promulo has quit IRC03:42
*** sletta has joined #sailfishos03:57
*** furikku has joined #sailfishos03:58
*** Thoric has quit IRC04:04
*** Thoric has joined #sailfishos04:16
*** fuz_ has quit IRC04:57
*** fuz_ has joined #sailfishos05:02
*** martyone has joined #sailfishos05:17
*** alchymia has joined #sailfishos05:19
*** s1gk1ll_ has joined #sailfishos05:26
*** s1gk1ll has quit IRC05:27
*** Pat_o has joined #sailfishos05:49
*** dafox has joined #sailfishos05:49
*** alchymia has quit IRC05:51
*** softmetz_ has joined #sailfishos05:56
*** softmetz has quit IRC05:59
*** dafox has quit IRC06:08
*** Almehdin|Zzz has quit IRC06:19
*** flyapen has joined #sailfishos06:22
*** piggz has joined #sailfishos06:29
*** VDVsx has quit IRC06:30
*** VesimN9_ has quit IRC06:32
*** lbt has quit IRC06:34
*** piggz has quit IRC06:34
*** lbt has joined #sailfishos06:35
*** Eismann has quit IRC06:40
*** jardous has joined #sailfishos06:41
*** VDVsx has joined #sailfishos06:43
*** proyvind has quit IRC06:45
*** Almehdin has joined #sailfishos06:48
*** Almehdin has quit IRC06:51
*** dafox has joined #sailfishos06:57
*** artemma has joined #sailfishos06:58
*** Morpog has quit IRC07:06
*** jonpacker has joined #sailfishos07:07
*** satmd has quit IRC07:08
*** satmd has joined #sailfishos07:14
*** dafox has quit IRC07:15
*** rcg has joined #sailfishos07:17
artemmaMy App update was APPROVED yesterday, but not PUBLISHED yet. When do I know it's not normal and it's time to ask if something went wrong?07:19
*** charlesy has quit IRC07:32
tomyriis there way to connect with harbour qa, i have questions about my lates reject07:36
tomyri..or could someone here help. i got "File creation in "[PATH]" is not allowed" when all files should be writed to proper locations07:39
artemmatomyri: are you creating files in the allowed locations only then? :)07:40
tomyriin app i use QStandardPaths::writableLocation(QStandardPaths::CacheLocation) to get the locatio07:40
artemmaI don't think the message is about your app run-time stuff (though maybe)07:41
tomyriand app and organization name are set07:41
*** jonpacker has quit IRC07:41
tomyriwell i didn't change anything in pro07:41
*** Pat_o has quit IRC07:42
*** jonpacker has joined #sailfishos07:47
*** b0bben has joined #sailfishos07:50
*** s1gk1ll has joined #sailfishos07:50
*** s1gk1ll is now known as Guest442807:51
*** jonpacker has quit IRC07:51
*** Sfiet_Konstantin has joined #sailfishos07:51
*** s1gk1ll_ has quit IRC07:54
*** Pat_o has joined #sailfishos07:55
artemmatomyri: is the message actually mentioning the path you are misusing07:59
*** Pat_o has quit IRC07:59
*** cxl000 has joined #sailfishos08:00
*** Custodian has joined #sailfishos08:03
*** gabriel9|work has joined #sailfishos08:06
*** juhe has joined #sailfishos08:07
*** veskuh has joined #sailfishos08:07
*** c0ck4m0u53 has joined #sailfishos08:07
tomyrino just "[PATH]"08:08
Nicd-haha, looks like they forgot to replace it08:09
artemmatomyri: and you are sure your RPM itself is not deploying files to not allowed location?08:09
artemmawell, then it must be abut runtime08:09
artemmaIf it is indeed about QStandardPaths::CacheLocation, they can probably process your request manually even if script rejects it now08:10
artemmaso post the question to this channel once a few hours and you might get help by somebody from Jolla Harbour :)08:10
artemmaor if you are hopeful, you can try developer-care email :)08:11
tomyriartemma: jes, rpm is fine08:12
*** jonpacker has joined #sailfishos08:13
tomyriand last validation took 6 days so i would really like to know whats wrong before resubmitting08:14
*** jonpacker has quit IRC08:14
artemmawell, I can only repeat the advice of posting your question here once per several hours. Usually help comes rather quickly08:14
*** jonpacker has joined #sailfishos08:15
tomyriartemma: ok, thanks for advive08:15
artemmaor you can try developer-care email. They probably do reply at least to somebody too08:15
*** jjanvier has joined #sailfishos08:16
*** thesignal has quit IRC08:16
*** TemeV has quit IRC08:16
*** thesignal has joined #sailfishos08:17
*** TemeV has joined #sailfishos08:17
walokra6 days for QA.. are there so many apps in harbour queue?08:17
walokrajust pushed my app for 1st time yesterday08:17
*** kontio has quit IRC08:17
Nicd-me too, let's see how long it takes08:17
tomyriwalokra: most times it has took 1-3 days, this was second longer wait for me08:18
artemmawalokra: according to dashboard yesterday 12 apps were submitted, day before I remember there were too. Usual number seems to be 4-10/day. And I think exactly this number is not fake08:18
*** xruxa_away has quit IRC08:18
artemmawere two*08:18
walokrayeah, eta for approval shows 48h08:19
sejois there somewhere a howto on how to implement a service for sailfishos?08:19
*** Merbot has joined #sailfishos08:20
-rajaniemi.freenode.net- [freenode-info] if you're at a conference and other people are having trouble connecting, please mention it to staff: http://freenode.net/faq.shtml#gettinghelp08:20
*** xruxa_away has joined #sailfishos08:20
*** Kabouik has joined #sailfishos08:20
*** kontio has joined #sailfishos08:21
*** kontio has quit IRC08:21
*** kontio has joined #sailfishos08:21
artemmasejo: to my understanding at the moment there is no official way to subscribe to anything or get started on some event. I would guess you could use a dirty timed hack and start as a fake custom alarm handler, but that's it. And even that's unsure08:22
artemmaI mean no way to make an event start your app. If it's already running, mayeb there's a way to watch notifications. Somebody told they are norma; KDE notifications08:22
*** cxl000 has joined #sailfishos08:22
sejoartemma: the service would be running08:23
artemmasejo: services are not allowed for now08:23
sejoI gues Sailfishos uses dbus08:23
sejoartemma: bleh, then I can' t start getting my pebble working with the jolla08:23
* sejo puts the jolla back into the box08:23
* artemma used timed hack in Harmattan, would guess it will work for Jolla too, not sure if they would let it to harbour though08:24
special"allowed in *habour*", not just "allowed"08:24
tbrwell, start outside of harbour and don't do such dirty hacks08:24
sejoartemma: timed hack would mean there must be a list of called notifications (new mail, sms incoming, incoming call,...)08:24
sejowhich is not what I'm looking for08:25
* tbr is working on SOWatch and doesn't give a flying whatever if something with a background process will be allowed or not08:25
tbrhint: it does exactly the same, just for different devices08:25
artemmasejo: that's beyond me, maybe somebody can give advice. I have only heard shortly that Sailfish notifications seem to be normal KDE ones08:25
sejotbr: true, how do you get the notifications, through dbus?08:26
*** Pat_o has joined #sailfishos08:26
tbrsejo: I'm not at that part yet, but I figured out how to get e.g. call info through dbus08:27
tbrsome info that's interesting is in statefs08:27
specialsejo: notifications (if you mean banners and such) use the fd.o notifications spec, with some customization08:27
specialsejo: see nemo-qml-plugin-notifications, and lipstick (which has the service implementation)08:27
kontiosejo: see https://github.com/d0b3rm4n/harbour-sidudict/blob/master/src/sidudictlib.cpp#L315-L34808:28
sejospecial: thanks I'll look into it08:28
sejocool just as I thought dbus08:29
*** b0bben has quit IRC08:30
*** b0bben has joined #sailfishos08:30
*** b0bben_ has joined #sailfishos08:33
*** f00barbaz has joined #sailfishos08:34
*** b0bben has quit IRC08:34
*** Nokius1 has joined #sailfishos08:36
*** Nokius has quit IRC08:37
*** Pat_o has quit IRC08:37
*** jjanvier has quit IRC08:39
*** M4rtinK has joined #sailfishos08:42
*** xruxa_away is now known as xruxa08:42
*** SfietKonstantin has joined #sailfishos08:45
*** Sfiet_Konstantin has quit IRC08:48
*** f00barbaz has quit IRC08:48
joonahoii've been looking into dbus stuff myself the whole morning, on the python side though. building pythond-bus against the proposed python 3.3 is way too much hassle atm08:49
joonahoihas way too many dependencies08:49
joonahoibut if there's qml plugin already, i don't need it08:50
*** TheBootroo_ has quit IRC08:51
Sage_mornfall: M4rtinK: I meant you don't need to use it if you submit to harbour, just wanted to know why you had to use it :)08:56
mornfallThe question is I guess, *can* I use it? :-)08:57
*** macben has joined #sailfishos08:57
M4rtinKI think there should be no problem with "normal" DBUS08:58
M4rtinKjust with some more sensitive interfaces (packagekit ?)08:58
M4rtinKbut you don't have to care about it if you just publish it on OpenRepos :)08:59
M4rtinKless hassle & more time to actually work on the app08:59
M4rtinKless time spent on banding the app backwards to comply with the currently messy rules for Harbour08:59
Sage_mornfall: yes. which project that package should be build in?09:00
Sage_mornfall: in obs that is09:00
*** jjanvier has joined #sailfishos09:00
*** nahkiss_ has quit IRC09:00
*** jani has quit IRC09:00
*** jani has joined #sailfishos09:00
M4rtinKSage_: do you mean target/repository ?09:01
mornfallwait a sec, I lost the wiki09:01
*** jani is now known as Guest9109:01
Sage_M4rtinK: well e.g. home:sage is my home project in obs09:01
mornfallI don't have a project in OBS.09:01
*** roboro has quit IRC09:01
Sage_I can do the webhook for you yes but I need to know the obs target project where it should be hooked09:01
M4rtinKmost people setup a sailfish project there09:01
M4rtinKso home:sage:sailfish09:02
M4rtinKand for that project you enable the Sailfish target09:02
M4rtinKjust make sure armv7hl is enabled as architecture09:02
*** b0bben_ has quit IRC09:02
M4rtinKimho the defaults are still wrong09:02
Sage_M4rtinK: well, it is not my package so will not hook under my home :)09:03
*** b0bben has joined #sailfishos09:03
*** jjanvier has quit IRC09:03
*** jjanvier has joined #sailfishos09:03
M4rtinKso basically, an OBS project correctly configured for Sailfish package building looks like this: https://build.merproject.org/project/show?project=home%3AMartinK%3Asailfish%3Amodrana09:03
*** Pat_o has joined #sailfishos09:03
M4rtinKif that was the question :)09:03
Sage_M4rtinK: that wasn't the question but ok :)09:03
Sage_M4rtinK: mornfall wants to build _his_ package in obs but he is missing at least obs account and thus also the home project where the mappig could be done09:04
mornfallbasically I have no idea what I am doing09:04
*** sequantz has joined #sailfishos09:04
Sage_lbt: ^09:04
*** nahkiss has joined #sailfishos09:04
mornfallthe wiki didn't tell me I need to create accounts :-)09:04
*** KangOl has joined #sailfishos09:05
mornfalland I can't find the wiki right now09:05
*** jjanvier has quit IRC09:05
*** jjanvier has joined #sailfishos09:05
*** roboro has joined #sailfishos09:05
*** jjanvier has joined #sailfishos09:05
mornfallok I found the URL at least09:06
mornfallsorry it's still early morning for my brain09:06
*** lpotter has quit IRC09:07
Sage_ok so maybe this part would need a bit clearer guidance https://wiki.merproject.org/wiki/Nemo/Development#Preparing_the_target_project_in_OBS09:07
mornfallright, I'm looking at https://wiki.merproject.org/wiki/Nemo/Development ... I guess it tacitly assumes you already have all the accounts09:07
Sage_mornfall: yes, need to add reference that you need obs account if you want to try to build with obs09:07
*** b0bben has quit IRC09:07
Sage_added comment to that wiki page09:10
* mornfall working on it09:10
*** macben has quit IRC09:10
Sage_mornfall: https://wiki.merproject.org/wiki/Nemo/Development#Preparing_the_target_project_in_OBS added instructions :)09:10
*** miksuh has joined #sailfishos09:11
*** lpotter has joined #sailfishos09:11
mornfallok, I logged into build.merproject.org09:11
*** M4rtinK has quit IRC09:12
mornfallcreating home project09:12
mornfallok, I probably have a home project, not entirely clear how to set up archs for it tho09:15
mornfallhmm, is there a web-ui counterpart to the osc command in the wiki?09:16
*** s1gk1ll has joined #sailfishos09:20
*** s1gk1ll is now known as Guest8462209:20
*** pp has joined #sailfishos09:21
Sage_mornfall: yes there is. You can check the project config example from https://build.merproject.org/project/meta?project=home%3AMartinK%3Asailfish%3Amodrana09:22
Sage_so you can modify this https://build.merproject.org/project/meta?project=home%3Amornfall09:22
*** Guest4428 has quit IRC09:24
*** goroboro has joined #sailfishos09:26
*** roboro has quit IRC09:26
*** Andy80 has joined #sailfishos09:29
*** faenil has joined #sailfishos09:30
mornfallSage_: I managed to get osc working. The form on the web can't be submitted without javascript, apparently.09:31
mornfall(And I can't be arsed to boot a "real" browser, and typing in the stuff on the phone is boring.)09:34
*** Guest84622 has quit IRC09:39
*** s1gk1ll has joined #sailfishos09:42
*** s1gk1ll is now known as Guest640509:42
elenrilpkexec --user root cat /etc/shadow10:00
elenrilactually works10:00
elenrilas user nemo10:00
*** b0bben has joined #sailfishos10:03
jukewhere do i find the QtWebKit module in the sdk? i need to ship part of it with my app10:03
*** faenil has quit IRC10:04
*** s1gk1ll_ has joined #sailfishos10:04
jukei found the qml file which only has module QtWebKit.experimental\n plugin qmlwebkitexperimentalplugin10:06
*** Guest6405 has quit IRC10:08
*** b0bben has quit IRC10:08
*** faenil has joined #sailfishos10:10
*** s1gk1ll__ has joined #sailfishos10:12
*** s1gk1ll_ has quit IRC10:14
*** _miqu_ has joined #sailfishos10:18
*** macben has joined #sailfishos10:21
*** macben has quit IRC10:25
*** arcean has joined #sailfishos10:28
jukefound the .so10:29
jukenow i just have to import it somehow from /usr/share/App10:30
*** SfietKonstantin has quit IRC10:35
Sage_elenril: well it asks for password still right? which isn't set if developer mode isn't there.10:35
*** KangOl has quit IRC10:37
*** Anton__ has joined #sailfishos10:37
artemmaMy app was approved 21 hours ago, still not published. Anybody here who could possibly check it out?10:38
*** simbrown has joined #sailfishos10:38
artemmathat is Quick Launcher update10:39
*** KangOl has joined #sailfishos10:40
elenrilSage_: nope10:42
elenrilit allows everything without passwords10:42
*** s1gk1ll__ is now known as s1gk1ll10:42
elenrilthanks to /var/lib/polkit-1/localauthority/50-local.d/75-store-client-pkgkit-issues-workaround.pkla10:43
*** Venemo_j has joined #sailfishos10:48
*** euroelessar has quit IRC10:52
*** juhe has quit IRC10:56
*** dawnbringer has joined #sailfishos10:56
Anton__Hello people, maybe you can help me as Im not experienced with QT. Im trying to run an qt4 app using QDeclarativeView. It tries to load the qml plugin "com.nokia.meego", which I installed with package qt-components-qt5. But I have trouble importing. It seems like com.nokia.meego is a qt5 plugin and not compatible with QDeclarativeView. Am I right?10:56
Yanielno, com.nokia.meego dates back to Qt410:57
jukewhat's the difference of $${VAR} and ${VAR} in qmake?10:59
Anton__I have also tested using qmlviewer. It fails with 'plugin cannot be loaded for module "com.nokia.meego": Unknown error'11:03
Anton__But using qmlscene it works11:03
Anton__I have tried both 1.0 and 2.011:04
jukei too have problem with qml_import_path :D11:04
jukei wish i knew how to define it11:04
Anton__Yes. its quite confusing11:04
Anton__juke: I think $${VAR} and $$VAR is the same. ${VAR} i dont know about but $(VAR) is refering to an environment variable11:10
Anton__from what i read11:10
*** juhe has joined #sailfishos11:16
*** Tomiol80 has joined #sailfishos11:16
*** Pat_o has quit IRC11:18
Anton__juke: Are you still struggling with import path?11:22
*** jluisn has joined #sailfishos11:24
*** NoGy_ has joined #sailfishos11:27
Anton__Yaniel: But still I cant import com.meego using QDecalarativeView or qmlviewer (both using /usr/lib/qt5/import as import path). But I can import using qmlscene (/usr/lib/qt5/qml). Any ideas?11:30
*** NoGy has quit IRC11:31
*** NoGy_ is now known as NoGy11:31
Anton__I dont have com.nokia.meego in /usr/lib/qt5/imports/  but in /usr/lib/qt5/qml11:31
Anton__and so it cannot be found by qmlviewer: module "com.nokia.meego" is not installed11:33
Anton__but with QML_IMPORT_PATH=/usr/lib/qt5/qml it can be found, except now I get:  plugin cannot be loaded for module "com.nokia.meego": Unknown error11:34
*** b0bben has joined #sailfishos11:34
Anton__That is why i suspect the plugin is not compatible11:34
*** Pat_o has joined #sailfishos11:35
jake9xxAnton__: imo qmlviewer is for qt4, qmlscene is for qt511:36
Anton__jake9xx: Yes that is understood.11:36
*** Bloob has joined #sailfishos11:36
*** w00t_sf has joined #sailfishos11:38
Anton__jake9xx: My problem is actually that Im trying to use the QDeclarativeView as I thought It was still compatible in qt511:38
Anton__But cant get it to work11:38
*** b0bben has quit IRC11:39
jake9xxAnton__:  you've been at : http://qt-project.org/doc/qt-5.0/qtquick/qtquick-porting-qt5.html#qdeclarativeitem-and-qdeclarativeview ?11:40
Anton__jake9xx: yes I have read it.11:40
jake9xxsorry slow on answers, compiling stuff atm (cpu's running 100%)11:40
Anton__no probs11:40
jake9xxthat ought to explain the difference11:40
Anton__BUT in the end of the article: "QtDeclarative module is still available in Qt 5 but has been renamed to QtQuick1"11:41
Anton__I have some questions about that11:41
jake9xxwhy do you want to keep on that track? It's marked as deprecated so it can go away anytime, right?11:43
Anton__jake9xx: Well, I thought I didnt have to make big changes to my code thats all11:43
jake9xxbut if your app is mostly qml - you don't have to do much11:44
jake9xxif you draw ui items on c++ , you're not in luck11:44
Anton__jake9xx: If i do as in the article and add quick1 to the .pro file: Project ERROR: Unknown module(s) in QT: quick111:46
Anton__so i suppose that is changed11:46
Anton__i use QT += declarative instead11:47
Anton__Or i something worng >(11:47
Anton__But the QDeclarative headers comes with the package qt5-qtquick1-devel11:49
*** Pat_o has quit IRC11:49
jake9xxAnton__: would you have code somewhere visible?11:50
Anton__No sorry11:50
jake9xxI think you'd be better off with just forgetting the quick1 and go with QtQuick 2.0 all the way11:50
*** leszek has joined #sailfishos11:51
jake9xxwe (in sailfish) don't recommend using qtquic 1.x at all11:51
Anton__Yes. Actually Its not my code, Im just trying to get it work on sailfish11:51
leszekcan someone confirm that qml webview keeps redirecting when trying to load this site ? http://spiegel.de/article.do?id=94589211:51
Anton__So Im not sure exaclty how much work it will be to port to quick 211:51
Anton__jake9xx: Thank you11:52
jake9xxAnton__: w/o seeing any of the code ; cannot tell11:52
Anton__jake9xx: But It does mean giving up QDeclarative* right11:53
jake9xxAnton__: if you use qml of ui and qt c++ for some number crunching - comparing your main.cpp and any example/template app would reveal you the level of complexity11:53
jake9xxAnton__: I'd use QQuick* instead11:53
artemmaMy app is approved and not published for over a day. Anybody here who I could ask?11:54
jake9xxartemma: app name?11:56
artemmajake9xx: Quick Launcher11:56
*** mk2soldier has joined #sailfishos12:04
jukeharbour needs the name of the rpm to start with harbour-, where should it be specified? can the TARGET still be the app's name?12:06
jukei tried just renaming the rpm, but that didn't do12:06
artemmajuke: TARGET should also be harbour-mycoolapp12:06
artemmaand other stuff such as icon too12:07
artemmacheck harbour FAQ12:07
jake9xxartemma: store guys are working on it12:07
artemmajuke: HelloWorld Pro has a wizard script, but it is basically a renamer, you can try using it for converting existing project to harbour compatible one12:08
artemmajake9xx: thx12:08
jukeartemma, thanks!12:08
jake9xxit's approved but there's some tech.issue preveinting it to be released. once that is solved - it's good12:08
artemmajake9xx: I also noticed that for some reason no screenshots are shown for Quick Launcher in the app store. Not sure if it's related12:08
jukeartemma, so also .desktop and .png needs to be renamed?12:13
artemmajuke: I think so. I don't remember full list by heart. Check FAQ and/or HelloWorld Pro12:13
*** mk2soldier has quit IRC12:14
*** Pat_o has joined #sailfishos12:16
*** KangOl has quit IRC12:18
*** KangOl has joined #sailfishos12:26
*** Venemo_j has quit IRC12:39
*** arcean has quit IRC12:44
*** w00t_sf has quit IRC12:50
artemma6 days after app update submission and still not in store.. sigh12:54
*** martyone has quit IRC13:00
*** mk2soldier has joined #sailfishos13:03
*** cnuke has joined #sailfishos13:06
*** Anton__ has quit IRC13:12
*** freedomrun has joined #sailfishos13:16
leszekfinally custom certificate verfication landed in webcat :)13:18
*** leszek has quit IRC13:21
*** triggerhappy has quit IRC13:25
*** triggerhappy has joined #sailfishos13:27
*** dhbiker has joined #sailfishos13:33
*** VesimN9_ has joined #sailfishos13:35
*** Finleida has joined #sailfishos13:38
*** BeholdMyGlory has joined #sailfishos13:46
*** Waitee has joined #sailfishos13:50
Waiteecoderus: mitäkuuluu cant handle ">"13:50
Waiteewriting an issue :3 ->13:51
artemmajake9xx: Quick Launcher still isn't published.. normal and I should just wait more?13:54
jake9xxartemma: like I told, they are working on it. Some IT stuff going on13:55
jake9xxyou don't need to do more , if that was your question13:55
artemmajake9xx: okay, just not sure when I need to ping again if things don't work still13:55
*** VesimN9_ has quit IRC13:56
jake9xxartemma: we are monitoring this as well13:56
*** VesimN9_ has joined #sailfishos13:56
artemmaI thought it is about that particular app onlt13:56
*** Morpog_Mobile has quit IRC13:57
jake9xxno, it's the whole flow if I understood it right13:57
jake9xxso many web technologies combined :/13:58
tachikomanyway, have to go shopping13:58
* artemma works with at least three web tech things on his job and manages two app platforms. IT world went complex lately13:59
*** _miqu_ has quit IRC14:00
jake9xxartemma: yeah, it seems in web development there's lot of stuff going to fix things that are not broken14:02
walokraif it's not broken, you fix it to make it better :)14:03
ottuloWaitee: could you try if yo have the same bug as I do in mitakuuluu?14:04
Waiteeottulo: what's your bug?14:04
ottuloWaitee: when writing a message, move the cursor somewhere in the middle of the message14:04
jake9xxregarding MongoDB, it gives me the creeps as it looks _so_ much like QJSONDB..14:05
ottuloWaitee: when you send it, it'll add a line break at cursor location14:05
Waiteebut my case works like this:14:05
Waiteesomeone sends a whatsapp message containing one or more ">" symbols14:05
Waiteemitäkuuluu shows them as "&gt"14:06
Waiteewhen i send "&gt" to a channel android users see it as >14:06
ottuloI just tried sending that, had two of them in the message: first one changed to "&gt"14:06
Waiteeoh yea14:07
Waiteeif you add a space between another symbol and ">" it displays it correctly14:07
Waiteeif it isnt the first letter14:07
Waiteefunny thing is "<" shows as it should14:08
Waiteeso for example my irc message copy pasted to mitäkuuluu would look like this:14:09
Waitee< Waitee&gt funny thing is "<" shows as it should14:09
*** softmetz_ has quit IRC14:09
Waiteeinstead of: < Waitee> funny thing is "<" shows as it should14:09
*** softmetz has joined #sailfishos14:09
ottulohmm... I tried with "testing.. > >" and it turned out as "testing.. &gt >"14:10
ottuloso even though there is a space before the first one it changed14:10
Waiteeyeah it changes it if it is the first symbol14:11
Waiteebut if there's a space on the left side of it, it doesnt change14:11
ottuloah, I think I got what you mean now14:12
Waiteetry typing >>14:12
ottuloyeah, I see what you mean14:12
ottuloso if there's another symbol anywhere in the line before > and a space in front of > it'll show correctly14:13
Waiteesince whatsapp removes spaces from the beginning of line14:14
zumbido you have whatsapp? or wazapp?14:14
ottulozumbi: mitakuuluu14:15
zumbimitakuuluu == what's up? :)14:15
Waiteezumbi: Mitä kuuluu == what's up14:16
ottuloit's the name of the app14:16
WaiteeMitäkuuluu is a name of a native whatsapp client for jolla14:16
* artemma hopes Jolla app store has a cool back up system and tried restoring at least once14:16
*** davion has joined #sailfishos14:17
*** miksuh has quit IRC14:21
*** Eztran has joined #sailfishos14:32
jukelink rot is strong with qt :/14:34
*** martyone has joined #sailfishos14:39
*** chriadam|away has quit IRC14:41
*** chriadam has joined #sailfishos14:42
*** artemma has quit IRC14:42
*** artemma has joined #sailfishos14:43
*** miksuh has joined #sailfishos14:46
*** nisse2 has joined #sailfishos14:48
*** stephg has left #sailfishos14:50
*** stephg has quit IRC14:50
*** nisse2 has quit IRC14:51
*** stephg has joined #sailfishos14:52
Nicd-the qt manuals are terrible IMO :P14:56
Nicd-no easy switch between Qt versions, the docs are all over the web in different URLs14:56
Nicd-and google always returns the version you're not looking for14:56
artemmathey exist :)14:56
elenrilyeah, clearly you haven't seen many manuals14:56
Nicd-I've seen good ones14:57
SiddeNicd-: and lots of pages are on non existing nokia domains14:57
Nicd-well, let's say I've seen better ones14:57
* artemma always uses !qt accelerator in duckduckgo. E.g. "!g QString"14:57
jukecompared to android, qt is not that good14:57
jukealso, qt5 documentation is even worse14:58
jukei really wish google would remove dev-harmattan.nokia.fi from the top of the results14:58
Nicd-anyway, yay, my SSL sockets are working :)14:58
*** master_o1_master has joined #sailfishos14:59
*** proyvind has joined #sailfishos15:00
*** master_of_master has quit IRC15:02
*** Andy80 has quit IRC15:07
*** diegoyam has quit IRC15:10
*** VDVsx has quit IRC15:14
coderusWaitee: are you using last version?15:15
*** jospoortvliet has quit IRC15:18
Waiteecoderus: ^15:18
*** itbaron has joined #sailfishos15:19
*** sletta has quit IRC15:20
*** martyone has quit IRC15:21
Nicd-can I change the compiler in Qt Creator to add a c++0x flag?15:23
YanielCONFIG += c++11 ?15:24
Nicd-ah, in the pro file15:24
*** Pat_o has quit IRC15:25
*** diegoyam has joined #sailfishos15:36
*** jonpacker has quit IRC15:37
*** _miqu_ has joined #sailfishos15:39
*** flyapen has quit IRC15:40
*** Pat_o has joined #sailfishos15:42
*** davion has quit IRC15:45
*** Pat_o has quit IRC15:46
*** miksuh has quit IRC15:47
*** jardous has quit IRC15:50
*** Tumeez has quit IRC15:55
*** KangOl has quit IRC15:55
*** Andy80 has joined #sailfishos15:56
*** miksuh has joined #sailfishos15:59
*** arcean has joined #sailfishos16:01
*** martyone has joined #sailfishos16:02
*** xruxa is now known as xruxa_away16:03
*** Tumeez has joined #sailfishos16:03
*** triggerhappy has quit IRC16:05
*** KangOl has joined #sailfishos16:07
*** jonpacker has joined #sailfishos16:12
*** _miqu_ has quit IRC16:16
*** Almehdin has joined #sailfishos16:17
*** faenil has quit IRC16:19
*** _miqu_ has joined #sailfishos16:20
*** VesimN9__ has joined #sailfishos16:22
*** faenil has joined #sailfishos16:24
*** VesimN9_ has quit IRC16:25
*** m4nn3rrz has quit IRC16:25
*** martyone has quit IRC16:32
*** Venemo has joined #sailfishos16:32
*** VesimN9_ has joined #sailfishos16:34
*** VesimN9__ has quit IRC16:37
*** Pat_o has joined #sailfishos16:39
*** gabriel9|work has quit IRC16:43
*** Pat_o has quit IRC16:45
*** sletta has joined #sailfishos16:49
*** m4nn3rrz has joined #sailfishos16:49
*** VesimN9_ has quit IRC16:52
*** jonpacker has quit IRC16:53
*** Morpog_PC has joined #sailfishos16:55
*** jonpacker has joined #sailfishos17:00
*** sletta has quit IRC17:00
*** grondinm has joined #sailfishos17:01
grondinmHello. I am interested in trying out sailfishos. Is it possible to build it from source for say the nexus 5?17:02
*** jjanvier has quit IRC17:04
Yanielgrondinm: look at nemomobile to get started17:06
Yanielbecause that is what sailfish is built on17:06
Yanielsome parts are closed so it might get tricky17:06
Yaniel(in sailfish)17:06
grondinmwell i think doing the porting itself is beyond me....i might look into it. I was more wondering if something was already setup for it17:08
Yanielsome people have been working on it17:08
tbra nexus4 port has been shown, but no instructions are public17:09
tbrmy understanding is, that as long as cm10.1 runs, it will be fairly easy to put sailfish on the device17:09
grondinmwell that is all good to hear. I want something different than android. Not because android is bad really just because i like new different things...see cm10.1 wont run on nexus 5 as it is a android 4.4 device17:10
tbrI think libhybris saw some 4.4 patches, but it will be additional legwork17:11
tbrshort answer though: there is nothing, come back in a few months17:11
grondinmthat is what i though. Glad it seems to be coming tho. thank you17:12
*** Pat_o has joined #sailfishos17:17
*** jobe-m has joined #sailfishos17:18
*** VDVsx has joined #sailfishos17:19
*** mk2soldi_ has joined #sailfishos17:20
*** mk2soldier has quit IRC17:21
*** martyone has joined #sailfishos17:23
*** artemma has quit IRC17:23
*** Pat_o has quit IRC17:23
*** grondinm has left #sailfishos17:24
*** _miqu_ has quit IRC17:27
*** rm_work|away is now known as rm_work17:28
*** dawnbringer has quit IRC17:30
*** Morpog_Mobile has joined #sailfishos17:32
*** jjanvier has joined #sailfishos17:34
BearTanyone knows if NDEBUG is undefined anywhere in qt? from inspecting the build command line for a release build it seems that there is only a special  qt define -DQT_NO_DEBUG but not the usually expecte -DNDEBUG. i mean, it's easy to define that myself, but it's quite annoying if I have to include a global header everywhere, just because the typical defines are not available17:36
*** martyone has quit IRC17:41
*** juhe has quit IRC17:41
*** jonpacker has quit IRC17:45
*** rcg has quit IRC17:49
jukehttps://together.jolla.com/question/20683/importing-qml-modules/ anyone know where to put custom qml modules?17:49
*** Pat_o has joined #sailfishos17:50
*** freedomrun has quit IRC17:50
Venemojuke: see https://harbour.jolla.com/faq17:50
jukei've read it17:51
Venemospecifically, https://harbour.jolla.com/faq#5.3.017:51
jukeespecially that17:51
Venemoit tells you exactly where to put them17:51
jukethey are in the right place, but my does find them even though i have set QML_IMPORT_PATH17:52
jukemy app*17:53
*** onurati has joined #sailfishos17:53
jukeor should they be in the root of /usr/share/harbour-awesomeapp ?17:53
*** wickwire has joined #sailfishos17:53
Venemojuke: I dunno, I would ask thp about it, he might know17:55
*** Andy80 has quit IRC17:55
*** nathrakh has joined #sailfishos17:56
jukethp, i can't get importing private qml modules working: https://together.jolla.com/question/20683/importing-private-qml-modules/ might you know what i am doing wrong?17:57
wickwirecoderus: about that I issue I had yesterday, passing QML variables across pages, I managed to solve it - and just for irc logging purposes:17:58
wickwirevar propertiesToPush = { "property1" : firstProp, "property2" : secondProp };17:58
wickwireand on the nextPage, I define property1 as property string property1 and also property217:59
wickwirethis way it works, sending multiple variables from one page to another17:59
wickwireI tried pushExtra in a similar fashion but wouldn't work17:59
*** simbrown has quit IRC18:06
*** Gugli has joined #sailfishos18:07
*** Gugli has quit IRC18:07
*** Uninstall has quit IRC18:10
ahiemstrajuke: you want http://qt-project.org/doc/qt-5.0/qtqml/qqmlengine.html#addImportPath18:13
jukeahiemstra, thanks! i'll try that18:13
*** martyone has joined #sailfishos18:19
ahiemstrajuke: also, note that unless you put the plugin into /usr/share/harbour-app/qml/harbour/app/qtwebkit/experimental you'll need to change the import line to "import experimental 1.0"18:20
*** Sail0r has joined #sailfishos18:20
*** spider-mario has joined #sailfishos18:22
jukethat makes sense18:22
jukeyou mean import harbour.app.experimental 1.0?18:23
jukejust experimental will not pass rpmvalidator18:23
*** fk_lx has quit IRC18:23
ahiemstrathere is no directory harbour/app so unless you add that the qml engine won't find your import18:24
*** artemma has joined #sailfishos18:24
jukeaah, ofc18:24
*** DrIDK has joined #sailfishos18:24
jukeso i need to add qmldir files to each level as well18:24
ahiemstrajust the directory structure with a qmldir at the end18:25
ahiemstrathe qmldir defines an "api" of sorts for the qml plugin18:25
jukeahiemstra, thank you so much! that was the last piece i needed to do before publishing!18:27
ahiemstrayou're welcome :)18:27
*** VesimN9_ has joined #sailfishos18:28
*** artemma has quit IRC18:28
*** artemma has joined #sailfishos18:29
*** sletta has joined #sailfishos18:30
wickwirehi guys, I'm trying to use a CheckBox element in ListView, but it's not getting it recognized by SailfishOS18:30
jukewickwire, try textswitch18:31
wickwirejuke ok thanks18:31
jukethere's no checkbox in silica18:31
*** clau has joined #sailfishos18:31
*** amrileria has joined #sailfishos18:32
*** piggz has joined #sailfishos18:32
*** wickwire has quit IRC18:38
*** fk_lx has joined #sailfishos18:40
*** qqK has joined #sailfishos18:44
*** javispedro has joined #sailfishos18:45
*** javispedro has joined #sailfishos18:45
*** piggz has quit IRC18:49
*** wickwire has joined #sailfishos18:52
*** hzb has joined #sailfishos18:54
*** Kabouik_j has joined #sailfishos18:55
*** martyone has quit IRC18:56
*** AlmAck has joined #sailfishos18:56
*** piggz has joined #sailfishos18:56
*** furikku has quit IRC19:01
*** artemma has quit IRC19:03
*** disharmonic has joined #sailfishos19:04
*** martyone has joined #sailfishos19:06
*** miksuh has quit IRC19:06
*** InfoIRCNET has joined #sailfishos19:08
InfoIRCNETInfo about IRC http://p.pw/DLV19:08
*** InfoIRCNET has left #sailfishos19:08
*** Kabouik has quit IRC19:08
Yanielseems legit19:09
raa79"IRC (Internet Relay Chat) es un protocolo de comunicación en tiempo real basado en texto, que permite debates entre dos o más personas."19:09
raa79it just redirects to spanish wikipedia =)19:09
Waiteei wouldnt open a shortened link from a random guy who pops on a public channel just to say the link19:10
*** wickwire has quit IRC19:11
*** DarkSim has joined #sailfishos19:11
raa79well, it seems i would19:11
Accemight have taken something from you while redirecting, I guess19:11
jukecan you do conditional imports in qml?19:11
*** DrIDK has quit IRC19:12
EztranAh, it's a commercial redirect link. That'd be why.19:14
slatecreating spambots to irc-networks is quite 90's.19:15
*** lbt has quit IRC19:16
*** lbt has joined #sailfishos19:17
*** Kabouik_j has quit IRC19:18
*** Uninstall has joined #sailfishos19:20
*** amrileria has quit IRC19:23
*** Eismann has joined #sailfishos19:24
*** piggz has quit IRC19:24
*** Uninstall has quit IRC19:26
*** Uninstall has joined #sailfishos19:26
*** Uninstall has quit IRC19:27
*** Uninstall has joined #sailfishos19:27
*** Uninstall has quit IRC19:28
FireFlyIt's spammed various channels under different nicks19:29
*** Kabouik has joined #sailfishos19:30
*** Uninstall has joined #sailfishos19:31
*** Uninstall has joined #sailfishos19:31
*** faenil has quit IRC19:31
*** mk2soldi_ has quit IRC19:31
*** Uninstall has quit IRC19:31
*** Uninstall has joined #sailfishos19:32
*** Uninstall has quit IRC19:32
*** Uninstall has joined #sailfishos19:32
*** Uninstall has quit IRC19:33
*** macben has joined #sailfishos19:33
*** tanghus has joined #sailfishos19:34
*** Tumeez has quit IRC19:34
*** Uninstall has joined #sailfishos19:38
*** Uninstall has quit IRC19:38
*** Uninstall has joined #sailfishos19:38
*** artemma has joined #sailfishos19:39
*** john24 has joined #sailfishos19:47
john24hey guys19:47
*** stephg has quit IRC19:47
john24I've been looking through github at other peoples code and i;ve noticed that all of them have loads of QML files and their programs are broken up into small pieces19:48
john24my app only has 4 qml files but loads of functions that could be shared19:48
*** stephg has joined #sailfishos19:48
john24how do I got around de coupling the code into QML files? Sorry QT creator and QML and all that is still new to me19:48
*** artemma has quit IRC19:50
john24for examle I am using QtQuick.LocalStorage 2.0 as Sql that 2 qml pages are using but I have duplicate fucntions in both files which is obviously poor programing19:50
Accejohn24: you can make a separate .js file with the functions in it19:51
goroborojohn24: as far as I understand it... do your functions in a separate javascript file and then import that into each qml file19:51
Accethen you can import "yourFunctions.js" As SqlFunctions19:52
john24so functions need to be in javascript files?19:52
Accethey don't need to be, but they can be19:52
goroboroyeah... if you're doing javascript19:52
john24all of my code is QML19:52
goroboronot if you have functions19:53
AcceQML uses javascript for functions19:53
AcceQML is only a markup language, like HTML19:53
goroboroQML is declarative19:53
Acceyou make it dynamic with JS19:53
john24Thank you guys :)19:53
goroboroAcce and I are just repeating each other19:53
john24Sorry if I am going to ask some studpid stupid questions19:54
goroborono problem..19:54
Accegoroboro: yeah ^^'19:54
goroborodon't worry... I'm still working this stuff out myself19:54
john24so C++ is compiled to binary19:54
john24what is qml+javascript compiled to?19:54
Acceit's just text files19:54
Accewhich are interpreted19:54
Acceby the QtQuick engine19:55
goroborojohn24: you can take a look at a project I've just started: https://github.com/goroboro/TheSessionFinder19:55
john24but it;s that slow like python?19:55
*** jonpacker has joined #sailfishos19:55
Acceyeah, it's slower than C++19:55
goroboroat this point its not got any C++ code in it...19:55
Accewhich is why you do the small stuff with JS, and the hard stuff with C++19:55
john24thanks goroboro for the code :)19:55
goroboroI'm still deciding what to do19:55
goroborobut at this point there is just some javascript and qml19:55
AcceBut I think the engine is fairly good, so you can do pure qml+js apps, and they work quite fast19:56
*** M4rtinK has joined #sailfishos19:56
john24Ahhh I see do th pure ui with qml + javascript and sorting arrays and ect through c++19:56
john24this is why i was confused it did not seems as slow as python or java19:56
*** DrIDK has joined #sailfishos19:56
john24sorry if I sound stupid19:56
goroboroif you want to get complicated... probably you can get through a lot just using javascript19:57
john24I;ve been only doing pure c/c++19:57
goroboroI never considered python to be that slow :)19:57
Accejohn24: yep, you can also make UI elements in C++ if you don't have a necessary component ready19:57
Accejohn24: don't worry :)19:57
john24I've been working on stereo matching with pythong and it's too slow compared to c++ but pretty and nice19:57
goroborommm if you're a C++ coder you're probably going to love this... I just don't have a strong enough background19:58
john24I need to to more research into this but thank you Acce and goroboro for taking your time to asnwer my silly questions :) I really appreciate it19:58
goroboroyou can probably help contribute on some of the underlying mer stuff... most of it is open19:58
john24yeah where do I got for that?19:59
*** sletta has quit IRC19:59
john24just use #mer channel?19:59
goroborohold on... someone gave a link on #jollamobile earlier today19:59
john24I am working on some i2c code as well for smart battery and attachable sensors plan to test some on my Jolla19:59
*** Atihinen has joined #sailfishos19:59
Atihinenhi guys19:59
Atihinenwhich is the best sailfish tutorial20:00
Accejohn24, so you do hardware hacking too?20:00
goroboro[01/28/14 16:26] <faenil> random spam: if you like to contribute to SailfishOS, fix some bugs, help development, there's github.com/nemomobile and github.com/nemomobile-packages which hold the sourcecode for most of the middleware20:00
AcceAtihinen: do you mean for application development?20:00
AtihinenAcce: yes20:00
john24yes part of my project at Uni bulding a 3D stereo camera using 2 Pi's and i2c devices20:00
goroborojohn24: awesome20:01
Atihinenthis was the first channel what came in with google, so that's how I ended up here20:01
john24goroboro I see nemomobile :) I will look into it.20:01
AcceAtihinen: are you familiar with Qt and QML?20:01
Accejohn24: cool, make a stereo camera TOH :D20:01
AtihinenAcce: I know what they're. I'm more familiar with c++, java and c# though :D20:02
goroborojohn24: I may nab you for some help with some C++ stuff... I am floundering with it20:02
john24I've actually thought about it, once I get some testing done20:02
john24I would happily help :) but not sure how helpful I would be20:03
AcceAtihinen: then I suggest you try to look at some general QML tutorial before jumping to sailfish :) I think there are some if you download the PC Qt5 SDK20:03
john24http://www.learncpp.com/ is the best you can find online20:03
goroboroheh... cool... bookmarked20:03
AtihinenAcce: Do you mean that sailfish applications are based on more or less with QML? is there any application architecture or design patterns described?20:04
goroboroyeah... the sailfish SDK includes all the standard QT5 samples20:04
john24trust me do a tutorial or two a day you and you will learn loads!!!20:04
thpjuke: set QML2_IMPORT_PATH20:05
AcceAtihinen: you can find some simple stuff at https://sailfishos.org/develop.html20:05
goroborojohn24: I'll work through it... I just have an issue deciding how I want to do something at the moment20:05
Acceideas of how the pageStack works etc.20:05
*** piggz has joined #sailfishos20:05
john24which is?20:05
AtihinenAcce: went trough that first application thingy :D But ok, thanks for the info guys!20:05
jukethp, i was answered already, but thank you!20:06
john24Atihinen: go on github look at other poeples code for Jolla you'll learn a lot20:06
AcceAtihinen: no problem, and if you're near Tampere or Helsinki, you might want to take part into a dev meeting and hear from more experienced devs how to approach sailfish :)20:06
goroborojohn24: I need to convert some abc music notation to an svg of sheet music...20:06
AtihinenAcce: is there more info of the dev meeting?20:07
thpjuke: ok :)20:07
AtihinenAcce: thanks! :)20:07
Accethe date has not yet been decided, but that's the place to follow20:07
goroborojohn24: one option is to use a web resource to do this... the other is to create a dependency on another package... that I will need to build for sailfish... and the other is just to modify someone else's C++ code to turn it into a library that I can use in my app20:07
goroboronot keen on the web resource idea20:08
john24I would go with modify as you will learn and you won't need to re-invent the wheel20:09
john24it's annoying when you have to write the code that's already written and works20:09
goroboroyeah... just not sure if I need the immediate learning curve... but its probably the right path for me20:09
gorobororight... I have to go and eat some dinner20:10
goroborohappy sailing folks20:10
john24not sure how hold or what you do but if going for programming career is very likely you'll need to maintain somewhere else code20:10
john24so trying to amed code written by someone is always good20:10
john24and enjoy your food20:10
goroboroheh... thanks... I'm actually a tech author... but I code for fun... usually in python though20:11
goroboroheh... thanks... I'm actually a tech author... but I code for fun... usually in python though20:11
goroboroI'm hoping to learn a bit from thp's work20:12
*** martyone has quit IRC20:12
john24hee's good20:12
goroboroyep... all the qml side of things is very new to me... but its pretty straightforward...20:13
goroboroanyway... dinner time20:13
*** miksuh has joined #sailfishos20:14
*** macben has quit IRC20:17
*** Custodian has quit IRC20:20
*** tortoisedoc has joined #sailfishos20:23
*** tortoisedoc has quit IRC20:27
*** john24 has quit IRC20:28
*** Finleida has quit IRC20:36
*** itbaron has quit IRC20:39
*** jluisn has quit IRC20:39
*** KangOl has quit IRC20:40
*** c0ck4m0u53 has quit IRC20:41
*** amizraa has quit IRC20:41
*** karih has joined #sailfishos20:42
*** mk2soldier has joined #sailfishos20:46
*** artemma has joined #sailfishos20:46
*** artemma has quit IRC20:46
*** Sail0r has quit IRC20:47
*** Sail0r has joined #sailfishos20:48
*** mk2soldi_ has joined #sailfishos20:48
*** mk2soldier has quit IRC20:51
*** mk2soldier has joined #sailfishos20:51
*** Sail0r has quit IRC20:52
*** mk2soldi_ has quit IRC20:52
*** Sail0r has joined #sailfishos20:56
*** macben has joined #sailfishos20:57
AtihinenI need to go now. Night guys!20:58
*** Atihinen has quit IRC20:58
*** f00barbaz has joined #sailfishos21:02
*** jstaniek has joined #sailfishos21:06
*** NewInformator has joined #sailfishos21:07
*** NewInformator has left #sailfishos21:07
*** mk2soldi_ has joined #sailfishos21:08
*** mk2soldier has quit IRC21:10
BearThave you ever used pageStack.busy? i tried21:11
BearTif(!pageStack.busy) { pageStack.push(...); }21:11
BearTbut nevertheless got "Cannot push while operation is in progress: push"21:11
AcceI used pageStack.onBusyChanged21:11
Acceother good one is to check onStatusChanged for a page, when they're active the pageStack operation is over, if I remember correctly21:12
*** Sail0r has quit IRC21:13
BearTthanks, I'll try these two. actually i wanted to check if(busy) use_onBusyChanged() else switch_directly(), but that didn't seem to work21:13
*** piggz has quit IRC21:15
Acceyep, the problem is that if you just check if(busy) you easily end up using Timers or something to constantly check on that.. I think that is neither efficient nor elegant, if you care about such things :p21:15
BearTi wanted to use the onBusyChanged if necessary and disconnect it, as soon as it had fired once. my scenario is a list of items. when the list contains only one item i want to switch to the detail view of that item immediately, since the overview list containing only one item is unnecessary21:18
Accehmm.. maybe Connections has some kind of enabled property?21:19
*** piggz has joined #sailfishos21:20
Accehmm nope21:20
Accebut maybe you could use Connections { target: initialized ? null : pageStack; onBusyChanged: { ... }}? not sure if it works21:21
BearTThanks for your suggestions. I will try these.21:22
*** Morpog_PC has quit IRC21:22
*** RoKenn has joined #sailfishos21:22
*** jonpacker has quit IRC21:23
*** jonpacker has joined #sailfishos21:24
*** macben has quit IRC21:27
*** alchymia has joined #sailfishos21:27
*** jonpacker has quit IRC21:28
*** jobe-m has quit IRC21:32
BearTthe onBusyChanged does not work when the current page is loaded. it is called when i manually push a second page, but not after my first page is loaded. but when i simply push a new page i get error the stack is currently still in transition. i think I'll have to ignore that for now21:34
AcceDo you mean you have initialPage set, and on that page you try to push another page?21:36
BearTexactly that. when loading my initial page i check in the database how many items there are to be displayed and when there's only one item, I'd like to automatically switch to the details view (but still with the option to go back to the overview page if you really want to)21:38
Acceok, one more thing you could try is put Component.onCompleted: { pageStack....} in your ApplicationWindow21:40
*** KangOl has joined #sailfishos21:40
*** jstaniek_ has joined #sailfishos21:40
AcceThat should happen after the initialPage has been loaded & pushed21:41
*** alchymia has quit IRC21:43
*** jstaniek has quit IRC21:44
BearTthat is exactly the place I'm retrieving the items from the db and tried to simply push initially21:45
Acceok, then I'm out of ideas :/21:45
BearTanyway, thanks for your help.21:46
Acceno problem, tell me if you figure out a way to make it work21:47
*** rashm2k has joined #sailfishos21:49
BearTI'm thinking of a hack with a timer, but that would be to ugly. maybe pushing without show does work, so the user only has to swipe instead of clicking on an entry in the lists context menu.21:51
BearT'too ugly' I meant to type21:51
Acceyeah, that could be21:51
Accedid you already try by not using initialPage at all, btw?21:52
Accejust push all pages when ApplicationWindow's Component.onComplete?21:52
BearTpushAttached is also not allowed during a push21:54
BearTno, I did not try without initialPage yet. but I'm starting to think this may be a solution. I'll try that21:57
*** fk_lx has quit IRC21:57
Accewould be great if it worked21:57
*** clau has quit IRC21:58
*** macben has joined #sailfishos22:03
*** Bloob has quit IRC22:03
*** spider-mario has quit IRC22:03
*** jobe-m has joined #sailfishos22:06
*** Pat_o has quit IRC22:07
*** macben has quit IRC22:08
*** onurati has quit IRC22:12
BearTAcce: that sort-of works, but I'd still say it's not recommended.22:13
BearTmy code is like this:22:13
BearT    Component.onCompleted: {22:13
BearT        var data = db.get_all();22:13
BearT        if(data.length === 1) {22:13
BearT            pageStack.replace(Qt.resolvedUrl("pages/OverviewPage.qml"));22:13
BearT            pageStack.push(Qt.resolvedUrl("pages/DetailPage.qml"), { data: data.get(1) });22:13
BearT        }22:13
BearT        else {22:13
BearT            pageStack.replace(Qt.resolvedUrl("pages/OverviewPage.qml"));22:13
BearT        }22:13
BearT    }22:13
*** piggz has quit IRC22:14
Sage_mornfall: https://build.merproject.org/project/meta?project=home%3AMartinK%3Asailfish%3Amodrana check example of repo setup from this22:16
*** javispedro has quit IRC22:16
*** promulo has joined #sailfishos22:17
*** jstaniek_ has quit IRC22:18
mornfallhmm, armv8? :)22:21
*** jobe-m has quit IRC22:21
BearTAcce: sry, posted too much code with newlines. the code that somehow works can be soon on http://pastebin.com/BM8Qe7Mn but anyway I'll revert my changes for now and leave it the way it was.22:22
*** piggz has joined #sailfishos22:24
*** DrIDK has quit IRC22:28
*** zen|merge has joined #sailfishos22:30
*** KangOl1 has joined #sailfishos22:31
*** KangOl has quit IRC22:33
*** piggz has quit IRC22:33
*** cxl000 has quit IRC22:34
*** dafox has joined #sailfishos22:34
AcceBearT: okay, thanks for letting me know!22:35
*** RoKenn has quit IRC22:36
*** Kabouik has quit IRC22:38
*** Kabouik has joined #sailfishos22:39
Sage_mornfall: just a name for scheduler because of some naming reasons :)22:40
*** Sly has joined #sailfishos22:43
mornfallSage_: that's not confusing at all :P22:43
*** Sly has left #sailfishos22:47
*** dafox has quit IRC22:49
*** Sly has joined #sailfishos22:57
Acceis there already some way to put stuff in the event feed? like that twitter and fb icon?22:59
Acceis it sailfish specific or nemo?22:59
*** JUJames has joined #sailfishos23:12
*** Ville- has quit IRC23:12
*** Ville- has joined #sailfishos23:12
*** mk2soldier has joined #sailfishos23:19
*** mk2soldi_ has quit IRC23:22
*** AlmAck has quit IRC23:23
*** qqK has quit IRC23:28
*** jjanvier has quit IRC23:31
*** mk2soldi_ has joined #sailfishos23:34
*** macben has joined #sailfishos23:34
*** mk2soldier has quit IRC23:35
*** rashm2k has quit IRC23:36
*** macben has quit IRC23:38
*** KangOl1 has quit IRC23:46
*** sequantz has quit IRC23:48
*** arcean_ has joined #sailfishos23:53
*** arcean has quit IRC23:53

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!