Release Notes for Xojo 2022r4

  • Bugs fixed: 95

  • Beta bugs fixed: 1

  • Features added: 16

  • Documentation changes: 57

  • Examples changed: 1

Revision

Issue

Type

Category

Platform

Description

58543

69327

Bug

Framework

Windows

MoviePlayer now stretches the movie to fit the bounds of the player when AutoAdjustToMovieSize is enabled.

58542

70850

Bug

Framework

iOS

Fix: The IDE does not crash when inspecting a MobileTextField instance in the Debugger panel.

58539

69844

Feature Request

We no longer do unnecessary stack overflow chceks in plugin generated code to help speed up plugin calls.

58534

70769

Bug

Framework

Desktop

Now, DesktopTextField doesn't need to lost the focus in order to get the underlying FormattedText updated.

58533

70830

Bug

IDE

Now, double-clicking a control in the Report Editor offers the same behavior than double-clicking a control in the Layout Editor, displaying the Event List dialog when no event is still implemented for the control.

58525

70797

Beta Bug

IDE

Windows

When analyzing a project using the keyboard shortcut Ctrl+K (while in the code editor), the IDE no longer inserts a letter K into the code.

58523

70650

Bug

IDE

Prevent a possible IllegalCastException that could sometimes occur when the IDE is in the background and gets activated.

58522

70832

Bug

IDE

Changed the by default background color used by the Layout Editor when macOS / Linux are set to DarkMode in order to improve contrast.

58521

70823

Feature Request

IDE

IDE: Added contextual menu option Copy to the results listing in the Search Panel.

58519

70525

Feature Request

Framework

Fixed bug in ranges for PDFTable rows merging.

58510

42794

Feature Request

Compiler

Added support for building Linux ARM64 Desktop and Console/Web apps.

58507

70741

Bug

Framework

iOS

CLong is now accessible for iOS projects.

58506

70753

Bug

Framework

SQLiteDatabase: getting the IntegerValue from a DatabaseColumn no longer truncates the value to 32-bit for 64-bit builds.

58505

70724

Bug

Framework

Fixed some some inconsistencies with retrieving a DatabaseColumn's currency/double values, to work better in any locale, when iterating the DatabseRows from a RowSet.

58503

65009

Bug

IDE

Avoid an IllegalCastException that could sometimes occur when closing the Error panels before starting a debug run.

58502

70579

Bug

IDE

Avoid an IllegalCastException that could occur when switching to Xojo from another app.

58501

70726

Bug

IDE

Avoid an IllegalCastException that could occur when switching back to Xojo from another app.

58500

53681

Bug

IDE

Avoid an IllegalCastException that can sometimes occur when switching back to Xojo from another app.

58498

70772

Bug

IDE

Avoid an exception when trying to set window title text.

58481

70737

Bug

Framework

Web

Fixed an issue causing WebChart labels without encoding to raise an uncatchable exception.

58462

70687

Bug

Framework

Web

Fixed an encoding issue with WebCombobox, WebListBox and WebRadioGroup which wasn't using UTF-8, when defining the initial value using the IDE.

58461

70293

Bug

Framework

Web

Fixed an issue that was causing some keyboard shortcut combinations to be blocked by the framework.

58459

70684

Bug

Framework

Fixed narrow space rendering in PDFDocument.

58458

70664

Bug

Framework

Web

Fixed an issue causing nested WebView controls to position their children in a wrong position.

58444

70721

Bug

IDE

Now the instance based in a plugin honors the values set in a .defaults file.

58441

63816

Bug

IDE

Web

Fixed an IDE issue causing nested controls to be drawn twice, while being dragged.

58438

70722

Bug

IDE

ContainerControl items are properly listed among the filtered matches in the Navigator when it's super has been changed to DesktopContainer.

58437

70562

Bug

Framework

TextArea control fully switches between dark and clear modes on macOS, including when the StyledText property is set to True.

58426

69164

Feature Request

Framework

Updated to SQLite 3.39.4.

58416

70447

Bug

Framework

String.Contains() is now approximately the same speed as String.IndexOf().

58415

70655

Bug

IDE

Prevent an exception that could occur when pasting layout controls while (or soon after) dragging layout controls.

58414

70663

Bug

IDE

The Not Supported text is now DarkMode aware in the Supported Versions Inspector Panel for Windows target.

58413

70443

Feature Request

Framework

Web

WebPopupMenu will now make visible the current selected row, when opening the menu.

58400

70654

Bug

IDE

Additional check so DebuggerGlobalsViewer doesn't raises a Nil Exception when the IDE window is closed during debugging a project.

58398

70624

Bug

IDE

Additional check to avoid Nil exception when debugging and the IDE window is closed.

58390

66559

Bug

Framework

Web

Fixed an issue causing WebView position being set on Opening to be overwritten by the framework.

58389

69990

Bug

Framework

Web

The browser won't be sending unnecessary Closed events anymore.

58384

70651

Bug

Framework

Linux

FolderItem.ModificationDateTime now takes daylight savings time into account.

58379

70645

Bug

Framework

Linux

DesktopDisplay.DisplayAt now throws an OutOfBoundsException for invalid indexes.

58377

64630

Bug

IDE

Web

Fixed a WebPage issue causing subclassed pages to not always load properties correctly.

58374

70638

Bug

Framework

Linux

Picture.IsExportFormatSupported no longer incorrectly returns True for Picture.Formats.GIF

58363

70596

Bug

IDE

Prevent a NilObjectException that could occur in some situations after working with Color Groups and then closing the project.

58359

64385

Bug

Framework

Web

Fixed an issue causing visual controls to sometimes set a wrong position, when setting Visible to False.

58358

70598

Bug

IDE

Fixed Define Missing Method when the selected item in the Navigator is a Module.

58346

70582

Bug

IDE

The code editor horizontal scroll no longer appears in methods that have long declarations, but do not actually have long code lines.

58342

60122

Bug

IDE

Web

WebProgressWheel is now drawn in the Layout Editor using the selected color.

58341

69982

Bug

Framework

Web

The web server will ensure now idle connections are being closed.

58308

67885

Bug

Compiler

Compiler no longer throws a failed assertion when a file resource error occurs while building for 32-bit Linux/Windows. This is now turned into a build error with additional info.

58302

69625

Bug

Framework

Web

Tooltip will disappear now, when the control they're attached to is being hidden or removed.

58301

70253

Bug

IDE

Fixed renaming classes when these are imported into a Module that has not that clase defined already.

58300

70232

Bug

Framework

Web

Fixed contextual menu issue causing the menu to be clipped by its parent view.

58298

69703

Bug

Framework

Web

In WebSegmentedButton.Pressed event, itemIndex parameter will be called segmentIndex now, like in Desktop and Mobile targets.

58297

69781

Bug

Framework

Web

Fixed an issue causing requests with a trailing quote mark to not be handled correctly.

58296

70532

Feature Request

IDE

The drawing for the Space button in the ToolBar Editor on Desktop is on par with the one displayed on iOS, instead of drawing just a blank space.

58285

70444

Bug

IDE

Windows 7 and Windows 8 switches are set to OFF by default under Windows Supported Versions Build Settings in the IDE.

58277

69859

Feature Request

IDE

Added the ability to set the minimum macOS version to run the deployed app.

58276

65854

Bug

Fixed a nil exception in Icons.GetImageShared that was leading the IDE to crash under some circumstances.

58272

58650

Bug

Framework

Windows

DesktopHTMLViewer no longer overrides menu shortcuts when it has the focus.

58270

70455

Bug

IDE

Fixed a problem where searching with Matches Case selected could sometimes result in the search never finishing.

58260

69514

Feature Request

IDE

Windows

Added Visual C++ Redistributable for ARM64 which can be found in ExtrasWindows RuntimeInstallers

58257

70349

Bug

Framework

Web

Fixed a WebListBox issue causing the NoRowsMessage property to not be applied, when the list was empty.

58256

70408

Bug

Framework

Web

Fixed a WebPopupMenu issue while pressing on (or dragging) the scrollbar, causing the first list item to be selected.

58254

70425

Bug

Framework

Desktop

Deprecated Graphics constants HandleTypeCairoContext, HandleTypeCGContextRef and HandleTypeHDC, use the HandleTypes enumeration equivalents instead. Also deprecated TextDirectionTextLeftToRight, TextDirectionRightToLeft, and TextDirectionUnknown, use the TextDirections enumeration equivalents instead.

58252

68837

Bug

IDE

iOS

Improved drawing of MobileRectangle in the Layout Editor for iOS projects.

58251

70424

Bug

Framework

Desktop

Screen and ScreenCount are now marked as deprecated with DesktopDisplay.DisplayAt and DisplayCount as replacements.

58248

70446

Feature Request

Framework

Windows

MySQLCommunityServer is now supported for Windows ARM64.

58244

61749

Bug

Framework

Web

Fixed a WebListBox issue causing headers set in the Opening event to not be shown, when this control was embedded in another one.

58243

61176

Bug

Framework

Web

WebMessageDialog.Style can be used now to apply some custom styles to message dialogs.

58242

64608

Bug

Framework

Web

Fixed a WebToolbar issue causing long menu items to not show the scrollbar.

58235

70431

Feature Request

Framework

Windows

PostgreSQLDatabase is now supported for Windows ARM64.

58234

70402

Bug

IDE

Signing Step Developer ID field now always saves when it is changed. Undo on this field is also more reliable.

58233

70427

Bug

IDE

Fixed a deprecation regarding Segment.Caption that can occur when analyzing a project that uses an older SegmentedControl in a newer version of Xojo.

58229

70414

Bug

IDE

Default event set for MobileLabel on iOS.

58227

70386

Feature Request

Framework

Added TopMargin and BottomMargin to PDFTable.

58219

70382

Bug

IDE

SQLiteDatabase: when using our database editor to create a table and columns, the column type is now properly setup instead of defaulting to Boolean.

58191

70358

Bug

IDE

The Find icon on the Doc window toolbar is no longer cropped on retina displays.

58190

70328

Bug

IDE

When converting Rectangle to DesktopRectangle, explicitly set the CornerSize to 0 so that it does not end up getting the default corner size of 16.

58188

70366

Feature Request

Framework

Added new Completed method to the PDFTableDataSource class interface, so the user can get the last x and y coordinates used in rendering the table (what usually may also involve adding extra pages to the document)

58183

70331

Feature Request

IDE

Web

The WebListBox is rendered now in the Layout Editor.

58176

69925

Bug

Framework

Web

WebCheckbox.ValueChanged event will be fired now, if it has been changed by code.

58175

70030

Bug

Framework

Web

Fixed a WebSearchField issue causing re-enabling the control to not work, after disabling it.

58162

62931

Bug

Framework

Graphics.DrawPath now honors the PenSize.

58154

70290

Bug

Framework

iOS

Added missing Enabled property behaviour to MobileTextArea on iOS.

58146

70291

Bug

IDE

Restored Search panel behaviour in the IDE as for the one got in 2021r3.1 when Full Keyboard Access is enabled in macOS preferences.

58136

70272

Beta Bug

Examples

Catch a (hopefully) rare situation where the selected example could not be downloaded/processed.

58131

70260

Feature Request

Framework

iOS

Added autoClose argument to DrawPath/FillPath methods on iOS, so they match Desktop and Android.

58115

70250

Bug

IDE

Changed Inspector group for DesktopWindow.ImplicitInstance from Windows Behavior to Window Behavior so that it doesn't look like it is a Microsoft Windows-related property.

58114

66975

Bug

Framework

Web

WebListBox.Style isn't protected anymore. It can be used now to define some generic styles on this component.

58113

61269

Bug

Framework

Web

Fixed a WebListBox scrollbar visual issue with the scrollbars and the sticky header.

58103

70245

Bug

Framework

iOS

Fixed: graphics.DrawPicture(picture, x, y) now also applies the transparency on iOS projects.

58096

70152

Bug

Framework

Web

Fixed a WebListBox issue causing long text in cells to overflow the boundaries.

58095

62130

Bug

Framework

Web

Fixed a WebMoviePlayer issue causing Duration to return always 0s.

58094

61689

Bug

Framework

Web

Fixed a WebListBox issue that wasn't updating the header size, when being resized.

58085

70222

Bug

Framework

macOS

A read-only TextField no longer traps the keyboard focus when tabbing into it.

58082

70081

Bug

IDE

Fxed AllowTabStop property switch not working in the Inspector Panel for DesktopSearchField.

58081

62176

Bug

Framework

Web

Fixed a WebSegmentedButton issue causing Pressed to not be fired and selected segments to not be updated.

58051

61605

Bug

Framework

Web

Setting WebListBox.ColumnCount to 0 no longer raises a DatabaseException. 1 column will be assumed, as in Desktop.

58049

66743

Bug

Framework

Web

Fixed a crash that was happening when closing a web app, when using nested controls.

58047

66943

Bug

Framework

Web

Setting WebSegmentedButton.Enabled will also set now the individual segments.

58046

61066

Bug

Framework

Web

Fixed a WebPopupMenu causing long text to overlap with the disclosure arrow.

58040

67534

Bug

Documentation

Color.IsDarkMode is now supported on Linux.

58028

70178

Bug

IDE

Using the code comment command button on a folded block of code now properly expands and comments the block and no longer also deletes method code after the block.

58027

69976

Bug

Framework

macOS

Fix to unify SelectionChanged and DoubleClick events on DesktopListbox.

58023

66159

Feature Request

IDE

Structure Editor's Show 64-bit sizes Inspector setting now defaults to ON and remembers its setting when changed (while the IDE is open -- since this is not a real property it does not get saved in the project).

58004

70179

Bug

Framework

Better wrapping of text in PDFDocument graphic context when the text to wrap is just raw data

57991

68965

Bug

Framework

Web

Pasting text using the contextual menu will now raise the TextChanged event.

57979

69574

Bug

Framework

Web

Fixed a WebLabel issue causing ellipsis to not be applied, when the caption was bigger than the width.

57978

69973

Bug

Framework

Web

WebListBox.RemoveAllRows will now reset the SelectedRowIndex to -1.

57977

69750

Bug

Framework

Web

UserTimedOut will be fired again when the user comes back, starts to interact with the web application and goes away again.

57943

64930

Bug

IDE

The code editor code folding box background is now drawn more precisely.

57942

69996

Bug

IDE

Code editor speed no longer slows down tremendously when folding a large block of code when the parent of the folded block was visible in the code editor. Bookmarks/breakpoints on code lines that get folded not longer partially drawn in the gutter.

70503

Bug

Documentation

Added example code for String.Contains.

70506

Bug

Documentation

Updated the syntax tree diagram on the Data Types page.

70507

Bug

Documentation

Replaced Val with FromString in an example on the Data Types page.

70484

Bug

Documentation

Removed reference to the non-existent None constant.

70477

Bug

Documentation

Renamed a few enumerations in sample code that did not follow our naming guidelines.

70546

Bug

Documentation

Removed Graphics.HandleType constants from the Graphics page and added Graphics.HandleTypes enumeration.

70556

Bug

Documentation

Added a note to SQLiteDatabase.AddDatabase that it cannot be used to attach an in-memory database.

70475

Bug

Documentation

Removed a no longer accurate warning about enumeration conversion.

70467

Bug

Documentation

Added missing parameters to MobileApplication.HandleBackgroundURL and HandleURL.

68424

Bug

Documentation

Updated the WebRadioGroup description to remove part left over from Web 1.

70590

Bug

Framework

MySQLCommunityServer: the TableColumns.AfterLastRow is not set correctly instead of always returning false.

68412

Bug

Documentation

Fixed code samples to use IconType rather than Icon.

68338

Bug

Documentation

The release notes prior to 2012 are now in reverse chronological order like the rest of the release notes.

70609

Bug

Documentation

Added the missing description to PictureBrush.

70610

Bug

Documentation

Moved NotificationException page from the Notifications section to the Exceptions section.

70613

Bug

Documentation

Add missing description to WebChartScatterDataset and added some missing data types.

68277

Bug

Documentation

Updated some deprecated array method warning messages to indicate the proper replacements.

70626

Feature Request

Documentation

Moved AddHandler to the API/Language section since it is a language keyword and RemoveHandler was already in the API/Language section.

70630

Bug

Documentation

Rect.HorizontalCenter, VerticalCenter, Contains and Offset are now all properly documented as or taking doubles rather than integers.

68242

Bug

Documentation

Searching for Workers no longer takes you to the release notes since we have opted them out of search. It was taking you to topic page about Worker because it had the word workers on it but I have reworded it so it no longer does.

68227

Beta Bug

Documentation

Fixed the replacement links in on the pages for the deprecated functions Clong and Replace.

68219

Bug

Documentation

Documented the optional Tag parameter for WebPopupMenu.AddRow.

68155

Bug

Documentation

Fixed a code example on the DesktopRadioGroup page.

69875

Feature Request

Documentation

Updated examples for String.TrimLeft and String.TrimRight to make what they return more obvious.

67396

Bug

Documentation

Fixed the code example for JSONItem.Child.

69948

Bug

Documentation

Fixed an error in the code sample for Rect.Right.

70483

Bug

Documentation

Updated example code on the DesktopListBox page to refer to the class rather than the deprecated ListBox class.

70666

Bug

Documentation

Updated URLConnection.Send to indicate the the timeout parameter is in seconds. Also corrected the default value from 0 to 60.

70679

Bug

Documentation

PDFTOCEntry.Bold, DrawingColor and Italic properties are now documented.

70681

Bug

Documentation

Added to DesktopRadioButton the previously undocumented properties Bold, FontName, FontSize, FontUnit, Italic and Underline.

70436

Bug

Documentation

Added missing description to the EasyUDPSocket page.

70685

Bug

Documentation

A new Socket Error Codes page has been added to replace the mention of both Linux, macOS and Windows error codes on the TCPSocket and SMTPSocket pages.

70435

Bug

Documentation

iOS

Updated the Compatibility sections for EasyTCPSocket and EasyUDPSocket to properly indicate they are only supported for Desktop and Web project types.

70701

Bug

Documentation

The FormattedText property for DesktopTextControl and DesktopTextArea is now documented.

70705

Bug

Documentation

Group2D.BorderColor, BorderOpacity, BorderWidth, FillColor, FillOpacity, X and Y are now documented.

70710

Bug

Documentation

OSHandle.Value is now documented.

70711

Bug

Documentation

Picture.Depth is now documented.

70712

Bug

Documentation

Added the previously undocumented Name and Tag properties to RBReportControl.

70713

Bug

Documentation

Documented the previously missing System.VersionData.BuildVersion property.

70717

Bug

Documentation

Removed a note from the AutoDiscovery.Register method that suggested Connect needed to be called before calling Register.

65702

Bug

Documentation

Fixed a few errors in the DesktopWindow.CreateContextualMenu code example.

70482

Bug

Documentation

Added the AllRows constant to the DesktopListBox page as well as descriptions for all DesktopListBox constants.

70393

Bug

Documentation

Moved TrayItem to the Deprecated section and added DesktopTrayItem.

70321

Bug

Documentation

Updated the desktop tutorial so indicate quitting an app on Linux/Windows using Exit and Quit on macOS.

70295

Bug

Documentation

Removed unnecessary .ToString from two code examples on the Introduction to App Localization page.

70480

Bug

Documentation

Fixed a camelcase example on the API Design and Naming Guidelines page to actually make sense.

62109

Bug

Documentation

Added the Ptr signature for MemoryBlock.Operator_Convert.

70758

Bug

Documentation

Updated the Localization module page to include a list of supported localization languages.

70276

Bug

Documentation

Updated URLConnection.Send to indicate when it results in the ContentReceived event executing versus the FileReceived event.

70213

Bug

Documentation

Fixed a bug in the example code for DesktopTextField.Left.

70786

Bug

Documentation

Added missing PixmapShape Y and Width properties.

70209

Bug

IDE

Selecting a class, from the Select Super dialog, now highlights the selection.

70801

Bug

Documentation

DesktopListBoxCell and DesktopListBoxCheckBoxCell have both been moved to the Deprecated section.

70186

Bug

Documentation

Remaining links to old Feedback system have been replaced with links to the equivalent page in at https://issues.xojo.com.

70163

Bug

Documentation

Variant.Hash is now documented to be case-insensitive when hashing strings.

70161

Bug

Documentation

Added the missing description to the Ceiling function.

70847

Bug

Documentation

Two missing signatures for OLEObject.Invoke have been added.

60721

Bug

Documentation

The DateTime class is now documented to clearly indicate that unless otherwise specified the default time zone is the time zone of the device.

70854

Bug

IDE

Removed mention of a keyboard shortcut for opening IDE scripts because no such keyboard shortcut actually exists.