The MP3car.com Store The MP3car.com Store    

Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > StreetDeck > StreetDeck Bug Reports

Reply
 
LinkBack Thread Tools Display Modes
Old 08-11-2007, 08:20 PM   #1
Low Bitrate
 
Join Date: Sep 2006
Location: Sydney
Posts: 101
Severity 2 API - Overlay show not always above HostWindow - 1.1.0.0

What version of StreetDeck is this bug report for?
v1.1.0.0


Please give a basic description of the issue here.
* Use API example 3 as a base
* Add an overlay with an item
* On module_OnExit Hide OR Visable = false on the overlay
* On module_OnEnter Show OR Visable = true on the overlay

OK
Now sometimes when coming back to module the overlay appears. After a couple times of exiting and coming back then the overlay does not appear.

If you hit pause or cause any other overlays to come on the screen then it will pop up.

Attempted:
* Show and Visible. I don’t understand why you have both of these and what the difference is.
* m_app.ForceGDIRender();
* m_app.ResetRenderState();
* m_overlay.Left += 1;
* m_overlay.ZOrderMoveToTop();

I have attempted this on 3 different computers and they all seem to suffer from the same problem.
__________________
www.ssw.com.au
Deadeye is offline   Reply With Quote
Advertisement
 
Advertisement
Advertisement Sponsored links

Old 08-12-2007, 02:51 PM   #2
Raw Wave
 
god_of_cpu's Avatar
 
Join Date: Jan 2004
Location: SilverSpring Maryland
Posts: 2,957
ForceGDIRender is only used when running in GDI mode and you will probably never need to use.

ResetRenderState is only if you render directly to the Direct3D display device and needs to be called if you change any of the render states.

The embedded window will only be updated when its visible state is changed, not when you move it.

ZOrderMoveToTop changes the order in which overlays are rendered over each other, not whether it is rendered.

Does the overlay always appear if you change the visible state in a button press?

You might also try setting the visible state in the OnEndTransition event of the module you are entering.
__________________
StreetDeck.com Developer (I am Chuck)
Get StreetDeck at http://www.streetdeck.com
The Official StreetDeck Forums have moved, please visit us at http://www.streetdeck.com/forum for official support for Streetdeck.
god_of_cpu is offline   Reply With Quote
Old 08-15-2007, 06:15 AM   #3
Low Bitrate
 
Join Date: Sep 2006
Location: Sydney
Posts: 101
I didn’t think that those other things would work. I just wanted to show some other things that I have attempted.

The event module_OnEnter event is getting called.
m_overlayBack.Show(false); is getting called.
However the overlay is not apearing.

I have put the m_overlayBack.Show(false); in a timer which also made no diffrence.

I have tried the OnEndTransition event however it did not fix anything

I have attempted this on XP and vista with the same results.

What occurs when the mute or volume overlay appears? This seems to show the overlay again. Can I call this manually?
__________________
www.ssw.com.au
Deadeye is offline   Reply With Quote
Old 08-15-2007, 10:25 AM   #4
Raw Wave
 
god_of_cpu's Avatar
 
Join Date: Jan 2004
Location: SilverSpring Maryland
Posts: 2,957
The host window cutout works by checking on every render if a windows visibility state has changed, if it has it creates a new window region that excludes the areas of visible overlays. For some reason, it doesn't appear that your overlay is triggering a change. When the mute or volume overlay appears, its visibility is changed and so will trigger a new window region creation which should include your overlay if it is visible at the time.

Can you send me your code? I am unable to duplicate this problem.
__________________
StreetDeck.com Developer (I am Chuck)
Get StreetDeck at http://www.streetdeck.com
The Official StreetDeck Forums have moved, please visit us at http://www.streetdeck.com/forum for official support for Streetdeck.
god_of_cpu is offline   Reply With Quote
Old 08-15-2007, 04:04 PM   #5
Low Bitrate
 
Join Date: Sep 2006
Location: Sydney
Posts: 101
Here is the sample3 application with code to replicate the issue.

process to replicate
* run addin
* click back button
* open some other module
* run addin
* click back button
* run addin

Should be gone now..

If not then
* run addin
* click back button
and repete untill it is missing.
Attached Files
File Type: rar StreetDeck Embedding Windows.rar (77.5 KB, 12 views)
__________________
www.ssw.com.au
Deadeye is offline   Reply With Quote
Old 09-28-2007, 12:36 PM   #6
Raw Wave
 
god_of_cpu's Avatar
 
Join Date: Jan 2004
Location: SilverSpring Maryland
Posts: 2,957
This should be fixed in version 1.1.0.5
__________________
StreetDeck.com Developer (I am Chuck)
Get StreetDeck at http://www.streetdeck.com
The Official StreetDeck Forums have moved, please visit us at http://www.streetdeck.com/forum for official support for Streetdeck.
god_of_cpu is offline   Reply With Quote
Old 12-10-2007, 02:16 PM   #7
_
 
Join Date: Mar 2004
Location: Little Elm, Texas
Posts: 13,341
Please retest with the latest release and report back with your findings: http://www.mp3car.com/vbulletin/1151243-post25.html
__________________
Jan Bennett
FS: VW MKIV Bezel for 8" Lilliput - 95% Finished

PLEASE do NOT PM/Email/IM me asking me to spoon feed you. Please post on the forums! Chances are, someone else has or will have the same questions.
RedGTiVR6 is offline   Reply With Quote
Old 12-14-2007, 09:22 AM   #8
_
 
Join Date: Mar 2004
Location: Little Elm, Texas
Posts: 13,341
Please retest with the latest release (1.1.1.0) and report back with your findings.
__________________
Jan Bennett
FS: VW MKIV Bezel for 8" Lilliput - 95% Finished

PLEASE do NOT PM/Email/IM me asking me to spoon feed you. Please post on the forums! Chances are, someone else has or will have the same questions.
RedGTiVR6 is offline   Reply With Quote
Old 12-15-2007, 04:18 PM   #9
Low Bitrate
 
Join Date: Sep 2006
Location: Sydney
Posts: 101
Im on holiday so i cant really test this one but the problem seems to be worse.

The overlay still does not apear untill another item is pressed (volume, now playing section, etc)

AND the overlay seems to come back to the top left o the screen instead of its reall position. The real position is just a black area.

When I get time ill play more and send a screen shot.
__________________
www.ssw.com.au
Deadeye is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
StreetDeck Functions god_of_cpu DigitalMods (Scripts / API) 22 01-15-2008 10:44 PM
Ipod List doesn't show Cover Art - 1.1.0.0 TheSin StreetDeck Bug Reports 4 08-07-2007 08:23 PM
Flac playback does not show song duration - 1.0.9.8 - 1.1.0.0 apex52 StreetDeck Bug Reports 10 08-07-2007 05:01 PM
Indexing music in 1.0.9.8 Failed hovalistic StreetDeck 0 07-07-2007 11:19 AM
NDRA Drag & NOPI Show - Bristol, TN 7/10-7/11 NOPIMAN MP3Car Gatherings 0 06-16-2004 11:44 PM


All times are GMT -5. The time now is 09:56 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics