Hunting for bugs in OXT 0.98 and above
- tperry2x
- Posts: 3208
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: Hunting for bugs in OXT 0.98 and above
I think it's good to retain the paint tools. Even if many people don't use them, it could be handy just for marking something for the attention of someone. (Like drawing an arrow or annotation).
I've also made the new paint image that is created sit behind everything (move to back), so that if any buttons are placed on the card, these aren't obscured or unclickable when the image is created.
I've also made the new paint image that is created sit behind everything (move to back), so that if any buttons are placed on the card, these aren't obscured or unclickable when the image is created.
- richmond62
- Posts: 4830
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Hunting for bugs in OXT 0.98 and above
The paint tools would be extremely useful if you wanted to make a program like Apple's Freeform:
- -
And a Freeform rip-off that was cross-platform is not such a daft idea.
- -
And a Freeform rip-off that was cross-platform is not such a daft idea.
https://richmondmathewson.owlstown.net/
- tperry2x
- Posts: 3208
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: Hunting for bugs in OXT 0.98 and above
Now there's an idea - one for the fun & games section (or example stacks etc).richmond62 wrote: ↑Tue Apr 23, 2024 12:34 pm And a Freeform rip-off that was cross-platform is not such a daft idea.
I've never tried the paint tools in LCC/OXT with a stylus and graphics tablet - I'll have to have a try at some point.
Failing that, if someone creates a stack - we can later export to android (easier of the two mobile platforms to publish for), and have it with a stylus on there... just ideas.
- OpenXTalkPaul
- Posts: 2633
- Joined: Sat Sep 11, 2021 4:19 pm
- Contact:
Re: Hunting for bugs in OXT 0.98 and above
I was just thinking, and this is probably expensive for a cosmetic thing, Tools could swap the color table on the cursor image before loading it, so that way a brush shaped cursor would be filed with the selected paint color. I believe all Desktop OSes support color cursors nowadays. It would be cool to see the cursor in the color you're about to paint pixels with.tperry2x wrote: ↑Tue Apr 23, 2024 12:23 pm I think it's good to retain the paint tools. Even if many people don't use them, it could be handy just for marking something for the attention of someone. (Like drawing an arrow or annotation).
I've also made the new paint image that is created sit behind everything (move to back), so that if any buttons are placed on the card, these aren't obscured or unclickable when the image is created.
paint-everywhere.png
- tperry2x
- Posts: 3208
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: Hunting for bugs in OXT 0.98 and above
I like that suggestion. This is picked up from the revCursors stack (and I believe there's a separate mac and linux stack, although it's debatable if they are actually used).
I initially thought it would be quite 'expensive' on the processor cycles and slow things down, as I supposed you'd have to have to set the colour, then have it export the image and reimport it.
But, then I remembered about this in the user guides:
So I thought we could colour individual live pixels of the cursor graphic directly this way then set the cursor to it, which would show a colour at the end of a brush for example.
I initially thought it would be quite 'expensive' on the processor cycles and slow things down, as I supposed you'd have to have to set the colour, then have it export the image and reimport it.
But, then I remembered about this in the user guides:
To manipulate the binary data of an image, use the image's imageData property. This property returns the color and transparency value of each pixel in the image in a consistent format regardless of the format the image is saved in. The imageData is stored as binary, with each pixel represented by 4 bytes. To convert it to and from RGB values use the byteToNum and numToByte functions.
For example, the numeric value of the red, green and blue channels respectively for the tenth pixel are given by the expressions:
Code: Select all
charToNum(char (4 * 9 + 2 of the imageData of image <image>)
charToNum(char (4 * 9 + 3 of the imageData of image <image>)
charToNum(char (4 * 9 + 4 of the imageData of image <image>)
- OpenXTalkPaul
- Posts: 2633
- Joined: Sat Sep 11, 2021 4:19 pm
- Contact:
Re: Hunting for bugs in OXT 0.98 and above
Are you guys aware of the SVGPathDrawWidget I made a while back?richmond62 wrote: ↑Tue Apr 23, 2024 12:34 pm The paint tools would be extremely useful if you wanted to make a program like Apple's Freeform:
-
SShot 2024-04-23 at 15.33.10.png
-
And a Freeform rip-off that was cross-platform is not such a daft idea.
I thought I posted about it.
There's actually not (currently) that much to it but it works, simple and effective.
Kind of a white board thing that generates SVG paths as you draw on it.
It could be useful for this sort of use case.
You can delete the lines of the SVGPaths property to 'undo' any strokes that were drawn.
It's not all that 'eavy , it's a "wafer thin"!
- tperry2x
- Posts: 3208
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: Hunting for bugs in OXT 0.98 and above
No, I was not aware of that at all.
It somehow got past me
Do you have a link you can attach so we can try it out? Would be cool to add an SVG eraser tool, so it can remove points of the SVG that are clicked on or dragged over.
It somehow got past me

Do you have a link you can attach so we can try it out? Would be cool to add an SVG eraser tool, so it can remove points of the SVG that are clicked on or dragged over.
- tperry2x
- Posts: 3208
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: Hunting for bugs in OXT 0.98 and above
I suppose I may kick this off.

Just found that the Quick Dictionary in OXT Lite 1.04, on MacOS generates this error...
Works fine under Linux:
Just off to test this on Windows now...
Edit: Works fine on Windows too... It's just MacOS. Going to try and sort that now...
In the meantime, you can turn off "Quick Dictionary" in the prefs for the MacOS version.
Edit2: Haha, it even opens the database on Wine on the Mac: Seems to be something Mac-specific? Perhaps it reads databases differently to Windows and Linux? I don't know.
So, does anyone know enough about databases to help fix the Quick Dictionary please?
I've attached the Quick Dictionary so you can have a play with it.
While anyone is there, could they also fix this error:
viewtopic.php?p=8451#p8451

Just found that the Quick Dictionary in OXT Lite 1.04, on MacOS generates this error...
Code: Select all
field "Cerca2": execution error at line n/a (External handler execution error: revdberr,invalid connection id) near "revdberr,invalid connection id
Edit: Works fine on Windows too... It's just MacOS. Going to try and sort that now...
In the meantime, you can turn off "Quick Dictionary" in the prefs for the MacOS version.
Edit2: Haha, it even opens the database on Wine on the Mac: Seems to be something Mac-specific? Perhaps it reads databases differently to Windows and Linux? I don't know.
So, does anyone know enough about databases to help fix the Quick Dictionary please?
I've attached the Quick Dictionary so you can have a play with it.
While anyone is there, could they also fix this error:
viewtopic.php?p=8451#p8451
- richmond62
- Posts: 4830
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Hunting for bugs in OXT 0.98 and above
Does this mean 1.04 is available for download?
https://richmondmathewson.owlstown.net/
- tperry2x
- Posts: 3208
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: Hunting for bugs in OXT 0.98 and above
Haha, it's on the front page

- richmond62
- Posts: 4830
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Hunting for bugs in OXT 0.98 and above
Aha.
I was on the back page.
Which 'front page' would that be, as this link leads me somewhere else?
https://openxtalk.org/OXTDownloads.html
I was on the back page.

Which 'front page' would that be, as this link leads me somewhere else?
https://openxtalk.org/OXTDownloads.html
https://richmondmathewson.owlstown.net/
- tperry2x
- Posts: 3208
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: Hunting for bugs in OXT 0.98 and above
The main forum front welcome page:richmond62 wrote: ↑Sat May 04, 2024 11:25 am Which 'front page' would that be, as this link leads me somewhere else?
(The one I always update

I have asked if that link can be changed to:
viewtopic.php?p=7840#p7840
I might be able to do something about it with a redirect... hang on.
Edit: there you go, through the miracles of PHP, that's fixed in a round-about fashion.
- richmond62
- Posts: 4830
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Hunting for bugs in OXT 0.98 and above
That is going to be NBG for any newcomers, and those downloads should be on the FRONT PAGE, which is not what you meant by the 'front page'.
https://richmondmathewson.owlstown.net/
- tperry2x
- Posts: 3208
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: Hunting for bugs in OXT 0.98 and above
Calm down, lol. Try it now. (comment as above)richmond62 wrote: ↑Sat May 04, 2024 11:32 am That is going to be NBG for any newcomers, and those downloads should be on the FRONT PAGE, which is not what you meant by the 'front page'.
- richmond62
- Posts: 4830
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Hunting for bugs in OXT 0.98 and above
I am not "Calmed Up", but just thinking of the poor sods (such as the victims who'll be attending my summer programming classes in July).
- -
I knew I'd seen that theme somewhere else.
- -
Just opening on MacOS 12.7
- -
I knew I'd seen that theme somewhere else.

- -
Just opening on MacOS 12.7
https://richmondmathewson.owlstown.net/
- tperry2x
- Posts: 3208
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: Hunting for bugs in OXT 0.98 and above
I should have used a white glove on the hand icon.
It was funny actually, as when I uploaded that on Friday (about midnight GMT+0 time), the number of guests immediately went from 6 to 174 So, I'd assume a lot of people were able to find it

- richmond62
- Posts: 4830
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Hunting for bugs in OXT 0.98 and above
Is that change in the vertical grab thingy intentional?
- -
1.04 at the top, 1.03 below 1.04.
- -
1.04 at the top, 1.03 below 1.04.
https://richmondmathewson.owlstown.net/
- tperry2x
- Posts: 3208
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: Hunting for bugs in OXT 0.98 and above
Yes, because everyone complained it didn't look like a grab handle.richmond62 wrote: ↑Sat May 04, 2024 11:46 am Is that change in the vertical grab thingy intentional?
(and so it begins)

- richmond62
- Posts: 4830
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Hunting for bugs in OXT 0.98 and above
Wow! Big changes down the bottom of the Tools stack:
- -
1.04 on the left.
As well as the much-improved new icons for colour selection, the labels: 'Vector Shapes', 'Vector Tools', and 'Paint Tools' are super.
- -
1.04 on the left.
As well as the much-improved new icons for colour selection, the labels: 'Vector Shapes', 'Vector Tools', and 'Paint Tools' are super.
https://richmondmathewson.owlstown.net/
- richmond62
- Posts: 4830
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Hunting for bugs in OXT 0.98 and above
Indeed it does.(and so it begins)

- -
It might be better if the grab thingy was moved leftwards so that its edge coincided with the left of the MenuBar stack.
- -
A subtle difference, but:
1. Stops that 1 pixel white strip making things look odd.
2. Gives me a chance to fool myself that I am somehow contributing.
https://richmondmathewson.owlstown.net/
Who is online
Users browsing this forum: No registered users and 2 guests