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
(Repeating Sections)
m (API)
(2 intermediate revisions by 2 users not shown)
Line 43: Line 43:
 
** '''Work around:''' If you set the action button to have {{code|position: relative;}} then action buttons work! These positions also work: {{code|absolute}} and {{code|sticky}}. All other positions seems to render the button inoperable
 
** '''Work around:''' If you set the action button to have {{code|position: relative;}} then action buttons work! These positions also work: {{code|absolute}} and {{code|sticky}}. All other positions seems to render the button inoperable
 
<pre style="overflow:auto;white-space:pre-wrap;" data-language="css">
 
<pre style="overflow:auto;white-space:pre-wrap;" data-language="css">
div.repcontainer div.repitem td button[type="action"],
+
div.repcontainer:not(.editmode) div.repitem td button[type="action"],
div.repcontainer div.repitem th button[type="action"] {
+
div.repcontainer:not(.editmode) div.repitem th button[type="action"] {
 
     position: relative;
 
     position: relative;
 
}</pre>
 
}</pre>
Line 85: Line 85:
  
 
* In legacy mode, the '''number comparison functions stop working if the number you are comparing is below zero'''. {{fpl|10147120/ mention June 2021}}
 
* In legacy mode, the '''number comparison functions stop working if the number you are comparing is below zero'''. {{fpl|10147120/ mention June 2021}}
 +
 +
==API==
 +
API/Mod changes to linked token bars do not trigger sheetworkers, however Mods can be modfified to detect if a linked bar has been changed and in turn, change the linked attribute.
 +
TokenMod has been updated to detect and change linked attributes in this manner.
  
 
==Github==
 
==Github==
Line 101: Line 105:
 
* [[Building_Character_Sheets#Common_Mistakes|Common Mistakes - Character Sheet Development]]
 
* [[Building_Character_Sheets#Common_Mistakes|Common Mistakes - Character Sheet Development]]
 
* [[Character Sheet Development/Updates]] - Changelog of recent bugfixes
 
* [[Character Sheet Development/Updates]] - Changelog of recent bugfixes
 +
* [https://app.roll20.net/forum/permalink/11029363/ Bugs/Missing Feature Parity/Desired Features for Mods] Aug 2022 thread by [[Aaron]]
  
 
[[Category:Character Sheet Creation]]
 
[[Category:Character Sheet Creation]]
 +
[[Category:Character Sheet Development]]

Revision as of 03:05, 23 August 2022


This page lists observed Bugs and odd quirks of the Character Sheet-system, especially those related to coding, editing & updating character sheets.

  • See Restrictions for quirks that aren't explicit bugs.
  • See BCS/Updates for previously fixed bugs, of bugs that may have a fix under public testing on the Dev Server

Note: The "Month Year" mention at end is a guaranteed last observation of the bug, or when it was documented.

Contents

Bugs

General

Sheet code/editing bugs that doesn't fit other categories.

Translation

  • translation special character bug discussion(Forum) May 2021
    • avoid placing symbols & special characters in translations. CouldHTML Entities be used instead?
  • language-dependent sheet changes doesn't seem to work. See #9053 for details. Summer 2021
  • Sheet Sandbox & Translation key refresh issue -- May 2022
    • you need to manually reload page if you use getTranslationByKey() and have uploaded new translation.json in the sandbox
    • getTranslationByKey() throws a the key is not in the translation object error when the key is in the translation file, in the sandbox if you don't make the page reload.
    • seems the translation object as far as getTranslationByKey() is concerned is not updated when you use the sandbox widget to upload a fresh translation.json

Repeating Sections

div.repcontainer:not(.editmode) div.repitem td button[type="action"],
div.repcontainer:not(.editmode) div.repitem th button[type="action"] {
    position: relative;
}

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

Legacy Sheet

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)

API

API/Mod changes to linked token bars do not trigger sheetworkers, however Mods can be modfified to detect if a linked bar has been changed and in turn, change the linked attribute. TokenMod has been updated to detect and change linked attributes in this manner.

Github

Bug affecting how sheets uploaded to the sheet repo work or function.

See Also