[mythtv-users] 0.25_pre20120105: Dialog box "Scan for Changes" in Videos not updating properly
jk90090
jk90090 at gmail.com
Tue Mar 27 01:20:40 UTC 2012
On 1/11/12 10:48 AM, Markus Schulz wrote:
> Am 09.01.2012 00:36, schrieb jk90090:
>> Gentoo, MythTV 0.25 commits from manual ebuild 0.25_pre20120105
>>
>> For every file that the scan find, I get the following error:
>> CoreContext mythprogressdialog.cpp:177 (customEvent) - Error,
>> event
>> claims to be a progress update but fails to cast
>>
>> The bar in the dialog box never progresses and the box also doesn't
>> say
>> 'scanning' or whatever anymore.
>>
>> Been broken for a little while (several commits), just now getting to
>> reporting it.
>>
>> To recreate: Main Menu -> "Watch Videos" -> Menu -> "Scan For
>> Changes"
>>
>> Anyone else seeing this?
> looks like this:
> http://www.gossamer-threads.com/lists/mythtv/dev/472744
> which was incomplete fixed with:
> http://www.mythtv.org/pipermail/mythtv-dev/2011-February/070569.html
>
> you can use the following patch:
>
> diff --git a/mythtv/libs/libmythui/mythprogressdialog.cpp
> b/mythtv/libs/libmythui/mythprogressdialog.cpp
> index 8b2adc0..8f9e18a 100644
> --- a/mythtv/libs/libmythui/mythprogressdialog.cpp
> +++ b/mythtv/libs/libmythui/mythprogressdialog.cpp
> @@ -5,6 +5,10 @@
> QEvent::Type ProgressUpdateEvent::kEventType =
> (QEvent::Type) QEvent::registerEventType();
>
> +ProgressUpdateEvent::ProgressUpdateEvent(uint count, uint total,
> QString message) :
> + QEvent(kEventType), m_total(total), m_count(count),
> + m_message(message) { };
> +
> MythUIBusyDialog::MythUIBusyDialog(const QString&message,
> MythScreenStack *parent, const char
> *name)
> : MythScreenType(parent, name, false)
> diff --git a/mythtv/libs/libmythui/mythprogressdialog.h
> b/mythtv/libs/libmythui/mythprogressdialog.h
> index 38d0616..c385732 100644
> --- a/mythtv/libs/libmythui/mythprogressdialog.h
> +++ b/mythtv/libs/libmythui/mythprogressdialog.h
> @@ -11,9 +11,7 @@
> class MUI_PUBLIC ProgressUpdateEvent : public QEvent
> {
> public:
> - ProgressUpdateEvent(uint count, uint total=0, QString message="")
> :
> - QEvent(kEventType), m_total(total), m_count(count),
> - m_message(message) { }
> + ProgressUpdateEvent(uint count, uint total=0, QString message="");
>
> QString GetMessage() { return m_message; }
> uint GetTotal() { return m_total; }
>
>
> this moves the ctor from header to cpp to prevent the class from be
> complete inline.
> i'm not really sure why dynamic_cast not working with pure inline
> classes (perhaps an optimize problem?)
>
> regards
> msc
>
Is it just my system or is this still broken in recent March commits of
0.25?
-JK
More information about the mythtv-users
mailing list