Downloads
release
dev builds
extras
themes
Documentation
manual
wiki
device status
Support
forums
mailing lists
IRC
Development
bugs
patches
dev guide
translations
Search
Donate
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Welcome to the Rockbox Technical Forums!
Rockbox Technical Forums
Support and General Use
Theming and Appearance Customization
%LT tag wont scroll if %Lb is linked to more than one viewport
« previous
next »
Print
Pages: [
1
]
Author
Topic: %LT tag wont scroll if %Lb is linked to more than one viewport (Read 830 times)
Dook
Member
Posts: 46
%LT tag wont scroll if %Lb is linked to more than one viewport
«
on:
November 12, 2023, 09:35:51 AM »
I've been experimenting building a theme using the
drawing lists as a skin
feature and have run into a few bugs.
Currently, making menu items scroll works but only if you have one viewport linked to the %Lb tag. If you want to add images, icons etc to your menu items, then scrolling stops working. This can be best seen in the Wavy theme currently.
Does anyone know of workarounds or fixes?
Logged
Dook
Member
Posts: 46
Re: %LT tag wont scroll if %Lb is linked to more than one viewport
«
Reply #1 on:
December 01, 2023, 07:47:17 PM »
Found the solution, or at least what works right now:
The viewport with the text %LT tag in it must be placed last in the order of viewports. The %LT tag also needs to be on it's own in the viewport, though you can still have styling tags.
Logged
Bilgus
Developer
Member
Posts: 1007
Re: %LT tag wont scroll if %Lb is linked to more than one viewport
«
Reply #2 on:
December 03, 2023, 09:40:49 AM »
I just fixed a scroller bug in scroll_stop_viewport_rect() probably not related but might be
since its dealing with vp intersection
https://gerrit.rockbox.org/r/c/rockbox/+/5525
Logged
Bilgus
Developer
Member
Posts: 1007
Re: %LT tag wont scroll if %Lb is linked to more than one viewport
«
Reply #3 on:
December 03, 2023, 09:50:00 AM »
likely this is probably the issue for you even in a non buggy form itd make vp thats overlapped kill the scroll
Logged
Dook
Member
Posts: 46
Re: %LT tag wont scroll if %Lb is linked to more than one viewport
«
Reply #4 on:
December 03, 2023, 11:46:08 AM »
I've been trying the latest patch a bit, it hasn't sadly fixed the ordering issue here (I suspect it could be to do with how the code for %Lb is reading viewports?) Thankfully haven't seen any regressions though!
Logged
Print
Pages: [
1
]
« previous
next »
Rockbox Technical Forums
Support and General Use
Theming and Appearance Customization
%LT tag wont scroll if %Lb is linked to more than one viewport
SMF 2.0.19
|
SMF © 2021
,
Simple Machines
Rockbox Privacy Policy
XHTML
RSS
WAP2
Page created in 0.041 seconds with 16 queries.