PDA

View Full Version : [ubuntu] How do I get launch feedback for Qt applications?



Dobro_player
December 30th, 2010, 06:09 AM
How do I get launch feedback for Qt applications such as VLC? For example, if I open a file with a gtk application the mouse turns into a spinning thing to show the application is loading, but this does not happen with Qt applications.

Dobro_player
December 31st, 2010, 03:09 AM
No one knows? Should I file a bug report?

kellemes
January 1st, 2011, 12:02 PM
Don't know this one.. so just a little guessing here..
You can configure launch-feedback from the KDE-settings-screen so you can install KDE's controlcenter (don't know what packages you need for this, probably a lot) to configure it..

But maybe there is a much easier way I don't know about..

Zorael
January 1st, 2011, 05:44 PM
I don't think VLC would take cues from KDE settings when running under GNOME, seeing as it's just a Qt program and not a KDE one. I looked through qtconfig and there doesn't seem to be any setting there.

If you want to set the KDE setting nonetheless (and hope it does anything at all), just save the following file as ~/.kde/share/config/klaunchrc;

[BusyCursorSettings]
Blinking=false
Bouncing=true

[FeedbackStyle]
BusyCursor=true
TaskbarButton=true

[TaskbarButtonSettings]
Timeout=20

QtはKDEのみあらず

Dobro_player
January 13th, 2011, 05:40 AM
I have noticed that launch feedback for VLC works under KDE, would it be possible to run whatever is responsible for launch feedback in KDE under gnome?

foxmulder881
January 13th, 2011, 05:47 AM
Just launch the application from a terminal and then post the output. This may help determine anything strange that's going on behind the scenes.

Dobro_player
January 13th, 2011, 08:27 AM
This is the output from launching VLC in the terminal:

VLC media player 1.1.4 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
Blocked: call to setlocale(6, "")
Blocked: call to sigaction(17, 0xb747e0d4, 0xb747e048)
Warning: call to signal(13, 0x1)
Warning: call to signal(13, 0x1)
Warning: call to srand(1294597107)
Warning: call to rand()
Blocked: call to setlocale(6, "")

(process:4536): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Warning: call to signal(13, 0x1)
Warning: call to signal(13, 0x1)
Blocked: call to setlocale(6, "")

foxmulder881
January 14th, 2011, 01:18 AM
This is the output from launching VLC in the terminal:

<snip>

There doesn't appear to actually be anything 'wrong' as such. And your terminal launch output looks much the same as mine does. Although I have one more interesting line of output which I'm a little curious about. I have bolded in my output.


foxbox% vlc
VLC media player 1.1.4 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0xa55120] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Blocked: call to setlocale(6, "")
Blocked: call to sigaction(17, 0x7f8d27ef3b20, 0x7f8d27ef3a80)
Warning: call to signal(13, 0x1)
Warning: call to signal(13, 0x1)
Warning: call to srand(1294198189)
Warning: call to rand()
Blocked: call to setlocale(6, "")

(process:12187): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Warning: call to signal(13, 0x1)
Warning: call to signal(13, 0x1)