Bugs, fixes and other things

When we took over the PowerOffice utilities in late 2008 we inherited a few problems. Problems that were intricate, complicated and seriously daunting to work on. So I kind of let them slip and ignored them for a while hoping that as I gained knowledge of the products and the code I would be able to figure these things out and fix them. At the same time I knew that I would not feel comfortable with these products until I fixed those problems and I would not feel good about promoting them!

In December last year I got extremely busy working on a project for one of my clients and had to kind of put these things on the back burner. When I finished that project in late January and I realized I was seriously behind my own schedule of releases I made a promise to myself to get those things fixed before I released new builds! If nothing serious comes up I will finish the fixes this week:)

The problems were in 3 products, Build Automator, PowerToolbar and XPTheme.

The problem in Build Automator was related to a random failure of the Copy/Paste option where it would fail badly and could even corrupt the project data. I knew the code works as it works almost all the time, but in rare occasions it will fail. I have never been able to duplicate it - it happens once in a while, I'd say perhaps 1% of the time I use it. After going through the code over and over again I realized there was a weak spot that could possibly cause this problem. I have plugged this vulnerability in a beta build that is out in testing now and I hope it will prove successful!

PowerToolbar had two problems. Firstly Menu theming was not possible when using PowerToolbar in Clarion 7. Clarion 7 uses owner drawn menus and in some cases those are known for not playing nicely with some API code that extracts information about the menu items. In my case it was the text that the API simply could not extract at all. I am currently working on a solution that is promising and I hope I will have it finished by the end of this week:) Secondly, PowerToolbar had a random problem with menus not being themed. This problem almost had me beat and it took multiple tries over the past two years to nail down the problem. As often, the problem proved to be very difficult to identify and very simple to fix! I wrote a blog entry about this fix just over a month ago and you can read more detailed description of it here.

XPTheme had one problem that was illusive and difficult to get to grips with. It had problems with list box headers, particularly when it came to groups, group headers and column headers for groups. It also had problems with scrolling the headers correctly if there were fixed columns and scrolling list boxes with the keyboard if the HSCROLL attribute was missing was not supported at all. For the past two months I have been working hard on fixing the issues with the list box headers and scrolling and it has been in tough beta testing now for the past month or so. I am very happy to report that for the past week I have not got any reports about any further problems:)

I expect that next week I will start pushing out new updates to those products. With those fixes I'm feeling comfortable again about promoting and selling my products and feel good about tackling any other problems that may come up!

Arnor Baldvinsson

Leave a Reply