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

2015-06-16 Thread Thomas Tanghus
On Tuesday 16 June 2015 10:51:29 Simo Piiroinen wrote: On Tuesday, June 16, 2015 12:25:09 AM Thomas Tanghus wrote: On Friday 12 June 2015 12:47:42 coderusin...@gmail.com wrote: check mce dbus. There is should be a method bot unblanking screen. Been away since Friday, but

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

2015-06-16 Thread Richard Grooff
Apps can keep it from turning off: req_display_blanking_pause and when app closes: req_display_cancel_blanking_pause. I use it in harboud-hud version openrepos. Regards, Richard On Tue Jun 16 17:01:13 2015 GMT+0200, Thomas Tanghus wrote: On Tuesday 16 June 2015 10:51:29 Simo Piiroinen

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

2015-06-16 Thread Thomas Tanghus
On Tuesday 16 June 2015 15:27:15 Richard Grooff wrote: Apps can keep it from turning off: req_display_blanking_pause and when app closes: req_display_cancel_blanking_pause. Thanks Richard, but I don't want it to stop blanking, as the alarms can be up to 1 hour; I rather want it to unblank

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

2015-06-16 Thread richard grooff
] ApplicationWindow.activate() does nothing On Tuesday 16 June 2015 15:27:15 Richard Grooff wrote: Apps can keep it from turning off: req_display_blanking_pause and when app closes: req_display_cancel_blanking_pause. Thanks Richard, but I don't want it to stop blanking, as the alarms can be up to 1 hour; I

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

2015-06-15 Thread Thomas Tanghus
On Friday 12 June 2015 12:47:42 coderusin...@gmail.com wrote: check mce dbus. There is should be a method bot unblanking screen. Been away since Friday, but req_display_state_on looks like the one. Hard to find any real documentation on mce other than searching github etc. I've never tried

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

2015-06-12 Thread Thomas Tanghus
It still does nothing. And anyways when being in ApplicationWindow context it shouldn't be necessary? On Friday 12 June 2015 02:20:15 coderusin...@gmail.com wrote: you should call app.activate() The documentation says: activate() Brings the application in full-screen mode to the

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

2015-06-12 Thread coderusinbox
Works for me flawlessly. If you’re using Emulator just ignore bugs you founding. Sent from Windows Mail From: Thomas Tanghus Sent: ‎Friday‎, ‎June‎ ‎12‎, ‎2015 ‎3‎:‎00‎ ‎PM To: devel@lists.sailfishos.org It still does nothing. And anyways when being in ApplicationWindow context it

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

2015-06-12 Thread Thomas Tanghus
On Friday 12 June 2015 10:04:18 coderusin...@gmail.com wrote: Works for me flawlessly. Weird. Do you have a link to an example? If you’re using Emulator just ignore bugs you founding. I always deploy as RPM on the phone. Sent from Windows Mail It's really not good for mailing lists. I

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

2015-06-12 Thread Thomas Tanghus
Firstly: *Sorry for the noise* On Friday 12 June 2015 10:46:56 coderusin...@gmail.com wrote: What example you want? For me just appWindow.activate() works. Forget it. I haven't touched the code for over a year, so I had forgotten that there are two places where the alarm could be triggered

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

2015-06-12 Thread coderusinbox
check mce dbus. There is should be a method bot unblanking screen. Sent from Windows Mail From: Thomas Tanghus Sent: ‎Friday‎, ‎June‎ ‎12‎, ‎2015 ‎5‎:‎32‎ ‎PM To: devel@lists.sailfishos.org Firstly: *Sorry for the noise* On Friday 12 June 2015 10:46:56 coderusin...@gmail.com

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

2015-06-12 Thread Thomas Tanghus
Thanks, that will keep me occupied for a while :D I've never tried programming anything using dbus. On Friday 12 June 2015 12:47:42 coderusin...@gmail.com wrote: check mce dbus. There is should be a method bot unblanking screen. Sadly it only works when the display is on, not when waking up

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

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