Difference between revisions of "Character Sheet Development/Bugs & Quirks"
From Roll20 Wiki
Andreas J. (Talk | contribs) m (→General) |
Andreas J. (Talk | contribs) (→LCS) |
||
Line 57: | Line 57: | ||
Bugs that only affect [[Legacy Sheet|Legacy Character Sheets(LCS)]]. | Bugs that only affect [[Legacy Sheet|Legacy Character Sheets(LCS)]]. | ||
+ | * In legacy mode, the '''number comparison functions stop working if the number you are comparing is below zero'''. {{fpl|10147120/ mention June 2021}} | ||
==Github== | ==Github== |
Revision as of 10:22, 8 June 2021
Main Page: Building Character Sheets
Character Sheet Development
Getting Started
- Using Custom Sheets
- Building Sheets
(Main Page) - Glossary
- Code Restrictions
- Best Practice
- Common Mistakes
- Tutorials
- Examples, Templates
- Pattern Libraries
- HTML & storing data
- CSS & Styling
General
- Updates & Changelog
- Known Bugs
- Character Sheet Enhancement(CSE)
- Custom Roll Parsing
- Legacy Sheet(LCS)
- Beacon SDK
Reference
- Buttons
- Repeating Sections
- Sheetworkers
- Roll Templates
- sheet.json
- Translation
- Auto-Calc
- Advanced
- All SheetDev Pages
Tools & Tips
Other
Listing random quirks of the sheet system, especially those related to coding, editing & updating character sheets.
Note: The "Month Year" mention at end is a guaranteed last observation of the bug.
Contents |
Bugs
General
Sheet code/editing bugs that doesn't fit other categories.
- Using the word
eval
anywhere in the sheet code will stop everything from working. Roll20 have put is as a security measure to prevent eval to be used even in a roundabout way. You cant have attribute or class names that includes it.- this also prevent you from import google fonts that happen to have "eval" as part of the name
- using optgroups in select doesn't work on custom sheets, even though it works on existing sheets like Free Spacer
- discussion(Forum) May 2021
- "Newly-dropped characters now must fully resolve before closing the window"
- translation special character bug discussion(Forum) May 2021
- avoid placing symbols & special characters in translations
- changing default value of attributes will change untouched values of existing sheet. May 2021
- Ex.
<input value="a">
to<input value="b">
- example of instance of this bug being reverted
- Ex.
Sheetworkers
Bugs in how sheetworkers function.
- "Ghost Rows" in repeating sections when a dash '-' is used in the section name full description & reporduction steps(Forum) - found by Peter B. Jan 2021
- a bug with the API using setWithWorker() discussion(Forum) Andreas J. (talk) 09:00, 26 May 2021 (UTC)
CSE
Bugs related to Character Sheet Enhancement(CSE).
- Roll template styling sometimes completely disappears and doesn't work when trying to convert from LCS to CSE. Andreas J. (talk) 12:57, 21 April 2021 (UTC)
- thread discussiong issues.(Forum)
- HTML replacement characters have been observed to sometimes be converted prematurely after the CSE update was made which can cause sheet roll macros to break.
- in some cases,
.charsheet
needs to be added to the CSS classes, which previously worked fine with Legacy Sheet- ex.
.charsheet span{ width: 150px;}
, instead ofspan{ width: 150px;}
- ex.
- Asterisks disappearing from CSS comments. examples & discussion(Forum)
- detail & summary element styling is inconsistent between browsers/versions details(Forum)
- fixed
issues with @importRelease Note for April 27, 2021(Forum)-
if a @import exists, it seems it might result in roll20 ignoring the first instance of the next css class in the file, workaround is to add an empty, "sacrificial" version of the class first that will be eaten up, and the one after will work normally
-
LCS
Bugs that only affect Legacy Character Sheets(LCS).
- In legacy mode, the number comparison functions stop working if the number you are comparing is below zero. mention June 2021(Forum)
Github
Bug affecting how sheets uploaded to the sheet repo work or function.
- replacing sheet images on github doesn't always update on sheet to make sure images change on sheet when updating/replacing them, change their name/reference in the code, eg.
logo.jpg
tologo2.jpg
.- discussion on the bug
- This minor bug have been observed occasionally since 2019(?) (Andreas J. (talk) 15:39, 5 May 2021 (UTC))
See Also
- Building_Character_Sheets#Restrictions - Documented restrictions on how code is to be written.
- Common_Mistakes - related to sheet coding