Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
translations translations
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  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 1345 times)

Offline Dook

  • Member
  • *
  • Posts: 66
    • D00k.net
%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

Offline Dook

  • Member
  • *
  • Posts: 66
    • D00k.net
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

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1192
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

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1192
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

Offline Dook

  • Member
  • *
  • Posts: 66
    • D00k.net
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.132 seconds with 18 queries.