Mantis Bugtracker

Простой вид комментарии ] расширенный вид ] история ] печать ]
Номер Категория Серьезность Воспроизводимость Создан Изменен
0000084 [obex-data-server] General нововведение всегда 2008-05-21 20:54 2008-11-01 17:01
Инициатор cktakahasi Видимость общая  
Ответственный skirsdeda
Приоритет низкий Решение решению не подлежит  
Состояние закрыт   Версия продукта 0.3.1
Суть 0000084: Send TransferProgress signal based on the percentage of the data sent
Подробности For big files, TransferProgress signal is sent many times and it doesn't provide meaningful information. I suggest send the D-Bus signal based on the percentage of the sent data to avoid excessive signals on the BUS.

See the log below(file size 6.73M):
...
>>/org/openobex/serversession6<< Progress: 97 %
>>/org/openobex/serversession6<< Progress: 97 %
>>/org/openobex/serversession6<< Progress: 98 %
>>/org/openobex/serversession6<< Progress: 98 %
>>/org/openobex/serversession6<< Progress: 98 %
>>/org/openobex/serversession6<< Progress: 98 %
>>/org/openobex/serversession6<< Progress: 98 %
>>/org/openobex/serversession6<< Progress: 98 %
>>/org/openobex/serversession6<< Progress: 98 %
>>/org/openobex/serversession6<< Progress: 98 %
>>/org/openobex/serversession6<< Progress: 98 %
>>/org/openobex/serversession6<< Progress: 98 %
>>/org/openobex/serversession6<< Progress: 98 %
>>/org/openobex/serversession6<< Progress: 98 %
>>/org/openobex/serversession6<< Progress: 98 %
>>/org/openobex/serversession6<< Progress: 98 %
>>/org/openobex/serversession6<< Progress: 98 %
>>/org/openobex/serversession6<< Progress: 98 %
>>/org/openobex/serversession6<< Progress: 98 %
>>/org/openobex/serversession6<< Progress: 99 %
>>/org/openobex/serversession6<< Progress: 99 %
>>/org/openobex/serversession6<< Progress: 99 %
>>/org/openobex/serversession6<< Progress: 99 %
>>/org/openobex/serversession6<< Progress: 99 %
>>/org/openobex/serversession6<< Progress: 99 %
>>/org/openobex/serversession6<< Progress: 99 %
>>/org/openobex/serversession6<< Progress: 99 %
>>/org/openobex/serversession6<< Progress: 99 %
>>/org/openobex/serversession6<< Progress: 99 %
>>/org/openobex/serversession6<< Progress: 99 %
>>/org/openobex/serversession6<< Progress: 99 %
>>/org/openobex/serversession6<< Progress: 99 %
>>/org/openobex/serversession6<< Progress: 99 %
>>/org/openobex/serversession6<< Progress: 99 %
>>/org/openobex/serversession6<< Progress: 99 %
>>/org/openobex/serversession6<< Progress: 99 %
>>/org/openobex/serversession6<< Progress: 100 %


17 D-Bus signals are sent to represent just 1%
Дополнительные сведения
Tэги Нет прикрепленных тэгов.
Вложенные файлы

- Связи

-  Комментарии
(0000281)
heston_james (инициатор)
2008-05-27 11:00

I'm not quite sure how this issue could be tackled, from what I can see the progress update is issued by the obex library and represents bytes that have been transfered.

Whilst we could do some internal calculations in ods so that the signal is emmited only once for each percentage you have to bare in mind that with smaller files you currently have the adverse effect that it increments in much larger chunchs. such as: 30% - 66% - 92%

What are your thoughts on how this should be implemented? Perhaps just register the percentage before we emit it the first time, and then perform a sanity check to ensure its not been sent before?

Heston
(0000498)
skirsdeda (администратор)
2008-11-01 17:01

Sometimes there is no way to know what the percentage is, because we don't know the size of the object being sent. Secondly, it isn't worth breaking API for something that changes nothing.

- история
Дата изменения Пользователь Поле Изменение
2008-05-21 20:54 cktakahasi Новый вопрос
2008-05-27 11:00 heston_james Комментарий добавлен: 0000281
2008-05-28 17:23 skirsdeda Состояние новый => назначен
2008-05-28 17:23 skirsdeda Ответственный => skirsdeda
2008-05-28 17:23 skirsdeda Связь добавлена блокирует 0000058
2008-07-25 04:22 skirsdeda Связь удалена блокирует 0000058
2008-11-01 17:01 skirsdeda Комментарий добавлен: 0000498
2008-11-01 17:01 skirsdeda Состояние назначен => отработан
2008-11-01 17:01 skirsdeda Решение открыт => решению не подлежит
2008-11-01 17:01 skirsdeda Состояние отработан => закрыт


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker