home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
FANatic Monitor
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="panni" data-source="post: 250495" data-attributes="member: 70605"><p>1st code:</p><p>Yes, the dialog is only shown when you're NOT in FANatic's window, that's the alert feature, Inker suggested.</p><p>You don't need an annoying alert dialog if you're just seeing the sensors overview, and the alarm-red threshold reached sensors.</p><p></p><p>2nd code:</p><p>Yeah, that's true, the alarm dialog should exclusively be shown if requested by configuration and if not in FANatic's window.</p><p></p><p>Am I using the wrong event here?</p><p>Is there something like OnWindowDeactivate?</p><p></p><p>[Edit]</p><p>Hmm, a workaround would be to let the timer run all the time but explicitly check the current window ID.</p><p></p><p>[Edit2]</p><p>Another exception has been added to the random exception list:</p><p>[code]</p><p>2008-04-01 19:15:24.750000 [Info.][11]: Exception :Fehler in der Anwendung.</p><p>-2005530516 (D3DERR_INVALIDCALL)</p><p> bei Microsoft.DirectX.Direct3D.Device.BeginScene()</p><p> bei MediaPortalApp.Render(Single timePassed)</p><p>2008-04-01 19:15:24.750000 [Info.][11]: Exception :Fehler in der Anwendung.</p><p>2008-04-01 19:15:24.750000 [Info.][11]: site :Void BeginScene()</p><p>2008-04-01 19:15:24.750000 [Info.][11]: source :Microsoft.DirectX.Direct3D</p><p>2008-04-01 19:15:24.750000 [Info.][11]: stacktrace: bei Microsoft.DirectX.Direct3D.Device.BeginScene()</p><p> bei MediaPortalApp.Render(Single timePassed)</p><p>[/code]</p><p></p><p>[edit4]</p><p>Okay, I've done what you suggested, and added some further debugging to the source.</p><p>I've set the initial timeout of the alarmTimer to 10 seconds, because it seems to hardcrash only, if the timer hits while MediaPortal Window0 (GUIHome) isn't active (being loaded).</p><p></p><p>Now the skin doesn't fail with a black screen anymore, but with destroyed controls, reproducably.</p><p>Only after the modal window - manually visiting FANatic's window works, but only after clean start of MP.</p><p></p><p><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" /></p><p></p><p>Anyway, here's the <a href="http://rafb.net/p/vQSiSz57.html" target="_blank">updated source</a></p><p>and the <a href="http://www.fragstore.net/tmp/0.0.0.2/Debug.rar" target="_blank">debug build</a>, if you want to try it.</p></blockquote><p></p>
[QUOTE="panni, post: 250495, member: 70605"] 1st code: Yes, the dialog is only shown when you're NOT in FANatic's window, that's the alert feature, Inker suggested. You don't need an annoying alert dialog if you're just seeing the sensors overview, and the alarm-red threshold reached sensors. 2nd code: Yeah, that's true, the alarm dialog should exclusively be shown if requested by configuration and if not in FANatic's window. Am I using the wrong event here? Is there something like OnWindowDeactivate? [Edit] Hmm, a workaround would be to let the timer run all the time but explicitly check the current window ID. [Edit2] Another exception has been added to the random exception list: [code] 2008-04-01 19:15:24.750000 [Info.][11]: Exception :Fehler in der Anwendung. -2005530516 (D3DERR_INVALIDCALL) bei Microsoft.DirectX.Direct3D.Device.BeginScene() bei MediaPortalApp.Render(Single timePassed) 2008-04-01 19:15:24.750000 [Info.][11]: Exception :Fehler in der Anwendung. 2008-04-01 19:15:24.750000 [Info.][11]: site :Void BeginScene() 2008-04-01 19:15:24.750000 [Info.][11]: source :Microsoft.DirectX.Direct3D 2008-04-01 19:15:24.750000 [Info.][11]: stacktrace: bei Microsoft.DirectX.Direct3D.Device.BeginScene() bei MediaPortalApp.Render(Single timePassed) [/code] [edit4] Okay, I've done what you suggested, and added some further debugging to the source. I've set the initial timeout of the alarmTimer to 10 seconds, because it seems to hardcrash only, if the timer hits while MediaPortal Window0 (GUIHome) isn't active (being loaded). Now the skin doesn't fail with a black screen anymore, but with destroyed controls, reproducably. Only after the modal window - manually visiting FANatic's window works, but only after clean start of MP. :S Anyway, here's the [URL="http://rafb.net/p/vQSiSz57.html"]updated source[/URL] and the [URL="http://www.fragstore.net/tmp/0.0.0.2/Debug.rar"]debug build[/URL], if you want to try it. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
FANatic Monitor
Contact us
RSS
Top
Bottom