Wednesday, 2014-01-01

*** meShell_ has quit IRC00:04
*** guaqua has joined #sailfishos00:26
*** itbaron has quit IRC00:26
*** leinir has quit IRC00:39
*** leinir has joined #sailfishos00:43
*** amonk has joined #sailfishos00:50
*** amonk has quit IRC00:50
*** b0bben has joined #sailfishos00:53
*** spider-mario has quit IRC00:57
*** b0bben has quit IRC00:57
*** zhost has quit IRC01:00
*** master_o1_master has joined #sailfishos01:01
*** Mastroz has joined #sailfishos01:01
*** Mastroz has quit IRC01:02
*** amonk has joined #sailfishos01:02
*** _miqu_ has quit IRC01:03
*** master_of_master has quit IRC01:04
*** amonk has quit IRC01:04
*** amonk has joined #sailfishos01:07
*** matoking has quit IRC01:09
*** ljp has joined #sailfishos01:16
*** lpotter has quit IRC01:17
*** isthatme has joined #sailfishos01:27
isthatmehrmmm.... just wondering01:27
isthatmedoes anyone know if there's a nexus 4 port for sailfish yet?01:27
*** AlmAck has quit IRC01:47
MSameerElleo: might be qtmultimedia01:51
MSameeristhatme: no but should not be hard to do01:53
MSameeristhatme: jolla runs on qualcomm and nexus4 too01:53
MSameernot the same chipset but it's still close01:54
isthatmesooo, jolla runs on the nexus 4?01:55
isthatmeplease elaborate01:56
MSameernexus4 and jolla both use qualcomm chipset01:56
MSameerthey are not similar but close01:56
MSameerso it is possible to get it to run01:56
MSameerin theory you can get sailfish to run on any android device01:57
MSameerbut it is not a straight forward process01:58
isthatmeit wasn't whether or not it could run01:58
isthatmebut more so if there was a port yet01:58
MSameersorry i misunderstood01:58
MSameerElleo: do you have a stack trace?02:00
isthatmetext is often inefficient02:00
*** triggerhappy has joined #sailfishos02:02
*** Andy80 has joined #sailfishos02:03
ElleoMSameer: it seems to happen when the MediaPlayer element is in its buffering state02:04
Elleobut only happens something like once in every 10 source changes02:04
MSameeri can't find the qml viewer to view qml files02:04
ElleoMSameer: /usr/lib/qt5/bin/qmlscene02:05
MSameerwhich package provides that?02:05
MSameerfound it02:05
MSameerthanks :)02:05
Elleodon't feel you have to look in to this immediately or anything though; just when you get a chance it'd be good to get it fixed (it's causing problems for my radio client, but there's lots of other work I need to do on that too, so it's not stopping stuff progressing)02:07
MSameercan it be reported as a bug in together. ?02:07
MSameerthen it won't get lost :)02:08
MSameerProgram received signal SIGSEGV, Segmentation fault.02:09
MSameer[Switching to Thread 0x48fa13f0 (LWP 2966)]02:09
MSameermalloc_consolidate (av=0x43f00010) at malloc.c:423502:09
ElleoI find all the best bugs :P02:10
MSameerthat's fine :)02:10
MSameer4235malloc.c: No such file or directory.02:11
MSameerthis is serious :p02:11
MSameerElleo: BTW it's better if you do: initialPage: Component { }02:12
MSameerno idea why though :P02:12
ElleoMSameer: okay, thanks :)02:12
MSameerthat crash is really strange02:13
MSameermy bt is different than yours02:13
MSameerlooks liks memory corruption02:14
*** Sazpaimon has quit IRC02:15
*** Sazpaimon has joined #sailfishos02:15
*** raven24 is now known as raven24^{off}02:15
ElleoMSameer: :)02:17
tango_MSameer: btw if you want to run qml apps in sailfish you should use sailfish-qml instead02:17
MSameerElleo: thanks02:18
MSameertango_: what is that?02:18
Elleotango_: that requires shoving them in specific directories though02:18
Andy80you guys never sleep :)02:18
Andy80Happy GNU Year! :D02:18
Elleotango_: this is just for a hacky little test :)02:18
tango_MSameer: THE tool to run qml apps designed for sailfish02:18
Elleohappy new year Andy80 :)02:18
MSameerAndy80: no :)02:18
tango_Elleo: yep, it does: /usr/share/appname/qml/appname.qml02:18
MSameerhappy new year :)02:18
MSameertango_: thanks for telling me :)02:19
* tango_ just got back from driving a couple of friends of his home02:19
tango_they liked the jolla02:19
tango_we do need spaceteam for sailfishos though02:19
*** softmetz_ has joined #sailfishos02:19
MSameertango_: where do I get that from?02:19
ElleoMSameer: libsailfishapp-launcher I think02:20
tango_something like that02:20
tango_pkcon search file /usr/bin/sailfish-qml is your friend02:20
ElleoMSameer: it'll only work with that test file if you move it to /usr/share/oggcrash/qml/oggcrash.qml though (then launch sailfish-qml oggcrash)02:20
tango_MSameer: ^ also, as mentioned above, the main qml MUST go in /usr/share/appname/qml/appname.qml02:21
tango_AND you launch it as sailfish-qml appname02:21
MSameerhow do you guys learn all these tricks :D02:21
tango_by reading the documentation and asking the people in the know02:21
Elleoand running any application that sounds interesting :P02:21
tango_also, my sdk segfaults while compiling, so writing pure qml apps is my only way for now ;-)02:22
tango_too bad I can only go that far with it, since I wanted to port sgt-puzzles02:22
*** softmetz has quit IRC02:23
MSameerElleo: I get a different bt but the bt I get gives me the creeps02:23
tango_oh well, I managed to learn a lot just by doing a nice qml launcher02:23
ElleoMSameer: you're welcome ;)02:23
Elleonew years nightmares, courtesy of Elleo02:23
MSameeri won't fix it or do anything now as I am on vacation with a not-so good connection02:24
Elleono worries, as long as it's on someone's radar I'm happy :)02:24
* tango_ should probably go to bed now02:24
MSameernow it's a bit different02:25
*** Andy80 has quit IRC02:25
Elleoand I have to say getting stuff fixed on sailfish is far easier than pretty much any other platform I've worked with (and that's a lot of platforms) due to how awesome you all are :)02:25
MSameerlooks like invalid memory reference to me02:25
MSameerthank you :D02:26
MSameerElleo: always push stuff to together. that's the way to give feedback02:26
MSameerproblem is holiday season these days02:27
ElleoMSameer: okay, will do02:27
MSameerbut otherwise together is the way02:27
Elleoyeah, I've been a bit haphazard so far02:27
Elleobut I think everything I've reported is on together now, except for one fix I managed to get sorted upstream in mer02:28
*** b0bben has joined #sailfishos02:41
*** jjarven has quit IRC02:41
*** Morpog_Mobile has quit IRC02:42
*** b0bben has quit IRC02:45
MSameeri wonder if i should drop n9 support or not for my apps02:50
*** ShadowJK has quit IRC02:56
*** jjarven has joined #sailfishos02:57
*** ShadowJK has joined #sailfishos02:57
*** isthatme has quit IRC03:01
*** furikku has joined #sailfishos03:19
*** ced117 has quit IRC03:21
*** ced117 has joined #sailfishos03:35
*** b0bben has joined #sailfishos04:30
*** b0bben has quit IRC04:35
*** sdjayna1 has joined #sailfishos05:21
*** sdjayna has quit IRC05:25
*** phaeron has joined #sailfishos05:27
*** Morpog_Mobile has joined #sailfishos05:54
*** ericcc has joined #sailfishos06:04
*** ericcc_ has joined #sailfishos06:14
*** ericcc has quit IRC06:16
*** ericcc has joined #sailfishos06:17
*** b0bben has joined #sailfishos06:18
*** ericcc_ has quit IRC06:19
*** ericcc has quit IRC06:22
*** ericcc has joined #sailfishos06:22
*** b0bben has quit IRC06:23
*** phaeron has quit IRC06:26
*** phdeswer has quit IRC06:31
*** ericcc_ has joined #sailfishos06:33
*** ericcc has quit IRC06:36
*** ericcc_ has quit IRC06:39
*** ericcc has joined #sailfishos06:39
*** planasb has quit IRC06:46
*** planasb has joined #sailfishos06:46
*** planasb has joined #sailfishos06:46
*** ericcc_ has joined #sailfishos06:49
*** ericcc has quit IRC06:52
*** ericcc_ has quit IRC06:54
*** ericcc has joined #sailfishos07:01
*** yanliang has joined #sailfishos07:16
*** yanliang is now known as brad_qqq07:17
*** phaeron has joined #sailfishos07:36
*** itbaron has joined #sailfishos08:04
*** b0bben has joined #sailfishos08:06
*** b0bben has quit IRC08:10
*** thedead1440_ has joined #sailfishos08:11
*** dhbiker has joined #sailfishos08:16
*** phaeron has quit IRC08:29
*** kaari has joined #sailfishos09:21
*** Sviox has joined #sailfishos09:26
*** cdp has joined #sailfishos09:26
*** Finleida has joined #sailfishos09:34
*** matoking has joined #sailfishos09:39
*** _miqu_ has joined #sailfishos09:41
*** b0bben has joined #sailfishos09:49
matokingI have a very tall SilicaGridView attached to a SilicaFlickable09:52
matokingThe SilicaFlickable has the size of the screen, whereas the SilicaGridView has a lot of Image elements in it09:53
matokingThe problem I'm having is that even though the SilicaGridView is inside a narrow SilicaFlickable element, it seems to think that every element inside it is visible at any given time09:53
matokingWhich causes all of the thumbnails to be requested at the same time09:54
matokingI did try making a function that goes through the Image elements and removes their source based on whether it's actually visible but that only made things slower than they were already :P09:56
*** mikkosssss has joined #sailfishos09:56
matokingSo, I guess what I'm trying to do is to get the SilicaGridView to recognize its actual area correctly09:57
matoking*actual visible area09:57
*** crevetor has quit IRC10:04
tango_matoking: is the model for the gridview built all in one go?10:06
*** crevetor has joined #sailfishos10:07
tango_if not, you may want to consider adding stuff until you are, say, a couple of elements beyond the gridview10:07
tango_and then adding more as the user scrolls10:07
tango_of course you'll have to factor in latency if your stuff is on the net10:07
*** b0bben has quit IRC10:07
*** matoking has quit IRC10:08
*** b0bben has joined #sailfishos10:08
*** b0bben has quit IRC10:12
*** freedomrun has joined #sailfishos10:13
*** Frye has joined #sailfishos10:21
*** Frye has quit IRC10:21
*** Frye has joined #sailfishos10:21
*** super_hirsute has quit IRC10:24
*** Frye has quit IRC10:35
*** zhost has joined #sailfishos10:37
*** sequantz has joined #sailfishos10:41
*** nsuffys has joined #sailfishos10:43
*** KangOl has joined #sailfishos10:45
*** b0bben has joined #sailfishos10:47
*** Tumex_ has joined #sailfishos10:51
*** b0bben_ has joined #sailfishos10:54
*** Andy80 has joined #sailfishos10:55
*** zhost has quit IRC11:00
*** b0bben has quit IRC11:05
*** b0bben has joined #sailfishos11:05
*** onurati has joined #sailfishos11:05
*** matoking has joined #sailfishos11:06
*** meShell_ has joined #sailfishos11:09
*** ro has quit IRC11:09
*** meShell_ has quit IRC11:09
*** b0bben has quit IRC11:09
*** Venemo has joined #sailfishos11:10
*** ro has joined #sailfishos11:12
*** b0bben has joined #sailfishos11:27
*** Superpelican_ has joined #sailfishos11:28
Andy80after I've renamed my application, I cannot do "Deploy as binary". It compiles without errors, but when I run it to deploy the binary on the device, at the end I get this: bash: /opt/sdk/SailSoma/usr/bin/harbour-sailsoma: No such file or directory11:31
Andy80how ca I fix this?11:31
celeron55why can't i get anything to appear on the screen by using sdl2 or wayland?11:32
celeron55the program runs fine and thinks it has a window/surface/whatever, but nothing appears in the emulator screen11:33
celeron55this is quite frustrating; it's like everything worked but nothing works11:33
celeron55Andy80: the part of the log where it installs it would be useful i guess11:37
*** _miqu_ has quit IRC11:38
Andy80celeron55 this one ?11:38
Superpelican_celeron55: aren't you the author of Minetest :D?11:40
celeron55Superpelican_: yes, altough that's quite irrelevant11:41
matokingDon't be so humble :P11:41
* Superpelican_ dreams of Minetest on a Jolla11:41
matokingAnyway, l have a super tall SilicaGridView on a normal screen-sized SilicaFlickable11:42
celeron55it actually would run fine on jolla; but i can't get anything to work except some useless Qt example11:42
matokingSIlicaGridView thinks all of its objects are visible at all times11:42
celeron55does there exist a person who has actually run SDL2 programs on this thing?11:43
matokingThis makes it unnecessarily load every Image element on the grid view11:43
celeron55or wayland+ogles2?11:43
matokingAny idea what to do about that?11:43
celeron55googling is almost useless11:43
celeron55and wayland's practical documentation seems to be based on header files11:43
celeron55it's ridiculous11:43
*** b0bben_ has quit IRC11:47
*** jjanvier has joined #sailfishos11:48
*** spider-mario has joined #sailfishos11:50
*** Naranek has joined #sailfishos11:51
*** Morpog_PC has joined #sailfishos11:52
*** b0bben_ has joined #sailfishos11:57
*** Superpelican_ has quit IRC11:59
*** cvp has joined #sailfishos12:08
cvpHappy New Yeah :D12:09
*** Superpelican_ has joined #sailfishos12:10
matokingI figured a sensible solution to that issue I was having12:13
matokingAh screw it it's actually an ugly hack12:13
matokingWhich involves changing pulley menus' y positions manually among some other things12:14
*** b0bben_ has quit IRC12:16
*** atiti has joined #sailfishos12:21
matokingHoly hell it's almost working except that the pulley menu flashes for a second when I pull it12:22
*** jjarven has quit IRC12:22
*** zhost has joined #sailfishos12:22
*** Superpelican_ has quit IRC12:32
*** Andy80 has quit IRC12:32
matokingOkay, maybe I'll just take a break until I figure out a way that doesn't involve breaking every single paradigm of responsive UI design12:33
lbtwhat are you trying to do ?12:34
*** Superpelican_ has joined #sailfishos12:34
matokingI told before12:34
matokingI have a SilicaGridView inside a SilicaFlickable12:34
matokingSilicaFlickable is the size of the screen12:34
lbtit was new years eve ... wasn't here :D12:34
matokingSilicaGridView is very tall and it contains a lot of Images12:34
matokingso it thinks its every element is visible at every given time12:34
matokingWhich leads to every Image being loaded at the same time12:34
matokingAs much as a thousand and over12:35
matokingSo, I want the SilicaGridView to have a sane idea of what its visible region actually is12:36
lbtyou should post that on the ml too12:36
lbtafaik this should work by default12:37
lbtbut delegates need to be written "correctly"12:37
*** jjarven has joined #sailfishos12:37
matokingWell there's more to it12:38
matokingIt's actually more of SilicaFlickable -> Row -> SilicaGridView12:38
lbtI personally probably won't know btw12:38
matokingWhere Row may have different view objects such as SilicaListView, depending on which view mode to use for each directory12:38
lbtcan you use listview?12:39
matokingI haven't done that yet12:39
lbtthinking about it I suspect that flickable/listview is the most likely way to do 'dynamic' loading of the QML12:39
matokingWell I'm dynamically loading the view objects to the Row12:40
matokingSo, for a directory full of images I'd rather load a SilicaGridView12:40
lbtright - so let it do it for you12:40
lbtso items 'off screen' are in non-displayed listview bits12:40
lbtand make the listview delegate 'smart'12:40
lbtyou see why ?12:41
matokingI'm afraid I don't understand :/12:41
matokingI basically use Qt.createComponent and component.createObject() and add those view objects to the Row object I have12:42
lbtok - so a flickable controls the vertical scrolling and visible area and works with a listview to define what's seen12:42
lbtthat's already written to be very scalable12:42
lbtthe listview shows 'n' delegate items per screen12:42
lbtso it's doing the dynamic creation based on the list model12:43
lbt(this is a suggestion - you may be too far along or constrained for other reasons)12:43
matokingSo instead of creating all Image objects when the SilicaGridView is added12:44
lbtyes, you create them in the delegate12:44
matokingI let the user flick around the view and then create objects based on where he has flicked and what should be visible there?12:44
matokingAnd when the objects are flicked out of view I delete them?12:44
lbtcheck - the delegate is likely deleted for you12:45
matokingThat could work12:46
matokingWrap the image creation and recycling function to the onContentYChanged and do everything there12:46
lbtcheck how list delegates work12:46
lbtI think they're instantiated with an index12:46
lbtso they basically just reference the model by index and render as needed12:47
lbt(not sure what creation/recycle you're doing - for a 'gallery' app there is none)12:47
lbtspeaking of which - check out the gallery demo12:48
*** Andy80 has joined #sailfishos12:48
matokingWait, do you mean cacheBuffer?12:51
matoking"<lbt> the listview shows 'n' delegate items per screen"12:52
lbtsorry - gotta go for a sec12:52
matokingI'm already using a delegate and a list model similar to what's used in the gallery application12:53
matokingThe problem is it doesn't correctly recognize what's actually on screen and what's not12:54
matokingAnd even when I put a limit using cacheBuffer it still requested every single image from the image provider12:56
jpnurmimatoking: i'd try to avoid nesting flickables13:00
jpnurmiplacing an itemview (in its full size) into a flickable is essentially the same than using a row/column/grid inside a flickable. everyting the itemview contains will be instantiated right away13:01
*** Superpelican_ has quit IRC13:01
jpnurmicachebuffer only has effect on items _outside_ itemsview's bounds. it's useful if delegates are relatively heavy to construct and thus you want to keep them alive13:03
*** AlmAck has joined #sailfishos13:07
matokingSo, at the moment I have two pulley menus on top and bottom and a page header13:09
*** brad_qqq has quit IRC13:09
matokingAnd between them is a Row with SilicaGridView and/or SilicaListView elements13:09
matokingOf course, I could bind pulley menus to objects inside the Row, but since I use transition effects I would prefer the pulley menus and the page header to stay stationary13:10
*** AlmAck has quit IRC13:10
*** bugzy has quit IRC13:10
matokingAnd as far as I know, pulley menus can only be attached to either SilicaFlickable, SilicaGridView or a SilicaListView13:10
matokingBut for now I'm taking the bottom-most SilicaFlickable out of the equation13:12
jpnurmiwhat's the purpose of the row? which orientations are the item views? trying to understand the hierarchy you have there :)13:12
matokingRow contains one or two elements13:13
jpnurminotice that you can also apply a header to item views13:13
matokingIf it contains one it contains either a SilicaGridView or a SilicaListView which display files and directories13:13
matokingWhen the user changes the directory13:13
matokingA SilicaListView or a SilicaGridView is added to either the left or right side of the Row13:13
matokingAnd an animation is played on both of the objects13:14
matokingSo when you open a directory, a new view moves in from the right13:14
jpnurmisounds a bit like you're trying to reinvent pagestack? :P13:14
matokingIt works pretty well13:15
*** phaeron has joined #sailfishos13:15
matokingWhy I'm not using PageStack is because of the depth indicator thingie on the top-left13:15
matokingIf you go too deep it tends to cover stuff on the top of the screen13:16
*** b0bben_ has joined #sailfishos13:16
walokrais there some guide how to construct a complex view like in tweetian etc.? like adding components below listview?13:19
Morpog_PCtweetian is open source13:21
*** b0bben_ has quit IRC13:21
walokrathere's no updated sources about the sailfish port13:21
Morpog_PCthere is ;)13:21
*** onurati has quit IRC13:22
Morpog_PCchange to branch sailfish-port13:22
walokraaah, in the branches. how didn't i notice that..13:22
walokrathanks for pointing that out :)13:22
w00twalokra: something like Column { anchors.fill: pageId; SilicaListView { ... } Rectangle { width: parent.width; height: 100; color: "blue" }, or do you mean something else?13:22
walokraI have all in column but have trouble what to put listview height so that the component below shows13:23
w00tanother option would be to do without the column (anchor the ListView's bottom to the rectangle's top, and anchor the rectangle's bottom to the page's bottom)13:23
*** bugzy has joined #sailfishos13:29
jpnurmimatoking: is it really a problem? don't you need to go quite d*mn deep that it becomes an issue?13:31
matoking@jpnurmi I'm accounting for all possible cases13:34
matokingBesides, I use a similar approach when flicking through images13:34
matokingIt isn't a PageStack13:35
matokingsince it isn't a stack of objects but instead it provides an animation that gives the illusion of it being stack-based13:35
jpnurmibut for a gallery type of view you would use vertical scrolling like in the gallery example, right?13:36
jpnurmiwhen you're navigating side-ways, and even faking the pagestack effects, using the normal depth indicators cannot be that awful :)13:37
matokingWell I don't like them :P13:38
matokingBesides, I don't want to store underlying view objects in the stack13:39
jpnurmithen you could use replace() instead of push()13:39
*** liar has joined #sailfishos13:39
*** zhasha has joined #sailfishos13:41
*** mk2soldier has joined #sailfishos13:42
jpnurmioh, and attached pages could be an option for replacing the row13:43
*** krnlyng has quit IRC13:43
*** dhbiker has quit IRC13:47
matokingAnyway, is there an ETA for when landscape orientation is supported?13:48
ericcc@Morpog_PC  the  Tweetian code   can  run  on  sailfishos sdk?:)13:49
Morpog_PCsure, just build it for x8613:50
ericcc@Morpog_PC  i am donwning it13:52
ericcc@Morpog_PC  C:\Users\Administrator\Tweetian-master\main.cpp:19: 错误:QtGui/QApplication: No such file or directory13:55
*** bugzy has quit IRC13:56
ericcc@Morpog_PC the  i anm  try  again13:57
Morpog_PCyou downloaded the wrong branch13:57
Morpog_PCyou need the branch sailfish-port, not master13:57
*** raven24^{off} is now known as raven2413:59
ericcc@Morpog_PC  instead
*** b0bben has quit IRC14:01
*** b0bben has joined #sailfishos14:01
*** Sarvi has joined #sailfishos14:04
*** RoKenn has joined #sailfishos14:05
*** arcean has joined #sailfishos14:05
*** b0bben has quit IRC14:06
ericcc@Morpog_PC C:\Users\Administrator\Tweetian-sailfish-port\src\thumbnailcacher.cpp:72: 警告:unused parameter 'imageObj' [-Wunused-parameter]14:08
*** kaari has quit IRC14:08
ericccvoid ThumbnailCacher::store(const QString &id, QQuickItem *imageObj)14:08
Morpog_PCericcc works here though the warning14:09
Morpog_PCI built an RPM14:09
celeron55hmm what's up with this now14:09
celeron55i have to use my own event loop and i call QApplication::processEvents() in there and it runs continuously just fine14:10
*** mk2soldier has quit IRC14:10
celeron55but i still get "Unnamed application is not responding (wait/close)"14:10
celeron55what do i have to do to make sailfish think the application is doing fine?14:11
matoking"Note: A pattern which is tempting, but should never be used, is creating your own QEventLoop or calling QCoreApplication::processEvents() in order to avoid blocking within a C++ code block invoked from QML."14:11
celeron55this is again one of these things that are impossible to find and nobody answers here14:11
matokingIs that somehow related to what you are doing?14:11
celeron55matoking: i use an external 3D library; don't start that crap now14:12
matoking@celeron55: It's only relevant if you are using QML, chill down :P14:12
celeron55umm... hmm, do i14:12
celeron55i might have some hanging around that i don't actually use14:13
matokingBut if you're using an external 3D library I hardly think it applies14:13
*** leinir has quit IRC14:15
celeron55i'm struggling to get it up and showing anything on the screen, so now i'm using some hacky crap that starts the program using SailfishApp::application(argc, argv); view = SailfishApp::createView(); and then proceeds pulling out the wayland surface and display from that view14:16
lbtceleron55: if you're using Qt you need the Qt event view running14:16
lbtd'oh s/event view/main loop/14:17
*** b0bben has joined #sailfishos14:17
celeron55lbt: and what does the qt main loop do? call QCoreApplication::processEvents()?14:17
celeron55i don't want to use Qt, but it appears to be the only way that allows me to show anything on the screen14:17
celeron55if i just fire up the wayland version of sdl2 or wayland directly, nothing shows up14:17
lbtceleron55: right now the harbour only supports Qt apps14:18
lbtI personally don't know about SDL integration14:18
celeron55sdl2 is in the native repositories so you'd guess it would work... but it doesn't14:18
*** b0bben_ has joined #sailfishos14:19
*** leinir has joined #sailfishos14:19
lbtI'm not saying it doesn't - just I don't know :)14:19
celeron55i guess i'll continue hacking Qt, at least now i have something visible on the screen14:19
*** arcean has quit IRC14:20
lbtfwiw I'm working on plain GLES+QML14:21
lbtie define a QML widget that is an object that renders using GL14:21
lbtit's tricky but works fine14:21
*** b0bben has quit IRC14:22
*** b0bben_ has quit IRC14:23
*** nsuffys has quit IRC14:28
*** nsuffys has joined #sailfishos14:29
*** cargocult has joined #sailfishos14:31
lbtAndy80: following on ... anything in the ssh journalctl ?14:31
Andy80lbt: yes, lot of messages
lbtssh still running?14:33
lbtand did you get:  Project ERROR: Could not connect to MerSDK Virtual Machine. Timeout waiting for reply from server14:34
*** b0bben has joined #sailfishos14:34
Andy80lbt: yes I'm still logged in with ssh (I had to quit journal to verify it)14:34
Andy80and now QtC shows a green icon14:35
Andy80like if the vm was not started14:35
cargocultis the source code of the settings app available? or where can i find out how it switches flight mode?14:35
lbtAndy80: OK - I'm going to have to defer this one to the SDK devs14:36
lbtit seems like QtC is getting confused but the VM is still up14:37
Andy80lbt: don't forget to tell them I'm on OSX, I'm using latest virtualbox version available and I'm using latest Sailfish SDK.14:37
*** cdp has quit IRC14:38
lbtcan you report it on together.j.c14:38
Andy80sure, I can do it14:39
*** b0bben has quit IRC14:39
Andy80lbt: what could be a good title for the bug?14:41
lbtSDK VM connection lost during build/deploy14:41
lbttag bug and sdk :)14:41
*** liar is now known as krnlyng14:42
*** Morpog_Mobile has quit IRC14:44
*** bugzy has joined #sailfishos14:45
*** b0bben has joined #sailfishos14:49
Andy80lbt: done do you think it has enough informations?14:50
*** Juhi24 has joined #sailfishos14:51
Juhi24Anyone know what this round UI component is called that is used for displaying numeric values?
*** b0bben has quit IRC14:53
*** bugzy has quit IRC14:54
Juhi24Can't find it in the documentation or in the emulator components reference14:55
lbtAndy80: looks ok14:56
*** bugzy has joined #sailfishos14:57
*** Morpog_Mobile has joined #sailfishos14:58
celeron55how do i enable the moc for a file in qmake?14:58
celeron55it seems it's not enabled at all and i can't use signals and slots14:59
Morpog_PCimport com.jolla.alarmui 1.0 Juhi2414:59
Morpog_PCJuhi24, just check /usr/share/jolla-alarm-ui/pages14:59
Juhi24Morpog_PC, thanks! I'll check that15:01
*** mk2soldier has joined #sailfishos15:02
*** sequantz__ has joined #sailfishos15:02
jpnurmiceleron55: if the class declaration with a Q_OBJECT macro is in a header, qmake will pick it up automatically. if you have it in a .cpp file, you need to #include "filename.moc" by hand in the end of the corresponding filename.cpp15:03
*** sequantz has quit IRC15:05
Morpog_PCJuhi24, even better would be /usr/share/jolla-clock/pages15:05
*** sequantz__ is now known as sequantz15:05
*** Andy80 has quit IRC15:05
celeron55now i'm getting some really odd stuff15:07
celeron55i have class MainApplication: public QApplication15:07
celeron55and it says for that line in the .moc made from that header "error: 'MainApplication' has not been declared"15:07
celeron55oh wait15:08
celeron55okay so this works so that you need to icnlude the header first, and after that include the .moc15:08
Juhi24Morpog_PC, might be just what I need, thanks.15:08
celeron55oh no, it doesn't work15:09
celeron55now i have multiple definitions -_-15:09
celeron55oh, so apparently i had to include only the header15:10
*** jjanvier has quit IRC15:10
*** Juhi24 has quit IRC15:13
*** sequantz has quit IRC15:14
*** raa70 has joined #sailfishos15:18
*** triggerhappy has quit IRC15:19
*** sdjayna1 has quit IRC15:20
*** Andy80 has joined #sailfishos15:31
Andy80lbt: cool :) for the moment I don't need it, I mean... when I test during the development phase, it's even faster for me if I just deploy the binary. If I need to generate the RPMs I switch to that deployment and even if I get that error, the rpms are generated anyway.15:32
*** RoKenn has quit IRC15:32
*** b0bben has joined #sailfishos15:35
*** b0bben_ has joined #sailfishos15:35
Andy80I wonder when GitHub will start recognizing QML as language :)15:36
*** b0bben_ has quit IRC15:39
*** cargocult has left #sailfishos15:40
MSameeris QtQuick layouts available somewhere?15:43
*** arcean has joined #sailfishos15:48
*** dhbiker has joined #sailfishos15:50
MSameerseems not15:50
*** KangOl has quit IRC15:51
*** b0bben has quit IRC15:51
*** b0bben has joined #sailfishos15:52
celeron55i can't seem to catch the closing of the application at all15:54
*** KangOl has joined #sailfishos15:55
celeron55QApplication::lastWindowClosed and QApplication::aboutToQuit don't fire at all15:56
*** b0bben has quit IRC15:57
cos-celeron55: line 20
celeron55i don't use any qtquick stuff now15:58
celeron55is there some way to see all events that are being posted by anything?16:00
walokrais there something that when using height: childrenRect.height; it doesn't calculate the height correctly and some columns doesn't fit in screen?16:00
cos-celeron55: closing() is not related to qt quick. it works on sailfish.16:01
*** arcean has quit IRC16:08
*** jmlich has joined #sailfishos16:10
*** arcean has joined #sailfishos16:11
*** mk2soldier has quit IRC16:11
*** stephg has joined #sailfishos16:24
*** b0bben has joined #sailfishos16:31
*** b0bben_ has joined #sailfishos16:36
*** ericcc has quit IRC16:38
*** b0bben_ has quit IRC16:40
coderus Mitakuuluu  updated to v0.1-1416:41
*** bugzy has quit IRC16:43
Bysmyyrcoderus: incredible fast! thanks!16:43
matokingSo I'm going to add a bunch of icons to use with my application16:47
matokingWhat's the best way to bundle them with the application?16:47
matokingI've used Qt's resource system but I wonder if the best practice is different in QML16:47
*** softmetz_ has quit IRC16:48
*** softmetz has joined #sailfishos16:48
*** arcean has quit IRC16:51
*** bugzy has joined #sailfishos16:52
*** arcean has joined #sailfishos16:52
*** softmetz has quit IRC16:53
*** b0bben_ has joined #sailfishos16:53
*** softmetz has joined #sailfishos16:53
*** Superpelican_ has joined #sailfishos16:54
*** PeterPark has joined #sailfishos16:56
*** Superpelican_ has quit IRC16:57
*** Superpelican_ has joined #sailfishos16:57
*** Nem has joined #sailfishos16:57
*** bugzy has quit IRC17:00
*** Nem has quit IRC17:02
*** Frye has joined #sailfishos17:02
*** jjanvier has joined #sailfishos17:04
*** faenil has joined #sailfishos17:05
*** AlmAck has joined #sailfishos17:11
*** bugzy has joined #sailfishos17:11
celeron55has anyone compiled anything with cmake to sailfish?17:11
celeron55the sdk doesn't seem to come with any pre-configured capability for that17:12
*** Superpelican_ has quit IRC17:18
*** Superpelican_ has joined #sailfishos17:18
celeron55if you try to create a cmake project for sailfish, you get stuck in this obscure "Run CMake" dialog where you can't choose a generator17:18
celeron55does someone know where it tries to find generators and how to possibly add one?17:19
*** Dickson has joined #sailfishos17:19
*** Superpelican_ has quit IRC17:20
*** _miqu_ has joined #sailfishos17:24
*** bugzy has quit IRC17:26
*** freedomrun has quit IRC17:27
*** pixraider has joined #sailfishos17:29
*** Frye has quit IRC17:35
*** Frye has joined #sailfishos17:35
Andy80why if I set anchors.horizontalCenter: parent.horizontalCenter, then wrapMode: Text.WrapAtWordBoundaryOrAnywhere is not considered?17:36
jpnurmiAndy80: because the label can grow freely if it doesn't have any width set17:38
Andy80jpnurmi: ok. But if for example I set anchors.left: parent.left, anchors.right: parent.right, then it's not centered anymore17:39
jpnurmiit stays horizontally centered in relation to its parent, but there's no need to wrap because it grows infinitely to fit the text17:39
jpnurmiAndy80: horizontalAlignment: Text.AlignHCenter17:39
*** freedomrun has joined #sailfishos17:40
*** bugzy has joined #sailfishos17:40
Andy80jpnurmi: thanks! let me try :)17:41
*** shiwu_kabigon has joined #sailfishos17:41
jpnurmithere's a slight difference, because center alignment makes each line center aligned, whereas centering the whole element still keeps wrapping lines left aligned :)17:41
*** cvp has quit IRC17:42
Andy80jpnurmi: but... do I have to maintain the wrapMode: Text.WrapAtWordBoundaryOrAnywhere, yes?17:42
Andy80because without it the text is not wrapped17:42
jpnurmiAndy80: if you want it to wrap, then yes :)17:42
jpnurmithe default value is Text.NoWrap17:43
Andy80jpnurmi: yes I need to wrap it... in case the song title is longer than the width :)17:43
*** b0bben_ has quit IRC17:43
Andy80perfect! it works :)17:44
jpnurminp :)17:44
Dicksonanyone familiar with SilicaWebView? I found some weird problem, it override the page forward navigation to true when there is no attached page17:46
jpnurmiDickson: it seems to have a property called overridePageStackNavigation. you can set it to true if you want control Page::back/forwardNavigation yourself17:51
*** norman15 has joined #sailfishos17:52
Andy80jpnurmi: one question about the Cover.... once I've defined one like this at the moment it's static... I'd like to update the image and the text when I change radio channel, but I don't know how to access that component from the other qml pages :/17:53
*** mikkosssss has quit IRC17:54
*** softmetz has quit IRC17:54
*** softmetz has joined #sailfishos17:54
tango_Andy80: what abount relying on signals?17:56
*** norman15 has left #sailfishos17:56
Andy80tango_: how? I mean... can you point me to an example somewhere?17:56
*** Superpelican_ has joined #sailfishos17:56
tango_honestly no, I'm just brainstorming at the moment17:57
tango_(I'd probably need something similar for my sgt puzzles port)17:57
Dicksonjpnurmi: thanks :) but I don't understand why it set the page's fowardNavigation to !_page._belowTop (i.e. when no attached page) when it suppose to disable the navigation17:57
jpnurmiAndy80: where is that info stored? can't you do it the other way around ie. access the playback/backend from the cover instead of trying to access the cover from outside?17:57
tango_Andy80: I'm thinking that something that could be done is having an application property that is e.g. the name of radio station, then when a new radio statio is selected you change the application property and signal its change, and hook the cover onThisPropertyChanged17:58
*** bugzy has quit IRC17:58
Andy80jpnurmi: these info are stored in the "model", the model is inside the ListView that is inside the main page :)17:58
Andy80jpnurmi: if you follow the link I pasted, there is the complete source code, you can find the model there.... just 3-4 qml files in total17:59
*** KangOl has quit IRC17:59
*** b0bben has quit IRC17:59
*** bugzy has joined #sailfishos17:59
*** b0bben has joined #sailfishos18:00
DicksonAndy80: expose the model to root of page, then access via pageStack.currentPage or pageStack.find18:01
Andy80jpnurmi: I don't think that right now the Cover can access the model object18:01
*** matoking has quit IRC18:02
Andy80Dickson: do I have to expose it in a property or just as model: ....18:03
*** b0bben has quit IRC18:04
*** _miqu_ has quit IRC18:04
Dicksonuse alias property, ie property alias model: listView.model18:05
jpnurmiAndy80: or you could even have the model stuff in your main.qml and just pass a handle to both main page & cover18:05
jpnurmiso you can simply create the instance where you have access to both components that need access the instance18:06
Andy80jpnurmi: it could be a good idea... and the XmlListModel "automagically" ensures that model.channelSong (for example) contains the current selected one?18:07
*** RoKenn has joined #sailfishos18:08
Andy80jpnurmi: in any case I don't know what is the correct syntax to create the ChannelsModel instance in the main.qml and (in particular) pass it to the other pages.... is there any constructor method I need to overwrite? Or do I need to set it as property?18:10
tango_probably the latter18:11
tango_or an alias18:11
jpnurmiAndy80: i was thinking of something along the lines:
*** phaeron has quit IRC18:13
jpnurmiin that construct you could probably even access myModel directly from the pages thanks to QML's scoping rules, but i like to be explicit... :)18:14
*** shiwu_kabigon has quit IRC18:14
Andy80jpnurmi: cool thanks! Ok, give me some time to study it and try :) I let you know later if I don't understand something.18:15
*** faenil_ has joined #sailfishos18:16
TumeezHow I can install new MitäKuuluu?18:17
TumeezDelete older first?18:17
*** faenil has quit IRC18:17
*** faenil_ has quit IRC18:17
*** onurati has joined #sailfishos18:17
BysmyyrTumeez: not need18:17
Bysmyyratleast it worked without in my phone18:17
*** phaeron has joined #sailfishos18:18
*** Raim has quit IRC18:22
*** Raim has joined #sailfishos18:22
*** Dickson has quit IRC18:24
*** Andy80 has quit IRC18:26
*** b0bben has joined #sailfishos18:28
*** b0bben_ has joined #sailfishos18:28
*** jstaniek has joined #sailfishos18:30
*** vitronic_ has quit IRC18:32
*** vitronic_ has joined #sailfishos18:32
*** b0bben_ has quit IRC18:32
ottuloTumeez: same here, just installed over the old18:35
TumeezOh yea, it's work.18:35
*** cdp has joined #sailfishos18:39
*** stephg has quit IRC18:42
*** Andy80 has joined #sailfishos18:43
*** b0bben has quit IRC18:49
*** Robcissp has joined #sailfishos18:54
Robcisspcaldav, carddav and imap idle support - the online specs aren't clear???18:56
Andy80jpnurmi: it almost works18:59
*** sequantz has joined #sailfishos19:00
*** Robcissp has quit IRC19:01
Andy80jpnurmi: passing the model to SailSoma page works, passing to the CoverPage doesn't. Or better.... even if I pass it, even if I've defined this: property XmlListModel model; inside the CoverBackground, then I can't access to model.channelName19:01
Andy80jpnurmi: maybe because model it's already inside ChannelBackground parent and not inside ChannelBackground?19:02
tango_Andy80: I've solved this by accessing the title of the page on top of the stack19:02
tango_wanna see?19:02
Andy80tango_: yes please! But I'd like to try to fix this also :) I've already changed some stuff in the code... it would be a mess else :P19:02
tango_let me access it19:03
tango_(it's on the machine)19:03
tango_oh I should probably put it on github or something19:07
Andy80I can't either push the code right now... damn me and when I didn't create a branch19:09
Andy80why they don't publish a simple example about how to use Covers :/19:11
tango_I think github is having issues19:11
*** Finleida has quit IRC19:11
Andy80I've just pushed some stuff19:14
*** jarkko__ has joined #sailfishos19:18
*** cvp has joined #sailfishos19:20
jarkko__How does your "[nemo@SailfishEmul ~]$ /sbin/ifconfig" look like? For some reason deploying application to emulator doens't work because QtCreator cannot connect to the emulator "ssh: connect to host port 22: No route to host".19:20
hoelzrohello everyone19:23
hoelzroI'm working on my first app for my Jolla, and I have a RPM built, but when I try to install it (via rpm on the command line), I get the following error:19:24
hoelzroFatal error: nothing provides needed by harbour-test-0.1-1.armv7hl19:24
hoelzroI did some searching through this channel's history and the mailing list; any idea what I could be doing wrong?19:24
Andy80hoelzro: it looks like you're trying to use code from a library that is not part of the SDK19:25
hoelzroAndy80: it's just a dummy hello world application19:26
hoelzroI'm guessing I wrote my .pro or .spec file wrong19:26
*** b0bben has joined #sailfishos19:26
hoelzrobut I don't have much to go on19:26
Venemolbt: what's the difference between "deploy as RPM package" and "deploy by building an RPM package"?19:28
Andy80Venemo: I really don't know yet19:28
*** tortoisedoc has joined #sailfishos19:29
tortoisedochappy new year to everyone!19:29
tortoisedocand now for the question of the day:19:29
tortoisedochas anyone info about advertisement possibilities on Jolla Phone?19:29
*** furikku has quit IRC19:30
lbtVenemo: I suspect it's because QtC has a limited bit of text it can put there :)19:30
tortoisedoci.e. advertising services which would support Qt (apart of Smaato which pretty much steals your money)?19:30
*** lbt is now known as an19:30
*** an is now known as lbt19:30
lbtVenemo: the 'build an rpm' is not part of QtC's hardcoded qmake/make steps19:31
lbtinstead it's part of the hardcoded deploy/run19:31
lbtand to make an arm rpm when you only have an emulator you need to partially deploy (ie build the rpm) but not copy, install and run it19:32
lbtnow if you'd learn to ask this on together.j.c I'd get some karma for telling you ;)19:32
*** alexxy has quit IRC19:33
Venemolbt: sorry19:33
Venemolbt: wouldn't it make sense to rename "deploy by building an RPM package" to "Just build and RPM"?19:34
Venemosince it doesn't actually deploy anything19:34
Venemotortoisedoc: not sure, but I hate ads19:34
tortoisedocVenemo : so do I, but my kids need to eat and my favourite store only allows free apps :P19:35
lbtVenemo: I honestly don't know what QtC restricts that too19:35
lbtI agree it's confusing as hell19:35
Venemosince you forked it anyway, would it hurt to rename that one label?19:35
lbtit's not supposed to be forked19:36
*** amonk has quit IRC19:36
lbtwe just haven't pushed all the stuff upstream yet19:37
Venemoand after a year you still haven't => it's gonna remain a fork forever19:38
Venemoon a different note, where do I find the full list of available built-in iconsources?19:38
ElleoVenemo: do you mean for doing things like "theme://icon-m-blah"? if so: /usr/share/themes/jolla-ambient/meegotouch/icons/19:39
VenemoElleo: I mean: iconSource: "image://theme/icon-cover-pause"19:40
ElleoVenemo: , that's what I mean19:40
ElleoVenemo: just look in /usr/share/themes/jolla-ambient/meegotouch/icons/19:40
Elleothose filenames minus their extension19:41
Venemowhat the hell has it to do with meegotouch?19:41
Morpog_PCVenemo, well, theme provider still uses that path19:42
Morpog_PCsame for nemomobile glacier theme19:42
*** b0bben_ has joined #sailfishos19:42
SvioxIs there some condition I can detect sailfish platform on .pro file?19:44
Venemoon a different note, where's the reference documentation for Silica?19:44
VenemoI found this:
Venemothanks Pnuu19:46
Pnuuthat link is on the page you just linked :-)19:47
*** maninc_ has joined #sailfishos19:49
*** Milo-_ has joined #sailfishos19:51
tortoisedocSviox : the first obvious way is DEFINES += JOLLA or something and then contains(DEFINES,JOLLA)19:51
*** diegoyam has joined #sailfishos19:51
*** Vostok has joined #sailfishos19:51
*** tomyri_ has joined #sailfishos19:52
*** mattaustin has joined #sailfishos19:53
*** auri___ has joined #sailfishos19:53
*** ryokale_ has joined #sailfishos19:54
*** nwoki has joined #sailfishos19:54
*** nwoki has quit IRC19:54
*** nwoki has joined #sailfishos19:54
*** Mikaela_ has joined #sailfishos19:54
*** vatral_ has joined #sailfishos19:55
Andy80tango_: thanks!19:56
*** JvD__ has joined #sailfishos19:56
*** b0bben has quit IRC19:56
*** b0bben has joined #sailfishos19:56
*** Tegu_ has joined #sailfishos19:57
*** qwazix_nc has joined #sailfishos19:57
*** tobiski_ has joined #sailfishos19:58
Svioxtortoisedoc: that's not what I meant. Of course I could do a specific pro file for Sailfish, but I want one file for MeeGo, Sailfish and desktop.19:58
*** raa70 has quit IRC19:58
*** Sarvi has quit IRC19:58
*** Tumex_ has quit IRC19:58
*** ryokale has quit IRC19:58
*** Vostok_ has quit IRC19:58
*** qwazix has quit IRC19:58
*** mattaust1n has quit IRC19:58
*** nwoki_ has quit IRC19:58
*** maninc has quit IRC19:58
*** Almehdin has quit IRC19:58
*** pyksy has quit IRC19:58
*** Acce has quit IRC19:58
*** Hartzi has quit IRC19:58
*** Mikaela has quit IRC19:58
*** Tegu has quit IRC19:58
*** diegoyam_ has quit IRC19:58
*** JvD_ has quit IRC19:58
*** tme has quit IRC19:58
*** tomyri has quit IRC19:58
*** Milo- has quit IRC19:58
*** Riksha has quit IRC19:58
*** tohtoris has quit IRC19:58
*** hene- has quit IRC19:58
*** auri__ has quit IRC19:58
*** tobiski has quit IRC19:58
*** tg has quit IRC19:58
*** niko_s has quit IRC19:58
*** vatral has quit IRC19:58
*** aslani has quit IRC19:58
*** tuukkah has quit IRC19:58
*** Firnwath has quit IRC19:58
*** skvark has quit IRC19:58
*** atlaz has quit IRC19:58
*** Latexi95 has quit IRC19:58
*** datakurre has quit IRC19:58
*** Jonni has quit IRC19:58
*** Pantti has quit IRC19:58
*** sharpneli has quit IRC19:58
*** ztane has quit IRC19:58
*** whisperi has quit IRC19:58
*** Kharn has quit IRC19:58
*** Milo-_ is now known as Milo-19:58
*** qwazix_nc is now known as qwazix19:58
*** Pantti has joined #sailfishos19:58
*** sharpneli has joined #sailfishos19:58
*** Hartzi has joined #sailfishos19:58
*** skvark has joined #sailfishos19:58
*** raa70 has joined #sailfishos19:58
*** Acce has joined #sailfishos19:58
*** Hartzi has quit IRC19:59
*** hene- has joined #sailfishos19:59
*** Mikaela_ is now known as Mikaela19:59
*** raa70 has quit IRC19:59
*** Acce has quit IRC19:59
SvioxFor example, on MeeGo, I can use contains(MEEGO_EDITION,harmattan) {} as condition. I really hope I can do something similar with sailfish..19:59
*** tuukkah has joined #sailfishos20:00
*** pyksy has joined #sailfishos20:00
*** tohtoris has joined #sailfishos20:00
*** datakurre has joined #sailfishos20:00
*** sharpneli has quit IRC20:00
*** raa70 has joined #sailfishos20:00
*** sharpneli has joined #sailfishos20:00
*** b0bben has quit IRC20:01
*** skvark has quit IRC20:01
*** Acce has joined #sailfishos20:01
*** skvark has joined #sailfishos20:01
*** thedead1440__ has joined #sailfishos20:01
*** Kharn has joined #sailfishos20:02
*** whisperi has joined #sailfishos20:02
*** Hartzi has joined #sailfishos20:02
*** Almehdin has joined #sailfishos20:02
*** tg has joined #sailfishos20:03
*** atlaz has joined #sailfishos20:03
*** master_of_master has joined #sailfishos20:03
*** c0ck4m0u53 has joined #sailfishos20:03
*** viq_ has joined #sailfishos20:03
*** vegai_ has joined #sailfishos20:03
*** tortoisedoc has quit IRC20:03
*** aslani has joined #sailfishos20:04
*** gigetoo_ has joined #sailfishos20:04
*** fuz_ has quit IRC20:04
*** suosaask1 has joined #sailfishos20:04
*** tobiski has joined #sailfishos20:04
*** Mirv_ has joined #sailfishos20:04
*** tme has joined #sailfishos20:04
*** Morpog_ has joined #sailfishos20:04
*** Riksha has joined #sailfishos20:05
*** tesalmin1_ has joined #sailfishos20:05
*** Latexi95 has joined #sailfishos20:05
*** ztane has joined #sailfishos20:05
*** Firnwath has joined #sailfishos20:05
*** dhbiker has quit IRC20:05
*** Tumex_ has joined #sailfishos20:05
*** vitronic_ has quit IRC20:05
*** n0rman_ has joined #sailfishos20:06
*** vitronic_ has joined #sailfishos20:06
Venemolbt: btw, have you seen/used the windows phone SDK?20:06
*** nsm- has joined #sailfishos20:07
tango_why would anyone want to do that20:07
Venemoit's a breeze to use because when you hit run or ctrl+F5 the app can  immediately launch on the phone20:07
*** Andy80 has quit IRC20:08
Venemothis is why I'm bashing the SDK, it's too slow - I have to wait too much until I can see my app on the device20:08
*** dhbiker has joined #sailfishos20:09
*** tobiski_ has quit IRC20:09
*** PeterPark has quit IRC20:09
*** Morpog_PC has quit IRC20:09
*** thedead1440_ has quit IRC20:09
*** master_o1_master has quit IRC20:09
*** n0rman has quit IRC20:09
*** suosaaski has quit IRC20:09
*** fk_lx has quit IRC20:09
*** gigetoo has quit IRC20:09
*** vegai has quit IRC20:09
*** arisel has quit IRC20:09
*** tesalmin1 has quit IRC20:09
*** viq has quit IRC20:09
*** Mirv has quit IRC20:09
*** nsm has quit IRC20:09
*** nsm- is now known as nsm20:09
*** nsuffys has quit IRC20:10
lbtVenemo: first it makes sense to get a correct solution; then to optimise it :)20:10
*** niko_s has joined #sailfishos20:10
lbt(and fwiw, I agree it's too slow)20:10
*** cvp has quit IRC20:11
*** Almehdin has quit IRC20:14
*** Sarvi has joined #sailfishos20:14
*** arisel has joined #sailfishos20:15
*** fk_lx has joined #sailfishos20:15
*** Andy80 has joined #sailfishos20:18
*** matoking has joined #sailfishos20:18
matokingUnlike what I thought, there actually is landscape support20:19
matokingIt's just that when the orientation is changed from portrait to landscape it won't change back20:19
matokingI thought there wasn't landscape support, since in the main QML file I had allowedOrientations set to All and it didn't do anything20:22
lbtset it in the page20:23
matokingBut when you put that value in individual Pages, it works20:23
lbtdifferent pages can have different settings20:23
matokingI dunno20:23
tango_otoh, I think they should inherit the app one by default20:24
matokingIf I set allowedOrientations inside ApplicationWindow to All, I assume it would be considered All in other Pages unless otherwise specified20:24
tango_well that's the way it should work IMO20:24
matokingWell, either something is wrong with my app or the support is still shaky but I can't shake the orientation back no matter how I orientate my phone20:26
matokingOnce it's changed to landscape it's landscape for good until I restart the app20:28
matokingAnd if I start the app while my phone is in the landscape orientation, it starts up in portrait orientation instead20:28
matokingFile Browser works like a charm so it must be a problem with my app20:29
*** Andy80 has quit IRC20:29
coderusmatoking: you need to have orientation property in each Page and Dialog you have20:30
matoking@coderus Or otherwise it gets stuck, even though I'm inside a single Page the entire time?20:31
coderusyes, you need to set allowedOrientations to your main qml and page qml20:31
matokingYeah, I needed a reason to use Ctrl+C and Ctrl+V :P20:32
matokingOh, and Screen.height and Screen.width appear to be constant, eg. they don't change based on the orientation20:33
matoking..and that's how it's supposed to be according to the docs20:34
*** fuz_ has joined #sailfishos20:35
*** c0ck4m0u53 has quit IRC20:38
*** itbaron has quit IRC20:39
*** Andy80 has joined #sailfishos20:43
*** Jonni has joined #sailfishos20:47
*** jarkko__ has quit IRC20:47
*** inara has quit IRC20:49
*** inara has joined #sailfishos20:53
*** Sfiet_Konstantin has joined #sailfishos20:55
*** Juhi24 has joined #sailfishos20:56
*** Sfiet_Konstantin has quit IRC20:56
*** DarkSim has joined #sailfishos20:59
coderusyou using Screen.height/width in application? o_O21:01
matokingYeah most of the time I used parent.height or similar21:03
matokingBut sometimes I used Screen21:03
coderuswhat puppose?21:03
matokingI thought it was convenient since it would have the orientation-aware screen height and width21:04
Andy80tango_: I've read your example. To set just the title it can be ok, but I really need a better way to make the CoverPage to interact with the rest of the application, because I would like to be able to control also the Play/Pause etc... so I really need to be able to connect to the other properties or to use some signals... but I need to read a bit of docs first...21:05
matoking@Andy80 Connecting a bunch of distant properties together always gives me a headache21:07
Andy80matoking: there must be an easy and clean way that I just don't know21:07
matoking@Andy80 Yeah, that's what I've thought too21:08
matokingMy application is starting to come together very nicely21:10
matokingI did find a sensible solution to the problem I was having earlier today21:11
Andy80matoking: I want to give a better look to this maybe I will learn something more21:11
Andy80not much about what I need anyway...21:14
coderusAndy80: just declare properties and function you need in main qml file and you can use it from both Cover and Pages21:15
matoking@coderus Wait, really?21:15
matokingMy whole life has been a lie21:15
*** Andy80 has quit IRC21:16
*** b0bben has joined #sailfishos21:18
coderusyou can use from Cover too21:19
coderusyou can even use any Page properties if page declared in appwindow21:20
coderusfor example in cover page i have two labels:21:21
coderuslabel1.text: parseConnectionStatus(appWindowPage.connectionStatus)21:21
*** crevetor has quit IRC21:22
*** matoking has quit IRC21:22
coderuslabel2.text: roster.unreadCount > 0 ? (strFmt("Unread mesasges: %1", [roster.unreadCount])) : "No unread messages"21:22
*** vitronic_ has quit IRC21:22
coderusand it working fine :)21:22
*** b0bben has quit IRC21:22
coderusno  magic21:22
*** vitronic_ has joined #sailfishos21:23
*** jjarven has quit IRC21:23
*** jstaniek_ has joined #sailfishos21:23
*** crevetor has joined #sailfishos21:24
*** jstaniek has quit IRC21:26
*** bennypr0fane has joined #sailfishos21:29
coderusbennypr0fane: ?21:29
*** KangOl has joined #sailfishos21:30
bennypr0fanecoderus sorry, typo21:30
*** mk2soldier has joined #sailfishos21:37
*** jjarven has joined #sailfishos21:40
*** amizraa has quit IRC21:41
*** amizraa has joined #sailfishos21:42
suySviox: (i'm reading the backlog, sorry if you already got it) I'm doing packagesExists(sailfishapp) {}21:45
*** b0bben_ has quit IRC21:47
tango_coderus: how is roster defined?21:47
*** b0bben has joined #sailfishos21:52
coderusRoster { id: roster }21:53
tango_coderus: in the main qml file? and that id is accessible from the cover?21:56
coderusyes and yes21:57
coderusQtCreator not showing pages properties in CoverPage because cover initialized dynamically21:58
Svioxsuy: No, didn't have it yet. I'll try yours tomorrow, thanks.22:01
*** Sviox has quit IRC22:01
*** bennypr0fane has quit IRC22:01
Venemoanyone knows anything about OpacityRampEffect?22:04
tango_Venemo: I managed to get it to work22:04
Venemofor me it's totally invisible, the items it contains just don't show up at all22:05
tango_copying it over from pageheader or something22:05
tango_Venemo: ah yes, I solved that plaing the opacityrampeffect in its own item, superimposed to the other22:05
tango_which is the way it's done in pageheader22:06
Venemoaaah, got it22:06
VenemoI used it incorrectly22:06
Venemoforgot to set its sourceItem22:07
Venemo(I assumed it would work if the stuff I wanted the effect on were its children)22:07
tango_no idea22:08
Venemoit didn't22:08
Venemobut I solved it ;)22:08
tango_Venemo: how?22:09
*** Superpelican_ has quit IRC22:09
*** Almehdin has joined #sailfishos22:10
Venemotango_: here:
*** faenil has joined #sailfishos22:11
*** cdp has quit IRC22:12
*** mk2soldier has quit IRC22:13
*** Venemo has quit IRC22:15
*** Venemo has joined #sailfishos22:17
*** phaeron has quit IRC22:24
*** sequantz has quit IRC22:30
Venemois it possible to nest multiple SilicaListView components?22:30
*** viq_ is now known as viq22:32
*** pixraider_ has joined #sailfishos22:35
*** pixraider has quit IRC22:36
specialVenemo: should be the same as nesting ListView22:36
specialso, it works, but manage your 'interactive' properties carefully or it might be a little odd.22:36
Venemospecial: ah, okay22:38
celeron55is the debugger supposed to work?22:45
celeron55qtcreator's doesn't seem to22:46
celeron55i can run gdb on the command line though, but it doesn't have debug symbols22:46
special(-debuginfo packages contain debug symbols)22:47
celeron55where are they?22:48
celeron55or, well, i don't really want to use rpms as making them is fairly slow22:48
celeron55the copying binaries option works well for that part, but they don't have the symbols22:49
specialah, for your own binaries22:49
specialnot sure exactly what the situation is there when building with the SDK22:50
specialif you want library debug symbols, install the debuginfo packages; qt5-qtcore-debuginfo, etc.22:50
celeron55let's try CONFIG += debug22:50
celeron55no luck22:51
specialyou need -g or -ggdb in the cflags, and to make sure nothing is stripping afterwards22:51
sjnhow can I start an app on a Jolla device under gdb?22:51
celeron55special: well yeah, that's the goal obviously22:52
celeron55it looks like -g is there22:53
celeron55so something strips them...22:53
celeron55so the question is, what22:53
specialqmake strips during install by default, I believe..22:54
special(for release, at least)22:56
*** faenil has quit IRC23:04
*** zhasha has left #sailfishos23:07
*** b0bben_ has joined #sailfishos23:07
Venemoin the componentgallery app there's a circle around the IconButtons23:09
Venemowhy don't I get the same circle for the iconbutton in my app?23:09
Venemoit's part of the icon source file23:11
*** b0bben_ has quit IRC23:11
*** RoKenn has quit IRC23:13
*** onurati has quit IRC23:20
*** AlmAck has quit IRC23:20
celeron55bah, this is impossible23:23
Venemoceleron55: what?23:23
celeron55something strips binaries in debug build23:24
celeron55and i want to debug them with gdb by myself because qtcreator's debugger doesn't work in the first place23:24
Venemomaybe you can somehow configure that in the yaml or spec file23:29
Venemoremember it's an rpmbuild that's being run there23:29
Venemolbt: can you give any clue about this to celeron5523:29
celeron55i'd really prefer to set up a cmake build environment without any of this qtcreator/qmake/whatever crap23:30
celeron55but there's not enough documentation23:30
Venemobtw, how do I set the text of a TextField progmatically?23:30
celeron55if someone can help, please do23:30
Venemofield.text = "aaa" doesn't work23:30
hoelzroso my linker error fixed itself23:30
* hoelzro shrugs23:30
hoelzroand I actually managed to deploy an application to my phone!23:30
hoelzrobut now I'm encountering an odd error message when trying to use acceptDestination with a Dialog23:31
hoelzro"Warning: cannot pop while transition is in progress"23:31
hoelzroand it's preventing me from accepting (or even rejecting) the dialog23:31
*** gigetoo_ has quit IRC23:32
hoelzroany thoughts?23:32
*** ericcc has joined #sailfishos23:32
*** ericcc_ has joined #sailfishos23:32
*** triggerhappy has joined #sailfishos23:32
*** ericcc has quit IRC23:32
lbtceleron55: not done any on-device debugging myself; I notice /usr/lib/debug/ has stuff when you use the sync deployment23:33
*** gigetoo has joined #sailfishos23:34
Venemolbt: is it possible that rpmbuild strips the debug symbols?23:34
*** zhost has quit IRC23:35
celeron55lbt: i'm on the emulator / whatever virtual machine23:35
*** coderus has quit IRC23:35
*** vitronic_ has quit IRC23:36
*** vitronic_ has joined #sailfishos23:36
*** ajalkane has quit IRC23:37
*** jjanvier has quit IRC23:37
*** coderus has joined #sailfishos23:39
celeron55that did the trick23:39
celeron55i wonder if it's possible to put that in the .yaml23:39
lbtor:    gdb /opt/sdk/harbour-app/usr/bin/harbour-app  and then do maint info sections. Get the .text load addr; then add-symbol-file /opt/sdk/harbour-app/usr/lib/debug/usr/bin/harbour-app.debug $.text-addr23:39
celeron55lbt: i don't have any of that usr/lib/debug stuff, so no23:40
lbtso basically the rpm will create a set of symbol info23:40
lbtwell are you using a debug build?23:40
celeron55i am using the debug build with deploy by copying binaries23:41
celeron55on the emulator23:41
lbtand /opt/sdk/harbour-app/usr/lib/debug/usr/bin is empty ?23:41
lbts/app/  as needed23:41
lbthmm .. it's not here :)23:42
celeron55or, well, usr/lib doesn't exist at all23:42
celeron55usr/bin and usr/share only23:42
celeron55which are what the app uses23:42
lbtnot sure why - I get a load of debug stuff installed23:43
*** ajalkane has joined #sailfishos23:43
celeron55can you pastebin your .pro and .yaml?23:43
lbtsure - it's bog standard 'create new project' template though23:44
celeron55oh don't then; that works for me too23:45
celeron55this is a rather more custom project23:45
celeron55with subprojects and much data files and whatever23:45
lbtcan you post your pro and yaml then23:46
celeron55well i could, but i have hard time believing anyone could make anything out of those23:49
*** arcean has quit IRC23:50
*** guhl has joined #sailfishos23:50
*** coderus has quit IRC23:51
*** coderus has joined #sailfishos23:52
*** amccarthy has joined #sailfishos23:52
*** b0bben has quit IRC23:53
lbtceleron55: np ... good luck then23:53
*** jstaniek_ has quit IRC23:53
celeron55lbt: do you have any idea about how to go about using cmake to target sailfish without using qtcreator?23:55
*** b0bben has joined #sailfishos23:56
celeron55that seems to me like the most sane way of doing stuff, but there's zero documentation23:56
lbtno, sorry23:56
lbtqmake has its issues but it is documented and supported23:57
lbtbut if you think making your own way down the cmake road is sane then that's cool too :)23:57
*** Morpog_ has quit IRC23:57
celeron55qmake is fairly understandable, but all this automation around it makes everything hard to understand23:57
*** ericcc_ has quit IRC23:58
celeron55i tried to read directly on mer's wiki about the raw build system, but that goes too low and directly focuses on developing mer itself23:58
lbtwell, it's not that complex really23:58
celeron55i'm interested in developing for sailfish on a native level; not developing mer and not developing with QML or other fancy stuff23:58
lbtnot store apps then?23:59

Generated by 2.17.1 by Marius Gedminas - find it at!