LifeViewer/Known bugs

From LifeWiki
Revision as of 14:30, 16 March 2023 by Muzik (talk | contribs)
Jump to navigation Jump to search

This page contains a list of issues within LifeViewer which are not considered to be a high enough priority to fix immediately, with test cases where they apply.

Playback

  • For higher-range rules, crashes can occur when cells are drawn next to the edge of the grid and the pattern is played.
    • This will be fixed at some point in the future.[1]
  • When Undo is used such that the state it reverts to predates the pressing of the "reverse playback" button, the playback buttons will not be correctly visually updated until pressed again.
    • For the following pattern, press the "step forward" button twice, then the "reverse playback" button. The "step forward" button will be replaced with the "step back" button as a result, but will still be next to the Play button. Press the "step back" button that has replaced the "step forward" button once, then press the Undo button. After this, pressing either the step back button or step forward button will cause the viewer to step in the opposite of the expected direction, and the playback buttons will flip back to their usual "forward playback" states.
x = 2, y = 2, rule = M0,2,8,3,1,5,6,7,4,9,10,11,12,13,14,15 $bo! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]]
(click above to open LifeViewer)
  • The zoom level may suddenly reset when toggling waypoints.
    • Clicking on the thumbnail below and then on the WAYPT button at the top will start running the pattern. Once T reaches 300 or so, click the WAYPT button again: the viewer will instantaneously zoom back in and then have to zoom back out again to accommodate the pattern.
x = 6, y = 7, rule = M0,4,8,3,1,5,6,7,2,9,10,11,12,13,14,15 $2b2o$2b2o4$o4bo! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ AUTOSTART GRID THEME Book AUTOFIT PAUSE 10000 "Press the WAYPT button above" T 299 "" ]]
(click above to open LifeViewer)

Cell behaviour

  • In [R]Super, any pattern killed at the grid boundary will have all cells that would be alive set to state 24 (hidden label), rather than state 2 (history trail).
x = 7, y = 4, rule = B3/S23Super b2o$2ob4o$b6o$2b4o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ COLOR 0 White SHOWGENSTATS MAXGRIDSIZE 9 X -256 STARTFROM 500 ZOOM 16 ]]
(click above to open LifeViewer)

Pattern editing

  • Selections can often appear offset from their actual location when using bounded grids.
    • This generally arises due to the bounding box specified in the RLE (x = width, y = height) differing from the actual bounding box of the pattern encoded by the RLE.
    • This is more than a visual issue, as certain selections cannot be created in certain positions, and cannot be correctly manipulated either.
    • This issue is on the backlog to fix.[2]
x = 12, y = 12, rule = B3/S23:T20 8o$8o$8o$8o$8o$8o$8o$8o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]]
(click above to open LifeViewer)
  • In [R]History, Select All does not consistently account for state-2 history cells.
    • It is intended that Select All counts state-2 cells in [R]History,[3] however the issue is that LifeViewer handles them inconsistently. For example, in the following pattern, using Select All does not select every state-2 cell present, but it also does not exclusively select state-1 cells either.
x = 16, y = 11, rule = LifeHistory 8.A$8.A.A$8.2A2$14.2A$.2A11.2A$.2A! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THEME Book ZOOM 24 STARTFROM 41 ]]
(click above to open LifeViewer)
  • The Reset button can make changes made to a pattern via selections impossible to undo.
    • For the following pattern, use Select All and perform a random fill. After doing this, press the Reset button. The undo button will be locked and cannot be used to revert the pattern to its initial state.
    • This is in contrast to edits made to a pattern via drawing: using the Reset button will not lock the Undo button, and the drawing changes can still be undone.
x = 12, y = 12, rule = B3/S23 o11$11bo! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]]
(click above to open LifeViewer)
  • The Shrink Selection button does not function consistently for historical dead cells in [R]History.
    • At T=0, if a selection is made that includes the six state-2 cells on the left (and none of the alive cells to its right) and the Shrink Selection button is used, the selection will shrink to contain only those six cells.
    • If the pattern is first advanced to T=1 and then a selection is made which contains those six cells (and none of the state-1 or state-2 cells from the right-hand side), the Shrink Selection button will not work, in contrast to the behaviour seen at T=0.
    • If, after advancing to T=1, Select All is used, the selection is cancelled and then a selection is made containing the six cells at the left, shrinking the selection will work.
x = 15, y = 9, rule = LifeHistory 2$11.A$11.A$2B4.A3.3A$2B6.7A$2B4.A3.3A$11.A$11.A! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THEME Book ]]
(click above to open LifeViewer)

Identify

  • The period map generated by Identify can sometimes appear blurry.
    • This only occurs when "Scale" (see Help > Info) is at a non-integer value.
    • This occurs when the bounding box of the oscillator in question is not large enough for the "no grid, but with a thick border" period map style to be used, but is too thick for the "with a grid" style to be displayed without being slightly rescaled, introducing undesirable blurring.
    • More information on this issue, as well as an adjustable test case, can be found here: https://conwaylife.com/forums/viewtopic.php?p=158135#p158135
  • Volatility is not calculated correctly for patterns in Margolus rules.
    • Below, the exact same oscillator is provided in two rules, one in the outer-totalistic rulespace and one in the Margolus rulespace. Cells which have been on for eight or more generations are marked in red. As there are four stator cells, it would be expected that the volatility is not exactly 1, which is correctly reported for the outer-totalistic pattern but not for the Margolus pattern.
normal Margolus
x = 3, y = 11, rule = B3/S5 $b2o$b2o$b2o$b2o$b2o$b2o$b2o$b2o$b2o$b2o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 AGESTATES 8 COLOR ALIVERAMP 255 64 64 ]]
(click above to open LifeViewer)
x = 3, y = 11, rule = M0,0,0,15,0,15,0,0,0,0,15,0,15,0,0,0 $b2o$b2o$b2o$b2o$b2o$b2o$b2o$b2o$b2o$b2o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 AGESTATES 8 COLOR ALIVERAMP 255 64 64 ]]
(click above to open LifeViewer)
  • Some patterns, particularly on spheres, can be identified as having a 90-degree rotation Mod transform as opposed to a diagonal flip.
    • 90-degree rotations with a defined direction are only valid for patterns with a mod a quarter of their period. This is not the case for these spaceships on spheres, in which the mod must necessarily be half.
x = 4, y = 3, rule = B2/S:S20 o2bo2$b2o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]]
(click above to open LifeViewer)

Pattern loading

  • Bounded grids are not centered correctly for Margolus rules when using AutoFit or when a pattern first loads.
    • This issue was on the backlog to be fixed[4] and has since been fixed for non-Margolus rules.
normal Margolus
x = 2, y = 2, rule = B3/S23:T6,6 2o$2o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 ]]
(click above to open LifeViewer)
#CXRLE Pos=-2,-2 x = 2, y = 2, rule = MargSingRot:T6,6 $b2o$b2o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 ]]
(click above to open LifeViewer)
  • Margolus patterns on bounded grids will delete the top row and leftmost column of the pattern when loaded, unlike in other rulespaces.
    • Other issues can arise from this, particularly if the top-left cell should be alive but is not. For example, a "New Pattern" message will not be displayed despite no alive cells being present, the population counter will report that one live cell is present, and using "Select All" creates a selection at the bottom right corner of the bounded grid.
    • Fixes for Margolus pattern positioning on bounded grids are on the backlog.[5]
Margolus outer-totalistic
x = 12, y = 12, rule = M0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:T10 $3bob5o$2bo2bob2o$2b2obo2b3o$b2ob6o$2bo$b6obo$b6o2b2o$2b3o4b2o$bobobo $b2obob2o2bo! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 ]]
(click above to open LifeViewer)
x = 12, y = 12, rule = B/S012345678:T10 $3bob5o$2bo2bob2o$2b2obo2b3o$b2ob6o$2bo$b6obo$b6o2b2o$2b3o4b2o$bobobo $b2obob2o2bo! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 ]]
(click above to open LifeViewer)

Rendering

  • Cells on the triangular grid are rendered slightly to the left of where they should.
    • Another bug arises as a result of this: when slowly scrolling across the grid, some of the horizontal lines which comprise the grid will stop rendering prematurely, due to them incorrectly assuming they aren't in the visible portion of the window.
    • Fixing this is not currently a priority.[6]
    • The following pattern demonstrates this issue - switch between the two grid types via Settings > Display > Use Rectangles to see the misalignment more clearly.
x = 12, y = 8, rule = B3/S23L b! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ ZOOM 24 COLOR ARROW 0 255 0 ARROW 5 -10 5 15 24 LABEL 9 0 24 "Use Rectangles" COLOR ARROW 0 0 255 ARROW -5.26 -10 -5.26 15 24 LABEL -3 0 24 "Triangles" ]]
(click above to open LifeViewer)
  • For certain zoom levels, if high-quality rendering is used with CELLBORDERS, parts of cells can visually bleed into adjacent cell spaces.
x = 6, y = 6, rule = B3/S23 b3o$bob3o$4obo$ob4o$3obo$2b3o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ GRID OFF CELLBORDERS QUALITY ZOOM 4.82 ]]
(click above to open LifeViewer)

Platform-exclusive issues

iOS

Identify

  • Oscillators with a sufficiently large bounding box will not have a period map generated.
    • This is due to a limitation of maximum image size on various Mobile devices (typically 4096x4096).


Rendering

  • When using a triangular grid, gaps can be seen in selections in two of the three orthogonal directions.
    • Use Select All on the following pattern:
x = 14, y = 6, rule = B3/S23L b3o$b2o3$12b2o$11b3o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ ZOOM 16 GRID OFF COLOR SELECT 0 128 0 ]]
(click above to open LifeViewer)

References