# 2021r3.1

Released on December 14th, 2021.

This release has important improvements to `Xojo 2021r3</resources/release_notes/2021r3>`.

## Bug fixes (19 cases)

| Case                                         | Area                                           | Description                                                                                                                                                                                      |
|----------------------------------------------|------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [66894](http://feedback.xojo.com/case/66894) | Crashes & Assertions » IDE Unhandled Exception | Converting controls that have an unknown baseclass (typically when that baseclass doesn't exist in the project, for example when an external item isn't located), no longer throws an exception. |
| [66778](http://feedback.xojo.com/case/66778) | Framework » Desktop                            | A DesktopCanvas, that's embedded on a Container, now fires the DoublePressed event correctly.                                                                                                    |
| [66780](http://feedback.xojo.com/case/66780) | Framework » Desktop                            | DesktopListBox now fires CellFocusReceived and CellFocusLost events.                                                                                                                             |
| [66790](http://feedback.xojo.com/case/66790) | Framework » Desktop                            | Built apps with Workers no longer raise an IllegalCastException on Windows/Linux when running projects that use DesktopApplication.                                                              |
| [66928](http://feedback.xojo.com/case/66928) | Framework » Desktop                            | The last parameter for DesktopUIControl.Refresh with x,y,width,height,immediately is now optional as documented.                                                                                 |
| [66690](http://feedback.xojo.com/case/66690) | Framework » Web                                | Weblistbox sorts properly again.                                                                                                                                                                 |
| [66779](http://feedback.xojo.com/case/66779) | Framework » Web                                | Web applications should no longer disconnect after 140 seconds.                                                                                                                                  |
| [66841](http://feedback.xojo.com/case/66841) | Framework » Web                                | Fix an issue with our EventSource implementation which caused the app to disconnect prematurely.                                                                                                 |
| [66846](http://feedback.xojo.com/case/66846) | Framework » Web                                | WebImageViewer pressed event fires again when placed on a TabPanel or PagePanel.                                                                                                                 |
| [66862](http://feedback.xojo.com/case/66862) | Framework » Web                                | Fixed a bug in the retrieval of data from a Weblistbox datasource.                                                                                                                               |
| [66903](http://feedback.xojo.com/case/66903) | Framework » Web                                | WebImageViewer again fires its Pressed event on touch enabled devices that also accept mouse input.                                                                                              |
| [66612](http://feedback.xojo.com/case/66612) | Framework » Windows                            | HTMLViewer.ExecuteJavaScriptSync can now return booleans, integers and doubles correctly, instead of returning back Nil.                                                                         |
| [66755](http://feedback.xojo.com/case/66755) | Framework » macOS                              | DesktopPopupMenu.SelectionChanged event no longer fires needlessly when the SelectedRowIndex doesn't change.                                                                                     |
| [66083](http://feedback.xojo.com/case/66083) | IDE » Layout Editor                            | Locked position badge no longer bleeds through TabPanels/PagePanels.                                                                                                                             |
| [66890](http://feedback.xojo.com/case/66890) | IDE » Layout Editor                            | Assigning a ColorGroup to plugin controls (DesktopBevelButton for example) now reflects the change in the layout editor.                                                                         |
| [66891](http://feedback.xojo.com/case/66891) | IDE » Layout Editor                            | IDE now picks up initial ColorGroup property values that are defined for plugin controls.                                                                                                        |
| [66735](http://feedback.xojo.com/case/66735) | IDE » Menu Editor                              | Removing all items from a menubar and then adding a new item now chooses the right super based on the super of the App class.                                                                    |
| [66895](http://feedback.xojo.com/case/66895) | IDE » Miscellaneous                            | Fixed Desktop control conversion of Color properties (most likely seen when loading up XML projects).                                                                                            |
| [64582](http://feedback.xojo.com/case/64582) | IDE » Rendering                                | Running iOS projects on M1 Macs with Extensions Visible now works.                                                                                                                               |

## Docs and examples (1 case)

| Case                                         | Area     | Description                            |
|----------------------------------------------|----------|----------------------------------------|
| [66642](http://feedback.xojo.com/case/66642) | Examples | PDF-TOC-Example project version fixed. |
