Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

My Overview Boxes aren't resizing?

Users with the newest patch may notice there Overview Boxes may not be shrinking or resizing when a smart label within them degrades. 


Image Modified

Description:

Previously degrade would cause the label to "hide" completely, which caused the viewer to reload, which in-turn would cause the performance to be a lot slower when loading or viewing graphics.  The performance update changed that so that labels would only degrade their alpha (as opposed to going completely invisible) which has greatly increased graphic performance. Due to this change, overview boxes would no longer resize or shrink when a label within them goes into "degrade". 

How to revert back to previous Degrade Behavior 

As a solution to this, we added logic so that if a graphics "world" property contains a 'hideOnDegrade' tag, it would revert to the old "hide on degrade" behavior for that particular graphic, allowing for overview boxes to adjust themselves anytime a smart label within them would degrade. 

Manually (Individually)

  1. Open your graphic
  2. Go to your right menu and select "apply batch tags"
  3. As your target filter, type in 'world'
  4. In your tag filter, add the tag 'hideOnDegrade'

Automatically (Batch)

  1. Go to FOLIO Folio app
  2. Create a snapshot backup of your database
  3. restore/upload the Restore the following function: DOWNLOAD
  4. open up legacy folio
  5. run the function
  6. Check your graphics
  7. open up a few graphics and make sure there are no UI problems. 
  8. if all is well, you're good to go - if you see some issues, you can delete the extra components (rare), or revert back to your previous snapshot. 
  9. NOTE: If you want to adjust the function, you can go to the funcs app and alter the function filter so that it only applies 'hideOnDegrade' to select graphics.

Image Added

Warning

This function may cause certain extra models to duplicate in a graphic. If you have a large amount of graphics, make absolutely sure you do a snapshot/backup before running the function

Once you've run the function, check a few graphics in the viewer and open a few of them in the builder to see if there's any unneeded duplications in your graphics. This only happens on rare occasions, so it is not likely that it will occur, but if it does, you can just delete the extra models, or you can revert back to your previous snapshot and do it manually. 

...