Re: [SailfishDevel] Contacts db issue

2015-10-26 Thread Matthew Vogt
Hi Tone. Yes, it sounds like you have a corrupted contacts database. Any idea how that might have happened? In any case, you can try to recreate the database to fix the issue. You need to do something along the lines of the following (but please sanity-check these instructions before running

[SailfishDevel] Contacts db issue

2015-10-26 Thread Tone Kastlunger
Hey; looking through the logs (for something else) on my Jolla I happened to find the following error; it appears to be realated to the contacts db. Any way to fix it? "Failed to prepare query for joined details: database disk image is malformed Unable to fetch row

Re: [SailfishDevel] UX issues

2015-10-26 Thread Peter Kovacs
HI francois, My expectation is: 1 level - List of things -Tab short switches into 2 level detail - tab long deletes object. - menu generates new item( empty level detail) 2 level detail of object -tab property opens editor for that property ( new page if property is complex on screen if property i

Re: [SailfishDevel] UX issues

2015-10-26 Thread François K .
Thank you Petr for you advices. I'll definitely give it a try. If others have other ideas/advices/points of view, please share them ! Cheers, -- François ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lis

Re: [SailfishDevel] Drawing ShaderEffect to Canvas

2015-10-26 Thread Kimmo Lindholm
> Yeah grabToImage() is pretty costly due to the pixel readback. What you want > is to draw your ShaderEffect into a texture and then draw that texture > directly > onto the canvas without going through the pixel readback / CPU memory code > path that grabToImage would imply. Not sure how exactly

Re: [SailfishDevel] Drawing ShaderEffect to Canvas

2015-10-26 Thread Gunnar Sletta
> On 26 Oct 2015, at 10:52, Kimmo Lindholm wrote: > > I think I found a way to do this. > > I draw the painting tool to a separate preview canvas, and use this as a > alpha-mask input for the shader. Then combine this with processed drawing > canvas contents and view the shader output in rea

Re: [SailfishDevel] Drawing ShaderEffect to Canvas

2015-10-26 Thread Kimmo Lindholm
I think I found a way to do this. I draw the painting tool to a separate preview canvas, and use this as a alpha-mask input for the shader. Then combine this with processed drawing canvas contents and view the shader output in realtime. When user accepts the result, the whole thing is grabbed as