passive, non-intrusive progress bar?

adrelanos adrelanos at riseup.net
Sat Nov 10 15:11:08 GMT 2012


Kevin Krammer:
> Hi,
> 
> On Wednesday, 2012-10-31, adrelanos wrote:
>> Hi,
>>
>> How can I get a passive, non-intrusive progress bar?
>>
>> A combination of kdialog --passivepopup and kdialog --progressbar. For
>> example, when copying files with dolphin such a progress bar will be
>> used. I want the same for my own scripts.
> 
> I assume you are referring to the progress display that folds into the 
> desktop's notification area?

Yes.

> Those are actually not handled by applications themselves, e.g. Dolphin 
> doesn't do anything for that, but are used by KDE's I/O infrastructure 
> automatically.
> 
> If you need that for file operations or download/upload, have a look at 
> kioclient.
> 
> If you need that for something you process then I am afraid you are currently 
> out of luck :(

Yes.

> Shouldn't be too difficult to add such a thing to kdialog, but currently it 
> seems it can't access those progress notifications. Might be worthwhile to add 
> a feature request for that on bugs.kde.org

https://bugs.kde.org/show_bug.cgi?id=309861

> If you have the option of implementing your solution in a scripting language 
> with D-Bus support, then it should be possible to access that part of the 
> desktop directly.
> The D-Bus name for the service is org.kde.JobViewServer, but I am not entirely 
> sure how it is being used (I only had a cursory glance at the code in kdelibs 
> that uses it).

Looks quite difficult. There is very few reference about
org.kde.JobViewServer on google.
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list