<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Bug Bash &#8211; Xojo Programming Blog</title>
	<atom:link href="https://blog.xojo.com/tag/bug-bash/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.xojo.com</link>
	<description>Blog about the Xojo programming language and IDE</description>
	<lastBuildDate>Tue, 06 Dec 2022 17:32:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Bountiful Bug Bashing</title>
		<link>https://blog.xojo.com/2022/10/12/bountiful-bug-bashing/</link>
		
		<dc:creator><![CDATA[Paul Lefebvre]]></dc:creator>
		<pubDate>Wed, 12 Oct 2022 13:46:03 +0000</pubDate>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Cross-Platform]]></category>
		<category><![CDATA[Bug Bash]]></category>
		<category><![CDATA[Code Editor]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Multi-Platform Development]]></category>
		<category><![CDATA[Rapid Application Development]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Xojo Programming Language]]></category>
		<guid isPermaLink="false">https://blog.xojo.com/?p=10798</guid>

					<description><![CDATA[For Xojo 2022r3, the team worked on a wide variety of things for the Bug Bash. Two notable areas that I worked on were the Code Editor and the updates to the Syntax Help Area and I thought you might like to hear a bit about them.]]></description>
										<content:encoded><![CDATA[
<p>For 2022r3, the team worked on a wide variety of things for the Bug Bash. Two notable areas that I worked on were the Code Editor and the updates to the Syntax Help Area and I thought you might like to hear a bit about them.</p>



<h2 class="wp-block-heading">Code Editor</h2>



<p>The <a href="https://documentation.xojo.com/getting_started/using_the_ide/code_editor.html#code-editor">Code Editor</a> is one of the most commonly used parts of Xojo, so we are always trying to improve it. One of the problems that been reported with it is that it can use quite a bit of CPU. There was also a report of disk access when typing in the Code Editor. After studying the code, I determined that disk access could have been occurring during code hint lookups (that were searching a SQLite database) while typing, but this problem was no longer occurring with the switch to the new documentation in 2022r1 which uses a much smaller in-memory database.</p>



<p>However, I did notice that the Code Editor was sometimes doing too much work. For one example, the code indenting and folding was updated after every character was typed.</p>



<p>Since indents and folding do not usually need to be updated while you are typing, we changed it so that those things are updated when you pause typing, press return or do specific actions that warrant an immediate update (pasting text, for example). The benefit to this change is that much less CPU is used while typing in the code editor and it is harder to type faster than the code editor can respond.</p>


<div class="wp-block-image">
<figure class="alignright size-large is-resized"><img fetchpriority="high" decoding="async" src="https://blog.xojo.com/wp-content/uploads/2022/10/DALL·E-2022-10-06-14.16.54-A-cartoon-programmer-working-outside-on-a-laptop-with-a-dog.--1024x1024.png" alt="" class="wp-image-10805" width="346" height="346" srcset="https://blog.xojo.com/wp-content/uploads/2022/10/DALL·E-2022-10-06-14.16.54-A-cartoon-programmer-working-outside-on-a-laptop-with-a-dog.-.png 1024w, https://blog.xojo.com/wp-content/uploads/2022/10/DALL·E-2022-10-06-14.16.54-A-cartoon-programmer-working-outside-on-a-laptop-with-a-dog.--300x300.png 300w, https://blog.xojo.com/wp-content/uploads/2022/10/DALL·E-2022-10-06-14.16.54-A-cartoon-programmer-working-outside-on-a-laptop-with-a-dog.--150x150.png 150w, https://blog.xojo.com/wp-content/uploads/2022/10/DALL·E-2022-10-06-14.16.54-A-cartoon-programmer-working-outside-on-a-laptop-with-a-dog.--768x768.png 768w" sizes="(max-width: 346px) 100vw, 346px" /></figure>
</div>


<p>There were other similar improvements to the mouse movement. Previously the Syntax Help Area would be updated live as the mouse moved around the Code Editor. This was distracting and used a lot of CPU as it looked up what to display. With this release, the Syntax Help Area is only updated when the mouse stops moving. This is far less distracting when moving the mouse around and you should no longer see the CPU spike. A nice benefit of the Code Editor using less CPU is that your laptop battery should last longer when you are coding in Xojo.</p>



<p>Also related to the Syntax Help, sometimes it would not show syntax hints based on where the mouse cursor was and sometimes you had to click to get the hint to appear. A few bugs with that were found and fixed so that you should now have more consistent and accurate information.</p>



<p>Some other Code Editor fixes include:</p>



<ul class="wp-block-list"><li>The text cursor no longer sometimes remains visible when the Code Editor does not have focus. I found it confusing when that happened.</li><li>Syntax hints are displayed for more keywords, such with looping and conditionals.</li><li>Option-Right-Arrow no longer positions the cursor incorrectly in certain situations.</li></ul>



<h2 class="wp-block-heading">Syntax Help</h2>



<p>It had been a long-standing complaint that the Syntax Help Area only showed the method signature for a single method, which was not all that helpful when it was a method that had multiple overloaded signatures, which is frequent with object-oriented programming.</p>



<p>Travis initially implemented the changes to allow the Syntax Help Area to show multiple method overloads. You may be surprised to learn that this actually required changes to the AutoComplete component.</p>


<div class="wp-block-image">
<figure class="alignleft size-large is-resized"><img decoding="async" src="https://blog.xojo.com/wp-content/uploads/2022/10/DALL·E-2022-10-06-14.19.59-A-cartoon-programmer-working-at-a-desk-with-a-cat-1024x1024.png" alt="" class="wp-image-10807" width="320" height="320" srcset="https://blog.xojo.com/wp-content/uploads/2022/10/DALL·E-2022-10-06-14.19.59-A-cartoon-programmer-working-at-a-desk-with-a-cat.png 1024w, https://blog.xojo.com/wp-content/uploads/2022/10/DALL·E-2022-10-06-14.19.59-A-cartoon-programmer-working-at-a-desk-with-a-cat-300x300.png 300w, https://blog.xojo.com/wp-content/uploads/2022/10/DALL·E-2022-10-06-14.19.59-A-cartoon-programmer-working-at-a-desk-with-a-cat-150x150.png 150w, https://blog.xojo.com/wp-content/uploads/2022/10/DALL·E-2022-10-06-14.19.59-A-cartoon-programmer-working-at-a-desk-with-a-cat-768x768.png 768w" sizes="(max-width: 320px) 100vw, 320px" /></figure>
</div>


<p>There were a lot of changes, but they were not too difficult. The trickier part was finding the various permutations and edge cases, which is where I came in. Initially we had the Syntax Help Area expand to show all the overloads, but during pre-release testing we noticed this could cause it to expand to fill the entire code area if you had a lot of overloads (such as with <a href="https://github.com/xojo/XojoUnit">XojoUnit’s</a> Assert() methods). We decided to instead have a max size of 4 lines and use a scrollbar if there were more.</p>



<p>When reviewing this display code I noticed that the Syntax Help Area was always meant to use the same font as the Code Editor, but due to a bug (from 2013 or so) it was unintentionally using the system font. Using the Code Editor font for this makes it much easier to read.</p>



<p>While in this part of the code I also improved the display of the descriptions that appear in the Syntax Help Area (after the member syntax) when they are set on project item members (using the Description field in the Inspector). In addition, Constructor descriptions are now shown.</p>



<h2 class="wp-block-heading">Thanks</h2>



<p>Xojo has been around for over 20 years now and with continued iterative improvements throughout the years has remained a useful and productive tool for thousands of developers making desktop, web and mobile apps. I am honored to be able to work on it and am always in awe of the great things that I see our users create, things that they may not have been able to make using other more complicated tools.</p>



<p>I want to thank everyone for their bug bash submissions and especially those that helped test during the 2022r3 pre-release period. Your well-crafted <a href="https://tracker.xojo.com/xojoinc/xojo/-/issues">Issues </a>with sample projects were appreciated! As announced at the <a href="https://blog.xojo.com/2022/10/04/xojo-developer-retreat-recap/">Xojo Developer Retreat last month</a>, we are going to continue this with two weeks of bug bashing at the start of each release cycle, which begins around the time a release such as this ships.</p>



<p></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Xojo 2022r3 Includes 60 Fixes for Xojo Web</title>
		<link>https://blog.xojo.com/2022/10/12/xojo-2022r3-includes-60-fixes-for-xojo-web/</link>
		
		<dc:creator><![CDATA[Ricardo Cruz]]></dc:creator>
		<pubDate>Wed, 12 Oct 2022 13:45:09 +0000</pubDate>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Bug Bash]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[webdev]]></category>
		<category><![CDATA[Xojo IDE]]></category>
		<category><![CDATA[Xojo Programming Language]]></category>
		<guid isPermaLink="false">https://blog.xojo.com/?p=10842</guid>

					<description><![CDATA[While we do our best to write software that "just works", bugs happen. Xojo 2022r3 includes 60 bug fixes just for the Web Framework. Twenty-six of them were fixed during the Bug Bash event. Eight Feature Requests were also included in Xojo Web 2022r3. We've been very careful and tried to pick those on the border line between being a bug or a feature.]]></description>
										<content:encoded><![CDATA[
<p>While we do our best to write software that &#8220;just works&#8221;, bugs happen. Xojo 2022r3 includes 60 bug&nbsp;fixes just for the Web Framework. Twenty-six of them were fixed during the Bug Bash event. Eight Feature Requests were also included in Xojo Web 2022r3. We&#8217;ve been very careful and tried to pick those on the border line between being a bug or a feature.</p>



<p>Both server and frontend will have less memory footprint now. The team has been working on finding and fixing memory leaks, and optimizing how the framework cleans up the controls, when pages aren&#8217;t visible anymore.</p>



<p>Paul and Travis made IDE improvements to load projects much faster. If you have a large Web project, you will surely notice the difference.</p>



<p>The WebListBox component got most of the improvements. Visually, you will notice less flickering. Internally, it will make less requests to the web server to display its data. We will continue optimizing its performance release after release. Interacting with this control is now more natural and accessible, as we&#8217;ve made it more compatible with the different OSs and devices. And just like WebListBox, almost every other control received one or more bug fixes. Check the <a href="https://documentation.xojo.com/resources/release_notes/2022r3.html">Release Notes</a> for a detailed list.</p>



<p>I would like to finish this post with a huge thank you to every user that has helped directly or indirectly creating Issues, attaching a sample project, posting on the Forum and testing the beta releases.</p>



<p>The community is the best feature of Xojo <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<p><em>Ricardo has always been curious about how things work. Growing up surrounded by computers</em> and became interested in <em>web technologies since the dial-up connections era. Xojo has been his secret weapon and language of preference since 2018. When he’s not online, chances are he will be scuba diving &#8230; or crocheting amigurumis. Find Ricardo on Twitter <a rel="noreferrer noopener" href="https://web.archive.org/web/20220805000833/https://www.twitter.com/piradoiv" target="_blank">@piradoiv</a>.</em></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Bug Bash Results</title>
		<link>https://blog.xojo.com/2022/09/01/bug-bash-results/</link>
		
		<dc:creator><![CDATA[Dana Brown]]></dc:creator>
		<pubDate>Thu, 01 Sep 2022 18:31:41 +0000</pubDate>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Bug Bash]]></category>
		<category><![CDATA[Multi-Platform Development]]></category>
		<category><![CDATA[Rapid Application Development]]></category>
		<category><![CDATA[Xojo Programming Language]]></category>
		<guid isPermaLink="false">https://blog.xojo.com/?p=10708</guid>

					<description><![CDATA[Our Engineering team primarily focused on a Bug Bash during the month of August with the goal of addressing issues that did not meet our typical criteria. Unlike previous Bug Bashes, we invited users to nominate up to ten cases they would like to see addressed. During the month 100 issues were fixed! Of those - 50% were created in the past 90 days, and 10% were created more than one year ago.]]></description>
										<content:encoded><![CDATA[
<p>Our Engineering team primarily focused on a <a rel="noreferrer noopener" href="https://blog.xojo.com/2022/07/13/august-is-bug-bash-month-at-xojo/" target="_blank">Bug Bash</a> during the month of August with the goal of addressing issues that did not meet our typical criteria. Unlike previous Bug Bashes, we invited users to nominate up to ten cases they would like to see addressed. During the month <a rel="noreferrer noopener" href="https://tracker.xojo.com/xojoinc/xojo/-/issues/?sort=updated_desc&amp;state=closed&amp;label_name%5B%5D=Bug%20Bash%202022&amp;label_name%5B%5D=Fixed&amp;first_page_size=20" target="_blank"><strong>100 issues</strong> were fixed</a>! Of those &#8211; 50% were created in the past 90 days, and 10% were created more than one year ago.</p>



<p>In addition to the 100 fixed issues, many more issues were reviewed and closed for other reasons. For example, issues were closed because they were caused by errors in the user&#8217;s code, they were a problem in the OS, or they were duplicates of another issue, etc. </p>



<p>If an issue you nominated was not fixed, it will still be evaluated at some point. Over the next week the Bug Bash label will be removed from cases and we will be adding a <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f44d.png" alt="👍" class="wp-smiley" style="height: 1em; max-height: 1em;" /> to them so we can keep track of what issues are important to you. Going forward please use the <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f44d.png" alt="👍" class="wp-smiley" style="height: 1em; max-height: 1em;" /> to let us know what issues affect you.</p>



<p>We will be talking more about our long term plan for addressing bugs at the <a rel="noreferrer noopener" href="https://www.xojo.com/xdc" target="_blank">Xojo Developer Retreat</a>. </p>



<p></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>August is Bug Bash Month at Xojo</title>
		<link>https://blog.xojo.com/2022/07/13/august-is-bug-bash-month-at-xojo/</link>
					<comments>https://blog.xojo.com/2022/07/13/august-is-bug-bash-month-at-xojo/#comments</comments>
		
		<dc:creator><![CDATA[Dana Brown]]></dc:creator>
		<pubDate>Wed, 13 Jul 2022 13:46:21 +0000</pubDate>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Bug Bash]]></category>
		<category><![CDATA[Bug Report]]></category>
		<category><![CDATA[GitHub]]></category>
		<category><![CDATA[Issues]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Xojo MVP]]></category>
		<category><![CDATA[Xojo Programming Language]]></category>
		<guid isPermaLink="false">https://blog.xojo.com/?p=10567</guid>

					<description><![CDATA[We are excited to announce that during the entire month of August the majority of our engineering team will be focusing on a Bug Bash! ]]></description>
										<content:encoded><![CDATA[
<p>We are excited to announce that during the entire month of August the majority of our engineering team will be focusing on a Bug Bash! </p>



<p>The Xojo <a rel="noreferrer noopener" href="https://xojo.com/mvp/" target="_blank">MVPs</a> give us regular feedback on issues affecting the community at large &#8211; sometimes that is about a new feature, early testing of a release or more general matters. Recently the MVPs emphasized to us that bugs that don&#8217;t affect a lot of users, but can be really annoying to a small group of users, don&#8217;t get much attention. We talked about how to best address some of these issues and since we haven&#8217;t done a Bug Bash in a while, we decided it was time to do one.</p>



<h3 class="wp-block-heading">Nominating a Bug for the Bug Bash</h3>



<p>Starting now, each user can nominate <strong>up to 10 bugs</strong> to be fixed during the Bug Bash. You don&#8217;t have to nominate them all at once, we will accept nominations through August 31st. To nominate a bug, post this exact language as a comment on the case(s) you wish to nominate in <a rel="noreferrer noopener" href="https://xojo.com/issues" target="_blank">Issues</a>: <strong>[BugBash2022Nominee]</strong>. Starting in August, our system will add a Bug Bash label to make it easy to find them.</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="301" src="https://blog.xojo.com/wp-content/uploads/2022/07/Screen-Shot-2022-07-12-at-10.01.27-AM-1024x301.png" alt="" class="wp-image-10575" srcset="https://blog.xojo.com/wp-content/uploads/2022/07/Screen-Shot-2022-07-12-at-10.01.27-AM-1024x301.png 1024w, https://blog.xojo.com/wp-content/uploads/2022/07/Screen-Shot-2022-07-12-at-10.01.27-AM-300x88.png 300w, https://blog.xojo.com/wp-content/uploads/2022/07/Screen-Shot-2022-07-12-at-10.01.27-AM-768x226.png 768w, https://blog.xojo.com/wp-content/uploads/2022/07/Screen-Shot-2022-07-12-at-10.01.27-AM.png 1512w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>If you find that a case is already nominated with the Bug Bash label, do not add it again. Per usual, if the case affects you, add a &#8220;thumbs up&#8221; so we have some idea of how many users are affected by a particular bug. Please note that Feature Requests will not be considered for the Bug Bash.</p>



<p>Not every case that is nominated will be fixed. There are a multitude of reasons for this, but each case nominated will be evaluated and we&#8217;ll let you know the outcome.</p>



<p>We hope you&#8217;ll participate in the Bug Bash. No case is too old, too small or too esoteric! Submit your nominations today!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.xojo.com/2022/07/13/august-is-bug-bash-month-at-xojo/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
