Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Character Sheet Development/Bugs & Quirks"

From Roll20 Wiki

Jump to: navigation, search
m (Sheetworkers)
m (General)
Line 27: Line 27:
 
** {{repo|Roll20/roll20-character-sheets/pull/8955 example of instance of this bug being reverted}}
 
** {{repo|Roll20/roll20-character-sheets/pull/8955 example of instance of this bug being reverted}}
 
* {{fpl|10308595/ Unicode character in CSS "content" breaks roll templates}} [[User:1223200|1223200]] ([[User talk:1223200|talk]]) 14:49, 12 August 2021 (UTC)
 
* {{fpl|10308595/ Unicode character in CSS "content" breaks roll templates}} [[User:1223200|1223200]] ([[User talk:1223200|talk]]) 14:49, 12 August 2021 (UTC)
* [[Button]] name's containing an underscore e.g "attack_roll"  inside a [[Repeating Section|repeating section]], ARE NOT DETECTED by the <code>on("clicked:</code>- listener. {{fpl|7337736/ Vince -details }}
 
 
* [https://app.roll20.net/forum/post/10576120/cant-appear-to-use-certain-emojis-in-a-character-sheet certain emojis & unicode characters are removed] from character sheets, so can't be reliably used. Use images instead. Dec 2021
 
* [https://app.roll20.net/forum/post/10576120/cant-appear-to-use-certain-emojis-in-a-character-sheet certain emojis & unicode characters are removed] from character sheets, so can't be reliably used. Use images instead. Dec 2021
 
* '''translation'''
 
* '''translation'''
Line 34: Line 33:
 
** language-dependent sheet changes doesn't seem to work. See [https://github.com/Roll20/roll20-character-sheets/issues/9053 #9053] for details. Summer 2021
 
** language-dependent sheet changes doesn't seem to work. See [https://github.com/Roll20/roll20-character-sheets/issues/9053 #9053] for details. Summer 2021
  
 +
===[[Repeating Sections]]===
 +
* position dissociating for action buttons in rep sections {{fpl|10676203/ bug discussion}} Feb 2022
 +
* [[Button]] name's containing an underscore e.g "attack_roll"  inside a [[Repeating Section|repeating section]], ARE NOT DETECTED by the <code>on("clicked:</code>- listener. {{fpl|7337736/ Vince -details}}
 +
* '''"Ghost Rows"''' in repeating sections when a dash '-' is used in the section name {{fpl|9643364 full description & reporduction steps}} - found by [[Peter B.]] Jan 2021
 +
* any regular attributes with {{code|_repeating}} in the attribute-name do not trigger API events. i.e. {{code|delete_repeating_rows}} will fail. {{fpl|10341225/ observation by Vince}} Aug 2021
 +
* Using {{code|<nowiki><table></nowiki>}} inside [[Repeating Sections]] might interfere with [[sheetworkers]]. Details: {{fpl|10631126 Button/Sheetworker not working}} ''(Jan 2022)''
 
===Sheetworkers===
 
===Sheetworkers===
 
Bugs in how [[sheetworkers]] function.
 
Bugs in how [[sheetworkers]] function.
Line 40: Line 45:
  
 
* [https://app.roll20.net/forum/permalink/10540011/ odd behavior with default values] December 2021
 
* [https://app.roll20.net/forum/permalink/10540011/ odd behavior with default values] December 2021
* setAttrs only updating the last value in a list in routine called with <code>setWithWorkers()</code> - {{fpl|10440734/ thread}} Reported Oct. 2021
+
* {{code|setAttrs}} only updating the last value in a list in routine called with <code>setWithWorkers()</code> - {{fpl|10440734/ thread}} Reported Oct. 2021
* '''"Ghost Rows"''' in repeating sections when a dash '-' is used in the section name {{fpl|9643364 full description & reporduction steps}} - found by [[Peter B.]] Jan 2021
+
 
* {{fpl|10270267/ Sheet workers are now both case sensitive, and case-insensitive. (probably a bug)}} [[User:1223200|1223200]] ([[User talk:1223200|talk]]) 15:34, 25 July 2021 (UTC)
 
* {{fpl|10270267/ Sheet workers are now both case sensitive, and case-insensitive. (probably a bug)}} [[User:1223200|1223200]] ([[User talk:1223200|talk]]) 15:34, 25 July 2021 (UTC)
* any regular attributes with {{code|_repeating}} in the attribute-name do not trigger API events. i.e. {{code|delete_repeating_rows}} will fail. {{fpl|10341225/ observation by Vince}} Aug 2021
 
* Using {{code|<nowiki><table></nowiki>}} inside [[Repeating Sections]] might interfere with [[sheetworkers]]. Details: {{fpl|10631126 Button/Sheetworker not working}} ''(Jan 2022)''
 
  
 
==CSE==
 
==CSE==

Revision as of 14:40, 7 February 2022


This page lists observed Bugs and odd quirks of the Character 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 optgroup in <select> doesn't work on custom sheets, even though it works on existing sheets like Free Spacer
  • "Newly-dropped characters now must fully resolve before closing the window"
  • changing default value of attributes will change untouched values of existing sheet. May 2021
  • Unicode character in CSS "content" breaks roll templates(Forum) Andreas J. (talk) 14:49, 12 August 2021 (UTC)
  • certain emojis & unicode characters are removed from character sheets, so can't be reliably used. Use images instead. Dec 2021
  • translation
    • translation special character bug discussion(Forum) May 2021
      • avoid placing symbols & special characters in translations
    • language-dependent sheet changes doesn't seem to work. See #9053 for details. Summer 2021

Repeating Sections

Sheetworkers

Bugs in how sheetworkers function.

JavaScript Restrictions

CSE

Bugs related to Character Sheet Enhancement(CSE).

  • 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.
    • Only appears to happen in CSE-mode. reported by Ayethin & Vince
    • Workaround: since nested quotes and/or queries that include special characters may break in CSE-mode, try substituting the ampersand character as well. ie &quot; should be changed to &amp;quot;.
    • Roll20 have under testing(Forum) improvements to make html characters redundant
  • 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 of span{ width: 150px;}
  • Asterisks disappearing from CSS comments. examples & discussion(Forum)
    • Chris D. may have uncovered strange behavior with CSS comments using multiple asterisk characters. eg /******/
    • Scott C. notes that this may be an older bug and suggests to use # instead. eg /*######*/
  • details & summary-element styling is inconsistent between browsers/versions details(Forum) April 2021

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 to logo2.jpg.


See Also