Notices


Reply
Thread Tools
fcrochik's Avatar
Posts: 722 | Thanked: 1,223 times | Joined on Apr 2010 @ USA
#461
Originally Posted by x-lette View Post
Sorry, I didn't read through all 46 pages so I might have missed the information. Is there any way to close MyContacts from outside the app? Is there a d-bus command one can use?

The reason is that theme customizer restarts desktop after changes but with MyContatcs running this completely breaks the desktop. Only solution left is to reboot the device. So I'm looking for a possibility to stop mycontacts before restarting desktop and to start it again when desktop is running. Do you have any clue on how to do this in a clean way?
There is a dbus method to trigger MyContacts to close all windows:

Code:
dbus-send --dest=com.crochik.MyContacts --print-reply / com.crochik.MyContacts.exit string:"bye!"
I created it long time ago but never found an use for it. Right now it will just close all the windows (application and widget) but not shutdown the application - it will keep running on the background waiting for you to click on the application icon again.

It should be enough to avoid any issues with changing the desktop. If not please let me know and on a new release I will make it "shutdown" the application completely instead.

The one unwanted side effect of using this method is that you will need to select "install widget" from the application menu to get it installed to the desktop again. If you decide to implement this please make sure to let the users know how to get the widget running again.
__________________

My maemo work:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
For Harmattan:
GeePS - native UI around google maps - GApp - access to optimized mobile "google apps".
Shutdown - shutdown and reboot with one click - QuickCall - one click call, skypeout and google voice integration using dial tones.
WakeOnLan - wake computers on your local network.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
For Maemo/N900:
GApp - access to optimized mobile "google apps". - MobWebMail: browser optimized to access multiple gmail accounts
MyContacts: 75 Contacts on your desktop, ring tones per group and more - GeePS: native front-end for google maps
Macuco2 : web browser to access web sites optimized for the iphone - WakeOnLan: wake up computers on your local network
dbBrowser: Simple application to browse sqlite databases
 

The Following User Says Thank You to fcrochik For This Useful Post:
Posts: 539 | Thanked: 165 times | Joined on Feb 2010 @ Berlin, Germany
#462
Thanks for that. I already tried calling ....exit (as well as ...quit and ...shutdown) but without giving it that string.
so you think, that running the app doesn't matter when restarting desktop but having an open window does? Well, I didn't check that yet. I either had nothing running or I had a window or widget open. Would be a good solution to clos all windows and have it still running in background.
Is there another dbus-command for re-enabling the widget (this is why I'm using MContacts)?.
 
fcrochik's Avatar
Posts: 722 | Thanked: 1,223 times | Joined on Apr 2010 @ USA
#463
Originally Posted by x-lette View Post
Thanks for that. I already tried calling ....exit (as well as ...quit and ...shutdown) but without giving it that string.
so you think, that running the app doesn't matter when restarting desktop but having an open window does? Well, I didn't check that yet. I either had nothing running or I had a window or widget open. Would be a good solution to clos all windows and have it still running in background.
Is there another dbus-command for re-enabling the widget (this is why I'm using MContacts)?.
In fact there is:
Code:
dbus-send --dest=com.crochik.MyContacts --print-reply / com.crochik.MyContacts.addApplet string:"anything_here"
Let me know if it works as expected
__________________

My maemo work:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
For Harmattan:
GeePS - native UI around google maps - GApp - access to optimized mobile "google apps".
Shutdown - shutdown and reboot with one click - QuickCall - one click call, skypeout and google voice integration using dial tones.
WakeOnLan - wake computers on your local network.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
For Maemo/N900:
GApp - access to optimized mobile "google apps". - MobWebMail: browser optimized to access multiple gmail accounts
MyContacts: 75 Contacts on your desktop, ring tones per group and more - GeePS: native front-end for google maps
Macuco2 : web browser to access web sites optimized for the iphone - WakeOnLan: wake up computers on your local network
dbBrowser: Simple application to browse sqlite databases
 
Posts: 539 | Thanked: 165 times | Joined on Feb 2010 @ Berlin, Germany
#464
Sorry to say that, but restarting desktop with MyContacts running doesn't seem to work. It's not my application, you can follow the discussion here: http://talk.maemo.org/showpost.php?p...&postcount=550 . It would be awesome if you could help d-iivil out.
 
fcrochik's Avatar
Posts: 722 | Thanked: 1,223 times | Joined on Apr 2010 @ USA
#465
Originally Posted by x-lette View Post
Sorry to say that, but restarting desktop with MyContacts running doesn't seem to work. It's not my application, you can follow the discussion here: http://talk.maemo.org/showpost.php?p...&postcount=550 . It would be awesome if you could help d-iivil out.
So....unfortunately for now the only other option left is to use killall:
Code:
killall mycontacts
On a future release I will change the "exit" method to actually "shutdown" the application instead of just closing the windows.
__________________

My maemo work:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
For Harmattan:
GeePS - native UI around google maps - GApp - access to optimized mobile "google apps".
Shutdown - shutdown and reboot with one click - QuickCall - one click call, skypeout and google voice integration using dial tones.
WakeOnLan - wake computers on your local network.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
For Maemo/N900:
GApp - access to optimized mobile "google apps". - MobWebMail: browser optimized to access multiple gmail accounts
MyContacts: 75 Contacts on your desktop, ring tones per group and more - GeePS: native front-end for google maps
Macuco2 : web browser to access web sites optimized for the iphone - WakeOnLan: wake up computers on your local network
dbBrowser: Simple application to browse sqlite databases
 
d-iivil's Avatar
Posts: 2,154 | Thanked: 2,186 times | Joined on Dec 2009 @ Hellsinki, Finland
#466
Hold your horses. The d-bus minimize + maximize thing actually works. I'll implement it into Theme Customizer
__________________
If you're rich and you think I deserve a cold beer, you may donate one or two :-P

80's style stadium rock is back - FIRENOTE
Hi-Octane heavy metal - FORCE MAJEURE
 

The Following User Says Thank You to d-iivil For This Useful Post:
d-iivil's Avatar
Posts: 2,154 | Thanked: 2,186 times | Joined on Dec 2009 @ Hellsinki, Finland
#467
Originally Posted by d-iivil View Post
Hold your horses. The d-bus minimize + maximize thing actually works. I'll implement it into Theme Customizer
I'll take that back. It worked once, but on second "killall hildon-desktop" it was all messed up again

So it seems that only safe way to restart hildon-desktop is to first killall mycontacts.
__________________
If you're rich and you think I deserve a cold beer, you may donate one or two :-P

80's style stadium rock is back - FIRENOTE
Hi-Octane heavy metal - FORCE MAJEURE
 

The Following User Says Thank You to d-iivil For This Useful Post:
Posts: 1,048 | Thanked: 979 times | Joined on Mar 2008 @ SF Bay Area
#468
Originally Posted by d-iivil View Post
I'll take that back. It worked once, but on second "killall hildon-desktop" it was all messed up again

So it seems that only safe way to restart hildon-desktop is to first killall mycontacts.
I can confirm this is true from my attempts at killing hildon-desktop.
Every time I kill hildon-desktop, I get two zombie windows from MyContacts which cannot be closed in any way other than killall mycontacts.

I don't think this is a MyContacts specific problem though - qgvdial also gives me a zombie window - which leads me to believe that it's a QT thing.
__________________
qgvdial: Google Voice client. All downloads
qgvtp: Phone integration for the n900 that dials out and sends texts using qgvdial.
mosquitto: message broker that implements the MQ Telemetry Transport protocol version 3.
qgvnotify: Google voice and contacts notifier for diablo and maemo.

If you want to thank me, click the Thanks button.
If you'd like to thank my applications, vote to move them to extras.
 
d-iivil's Avatar
Posts: 2,154 | Thanked: 2,186 times | Joined on Dec 2009 @ Hellsinki, Finland
#469
Originally Posted by uvatbc View Post
I can confirm this is true from my attempts at killing hildon-desktop.
Every time I kill hildon-desktop, I get two zombie windows from MyContacts which cannot be closed in any way other than killall mycontacts.

I don't think this is a MyContacts specific problem though - qgvdial also gives me a zombie window - which leads me to believe that it's a QT thing.
I can't even get to kill the windows unless I have left SSH connection open so I can remotely type into terminal.

Edit: and it doesn't matter if I use "dsmetool -k /usr/bin/hildon-desktop" instead of killall. But yes, it's most definitely a Qt thing since I can reproduce the behaviour with simple Qt app open which only has one drop down box. It becomes zombie most of the times when hildon-desktop is killed.
__________________
If you're rich and you think I deserve a cold beer, you may donate one or two :-P

80's style stadium rock is back - FIRENOTE
Hi-Octane heavy metal - FORCE MAJEURE
 
Posts: 6 | Thanked: 0 times | Joined on Feb 2010
#470
Hi!,
At first, your program is really really cool. Keep on this good work.

But second, (I haven't read all the comments here, so I dont know, if the problem was posted before) - I try to tell you the problem:

I connect the phone with my car. There I can go to the phonebook, by clicking on "ABC", "DEF", "GHI" "JKL" ..., and so on, I can search the names.
Since I installed your program, the car takes the list in your application, which is - I think - not sorted.

Let me explane by an example:

Before installing your app:
I search for a name - like "Lisa", so I click on the button "JKL" and go manually down through all names beginning with "J", than "K" and than "L" - until "Lisa" is there. - Push the button - call starts.

Now since the installed app:
There is a new list under the existing list starting under the "Z" with names unsorted. Not all names of the phone book, but many.
(Its the same list which is shown in your app).
So I start searching again for a name - like "Lisa". I click on the button "JKL" and the cursor jumps not to the list which is in the ABC stile but goes directly to the new list beginning under the Z.
So I had to go manually all the way up through all the names until the "L's"- this is not handy. In the car there is not so much time to go through all the (in my case 350or more) contacts.

I tryed to fix this by uninstalling the app, but the list still exists.

So there are a few questions:

1) Is the app editing (and reformating) the existing phone-contactslist (forever) so the car cannot read it right anymore?
2) Is there a way to sort the names in ABC stile? (I think this fix all the problems)
3) Why are there some names not sorted?
4) How can I get my old list back (if point 2 cannot be made, and I had to uninstall the app forever)

sincerely,
Stein
 
Reply


 
Forum Jump


All times are GMT. The time now is 23:32.