PDA

View Full Version : OSDmenu 1.62 scrolling bug?



gofti
November 13th, 2002, 01:06 AM
Hi,

I have the following menu ini setup (it's generated automatically by a custom Lua script). When I scroll beyond the Smallville (Oct 1) entry, it immediately jumps me back to Buffy Vampire Slayer (Nov 12) and then I can proceed to scroll down as usual. When scroll back in the up direction, I get to Alias (Oct 13) and it jumps me back down to Buffy (Nov 5).

This looks to be a simple scrolling bug, can this be fixed please? It's pretty irritating when scrolling through the menu.

Additionally, as a feature request, can the OSD be made double-buffered during movement? The flickering is driving my eyes nuts.

Thanks.

(P.S. the occurence of this bug appears to be related to the value of itemsperscreen, a higher number requires more items to scroll off the screen before exhibiting itself and vice versa.)

[visual]
backcolor=$000000
startpos=1
oncolor=$FFFF00
offcolor=$808000
fontsize=36
fontname=arial
fontbold=0
fontitalic=0
textalign=left
wnd_pos=screencenter
wnd_width=1200
wnd_height=800
timeout=10
bordercolor=$808000
closeonexecute=1
title=Digital VCR files
titlefontname=arial
titlefontsize=48
titlefontcolor=$FF8000
itemsperscreen=12

[main]
Alias\t(Oct 6)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "C:\DigitalVCR\Alias (Oct 6).mpg"
Alias\t(Oct 13)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "C:\DigitalVCR\Alias (Oct 13).mpg"
Alias\t(Oct 27)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "D:\DigitalVCR\Alias (Oct 27).mpg"
Alias\t(Nov 3)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "D:\DigitalVCR\Alias (Nov 3).mpg"
Alias\t(Nov 10)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "D:\DigitalVCR\Alias (Nov 10).mpg"
Birds of Prey\t(Nov 6)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "D:\DigitalVCR\Birds of Prey (Nov 6).mpg"
Buffy Vampire Slayer\t(Oct 1)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "C:\DigitalVCR\Buffy Vampire Slayer (Oct 1).mpg"
Buffy Vampire Slayer\t(Oct 8)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "C:\DigitalVCR\Buffy Vampire Slayer (Oct 8).mpg"
Buffy Vampire Slayer\t(Oct 15)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "C:\DigitalVCR\Buffy Vampire Slayer (Oct 15).mpg"
Buffy Vampire Slayer\t(Oct 22)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "D:\DigitalVCR\Buffy Vampire Slayer (Oct 22).mpg"
Buffy Vampire Slayer\t(Oct 29)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "D:\DigitalVCR\Buffy Vampire Slayer (Oct 29).mpg"
Buffy Vampire Slayer\t(Nov 5)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "D:\DigitalVCR\Buffy Vampire Slayer (Nov 5).mpg"
Buffy Vampire Slayer\t(Nov 12)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "D:\DigitalVCR\Buffy Vampire Slayer (Nov 12).mpg"
Charmed\t(Oct 27)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "D:\DigitalVCR\Charmed (Oct 27).mpg"
Charmed\t(Nov 3)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "D:\DigitalVCR\Charmed (Nov 3).mpg"
Charmed\t(Nov 10)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "D:\DigitalVCR\Charmed (Nov 10).mpg"
Fastlane\t(Nov 6)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "D:\DigitalVCR\Fastlane (Nov 6).mpg"
Futurama\t(Nov 10)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "D:\DigitalVCR\Futurama (Nov 10).mpg"
King of the Hill\t(Nov 10)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "D:\DigitalVCR\King of the Hill (Nov 10).mpg"
Malcolm in Middle\t(Nov 10) 001=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "D:\DigitalVCR\Malcolm in Middle (Nov 10) 001.mpg"
Malcolm in Middle\t(Nov 10)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "D:\DigitalVCR\Malcolm in Middle (Nov 10).mpg"
Smallville\t(Sep 17)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "C:\DigitalVCR\Smallville (Sep 17).mpg"
Smallville\t(Oct 1)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "C:\DigitalVCR\Smallville (Oct 1).mpg"
Smallville\t(Oct 8)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "C:\DigitalVCR\Smallville (Oct 8).mpg"
Smallville\t(Oct 15)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "C:\DigitalVCR\Smallville (Oct 15).mpg"
Smallville\t(Oct 22)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "D:\DigitalVCR\Smallville (Oct 22).mpg"
Smallville\t(Oct 29)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "D:\DigitalVCR\Smallville (Oct 29).mpg"
Smallville\t(Nov 5)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "D:\DigitalVCR\Smallville (Nov 5).mpg"
Smallville\t(Nov 12)=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "D:\DigitalVCR\Smallville (Nov 12).mpg"
Smallville-S2ep01-Vortex-BF=C:\Program Files\ATI Multimedia\MAIN\ATIMMC.EXE /MFPlay "C:\DigitalVCR\Smallville-S2ep01-Vortex-BF.mpg"

Marsupial
November 13th, 2002, 12:48 PM
did you think of submenues?

gofti
November 13th, 2002, 01:40 PM
Using submenus isn't a solution. It's just a poor workaround.

It should be a trivial fix.

mattwire
November 14th, 2002, 03:28 AM
My schedule is pretty busy at the moment but I will take a look when I get chance.

mattwire
November 16th, 2002, 10:07 AM
I *think* I've found/fixed the bug. There appeared to be two lines of code that had one specific function - to screw up the scrolling at certain points...Hmmm, a lesson to be learnt there - Always comment your code :wink:

Since I can't see any reason for those two lines to be there I need people to test the new version for me to see if it's introduced any other bugs in the scrolling.
I don't have access to an FTP server at the moment so please PM me your email address and I will send you a copy (93kb).



PS. I see your point with flickering and will try and implement doublebuffering in a future release.

gofti
November 18th, 2002, 11:34 PM
Woohoo! Awesome, Matt! The scrolling works again, and the flickering is gone. My eyes are happy.

Thanks for fixing this so quickly.

reiner
December 12th, 2002, 12:38 PM
Hello Matt,

It's great that the flickering within the menu is removed.

But I believe there is a new little bug which was not in version 1.62a.
:(
When I open a complete new ini-file, there is a very short flicker
in background over the whole size of the menu. It's only when I display
the menu ( the ini file ) for the first time.
I have a relative old vga ( matrox mill II ) in my Win98 computer.
A newer vga is much quicker and perhaps you don't recognize
this short flicker. ( I'm not sure )

I temporarly switched back to version 1.62a and the switching between
different ini-files was OK again.
Perhaps it has something to do with the new buffering.

If you have a little time in this X-mas shopping time, perhaps you
can have a look to OSDMenu ? :wink:

Reiner