Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Bug in Qt (?), Qt apps freks out if hildon-desktop is restarted

    Reply
    Page 1 of 3 | 1   2     3   | Next
    d-iivil | # 1 | 2010-11-23, 21:52 | Report

    At least for me the following behaviour is reproducable:
    - open some Qt application which has at least one QComboBox or some menus on top bar to tap to
    - run "killall hildon-desktop" or "dsmetool -k /usr/bin/hildon-desktop; dsmetool -t -U user /usr/bin/hildon-desktop"

    Now try to get away without rebooting the device... only option is to killall the qt app(s) that were running in the background via SSH connection.

    Is this a bug in Qt or is there another more "gentle" way to restart hildon-desktop than ones above?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Joorin | # 2 | 2010-11-24, 06:30 | Report

    Why do you want to restart the desktop process?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Wikiwide | # 3 | 2010-11-24, 08:02 | Report

    Originally Posted by Joorin View Post
    Why do you want to restart the desktop process?
    To refresh the icons in Hildon launcher menu?
    For me it's usual behavior.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    d-iivil | # 4 | 2010-11-24, 08:43 | Report

    Originally Posted by Wikiwide View Post
    To refresh the icons in Hildon launcher menu?
    For me it's usual behavior.
    Actually to refresh about everything (this is actually Theme Customizer related question) without having to reboot the device. Built-in theme choosen app (personalisation_app) seems to do this without actually restartin the hildon-desktop. If I only knew what that closed source app is doing when applying new theme I would be very happy.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to d-iivil For This Useful Post:
    noobmonkey

     
    Joorin | # 5 | 2010-11-24, 20:04 | Report

    Originally Posted by d-iivil View Post
    Actually to refresh about everything (this is actually Theme Customizer related question) without having to reboot the device. Built-in theme choosen app (personalisation_app) seems to do this without actually restartin the hildon-desktop. If I only knew what that closed source app is doing when applying new theme I would be very happy.
    So, in reality, you want to mimic, or replicate, the behaviour of another application?

    Since dbus is used for many things, I'd suggest that you listen in on it while the other application "does its magic" to see what's happening. If you're lucky, it's a simple command that is sent that you then can implement in your own application.

    If some other communication is used, you'll have to get more creative and that's perhaps too big a scope.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lunat | # 6 | 2010-11-24, 20:22 | Report

    quickshot: killall -g ?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Wikiwide | # 7 | 2010-11-24, 20:25 | Report

    Personalization_app doesn't ideally switch between themes, after it you can see some relics of old theme.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    d-iivil | # 8 | 2010-11-25, 06:04 | Report

    Originally Posted by Wikiwide View Post
    Personalization_app doesn't ideally switch between themes, after it you can see some relics of old theme.
    Yeah, I know that. I'd only like to see how it reloads the icons on the application launcher menu. Rest is pretty trivial to do.

    And I still think it's a Qt bug. Gtk+ apps can handle the shutdown + startup of hildon-desktop without issues.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    d-iivil | # 9 | 2010-11-25, 06:07 | Report

    Originally Posted by Joorin View Post
    So, in reality, you want to mimic, or replicate, the behaviour of another application?

    Since dbus is used for many things, I'd suggest that you listen in on it while the other application "does its magic" to see what's happening. If you're lucky, it's a simple command that is sent that you then can implement in your own application.

    If some other communication is used, you'll have to get more creative and that's perhaps too big a scope.
    I don't want to replicate the behaviour, but it would indeed be nice to know how the personalisation_app is doing the things.

    I already tried scanning the DBus and there's no (extra) activity there.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Diph | # 10 | 2010-11-25, 07:15 | Report

    What does the hildon-desktop theme option do?

    hildon-desktop -theme theme : Load the specified theme

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 1 of 3 | 1   2     3   | Next
vBulletin® Version 3.8.8
Normal Logout