Bounty proposal: Paint
Pages: 1 ... 17 18 19 20 21 22 23 24 25 26 27
Andrew McCarthy (3688) 605 posts |
I bet that wasn’t very pleasant; ublock filters. I don’t disagree with some of the things you say. I prefer to refrain from comments that are perhaps, in some way, critical of someone else. If someone chooses to post here, great; if not, that’s also fine. |
Rick Murray (539) 13839 posts |
There are two icons. One is a sort of pipette and it allows you to choose an element to block. It’s a bit painful to use. Maybe better on a desktop machine?
The rest of the things I say…. I’ll help you light the barbecue. ;) My main point was it was hardly fair or reasonable to throw unrealistic tests at what is essentially an old OS to then poke holes in it for not coping with it. |
Andy S (2979) 504 posts |
If you are sensitive to feedback, don’t click the links! ;) I read a bit of it but like Rick I had issues with the ridiculous pop-ups telling me to create an account. I don’t have ublock on this browser at the moment and trying to fix the web page through the dev console to make it readable is painful. I don’t like social media anyway, so I stopped bothering and closed it. I mean, he’s complaining that a 64GB sprite is showing up as 196 bytes. Or that it’s acting up with a sprite with a dimension of 65,536. Hardly typical behaviour in the days when that stuff was written. As he noted, Photoshop used to have a smaller boundary… Yup. When I was doing the zoom code I noticed the geometry all becomes horribly unstable at very high zoom ratios (going from memory here) and decided it was probably a fundamental limitation of using 32-bit integer maths. However, I am quite fond of the fixed point maths and some of the code is quite ingenious. It’s part of the character of RISC OS. The original code also has very little validation of user inputs or sanity checks on function arguments. I’m sure a huge part of that is that it was all written from the philosophy of never doing anything you didn’t need to, in order to save every possible byte and every possible cycle, resulting in the nice performance, responsiveness and compactness of RISC OS that continues even to this day. :) Nemo presumably knows what a comparatively small community this is and that funds and moreover developer time are extremely limited. Talk of rewriting it all seems a bit pointless to me. The more of it you rewrite, the less you have of what makes our platform interesting, unique and memorable. He’s chosen to stick with it so he must be getting something out of it. Just my two pence. =) |
Andrew McCarthy (3688) 605 posts |
Let’s keep the thread commentary about Paint rather than about someone else and Paint. For me, it helps to create an inclusive place and forum. |
Andy S (2979) 504 posts |
Let’s keep the thread commentary about Paint rather than about someone else and Paint. For me, it helps to create an inclusive place and forum. I agree the above discussion probably doesn’t belong in the bounty thread. We should be inclusive, yes. I don’t think there’s anything wrong with discussing points raised in criticisms though. Perhaps I mentioned the person a few too many times in my response but I feel I was being rather gentle and not saying anything unfair. |
Rick Murray (539) 13839 posts |
Yup. Question is, though, is that a Paint problem (as you mention fixed point maths and 65K pixels sounds like something that an integer split into two 16 bit halves might fall foul of) or is it something in the underlying OS code? Perhaps the simplest “fix” is to trap and refuse to edit sprites of that size. After all, is Paint really the right tool for fiddling with a bitmap with any dimension over sixty four thousand pixels? |
Chris Mahoney (1684) 2165 posts |
You may find Nitter useful, e.g. https://nitter.net/nemo20000. |
Steve Pampling (1551) 8170 posts |
I simply must pass on the name to the rest of my family. Now I discover Nitter Net actually exists these days 1 Hey, what passes for humour round this house had to come from somewhere |
edwardx (1628) 37 posts |
It’s good to see more progress on Paint. I’m afraid there are problems with the change to add editable DPI however. There are two important differences between sprites that use a numbered mode and new format sprites. Firstly, only sprites that use a numbered mode are allowed to have left-hand wastage. Before changing from a numbered mode you should use SpriteOp 54 to remove left-hand wastage. Currently, if you take a mode 28 sprite with left-hand wastage, change it to 180 dpi, and save it, then Paint will refuse to load the resulting file. Secondly, for sprites that use a numbered mode the mask has the same BPP as the image, whereas new format sprites have 1 BPP masks. The current version of Paint doesn’t stretch/squash the mask as necessary. I’ve also noticed that changing DPI disables alpha channels, and it turned a CMYK sprite into a 16M colour sprite. |
Andy S (2979) 504 posts |
I’m afraid there are problems with the change to add editable DPI however. Well spotted. Thanks for your extensive testing Edward. |
Rick Murray (539) 13839 posts |
Row/Column insertion/deletion is broken. Haven’t needed it for a while, but now… ;) Okay, test case 1: Test case 2: Latest version of Paint in latest ROM. Don’t know how long it’s been like that. Test case 3: BTW, thank you so much for the PNG export function. I can make images for my blog using RISC OS… 1 Shouldn’t that say “Create” instead of “OK”? |
Stuart Painting (5389) 714 posts |
This is actually two separate bugs. First bug: When editing a low colour depth sprite (e.g. 256 colours), Paint swallows the first “delete columns” mouse click. Not present in RISC OS 5.24, present in RISC OS 5.28 (Oct 2020). I’ll try and narrow this one down further. Second bug: On the second (and subsequent) attempts to delete columns by mouse click, Paint performs the currently-selected toolbox action (e.g. set colour) instead of deleting the selection. This was first seen in Paint 2.52 (04 Feb 2023) – it was not present in Paint 2.51 (21 Jan 2023). |
Stuart Painting (5389) 714 posts |
I’ve narrowed down the first bug (“Paint swallows first mouse click when deleting columns”) to somewhere between Paint 2.25 (17 Aug 2019) and Paint 2.28 (26 Sep 2019). I don’t have any intermediate IOMD ROMs so that’s as close as I can get at the moment. |
Steve Pampling (1551) 8170 posts |
My records only show 2019-08-20, 2019-08-23, 2019-08-26, 2019-08-31, 2019-09-13,2019-09-22,2019-09-23 as intermediates. |
Stuart Painting (5389) 714 posts |
After digging out my archive of Pi ROMs, I can now state that the bug first appeared in Paint 2.27 (22 Sep 2019) – it was not present in Paint 2.26 (25 Aug 2019). |
nemo (145) 2545 posts |
Just to clarify some Twitter-caused misunderstandings above:
Neither of those claims are true. I didn’t complain about either thing. In fact I was boasting that Paint was coping absolutely fine with an utterly massive sprite with gargantuan proportions that would have been 64GB if it were a typical uncompressed bitimage. But it wasn’t an uncompressed bitimage due to the very clever trickery enabled by my There are many criticisms that can be made of Paint, so there’s no need to make up new ones. The biggest problem with Paint is that instead of using the defined SpriteOp to read the presence and size of the Palette, it uses its own heuristic which was always wrong (technically) but is now anachronistically incompatible (especially in the presence of MetaSprite). That really must be fixed. It became wrong with the release of RO3. |
Rick Murray (539) 13839 posts |
Situation normal then?
Still waiting for the horribly broken file loading to be reverted back to sanity after being broken somewhere along the way.
Rinse and repeat. |
nemo (145) 2545 posts |
<orwell>Imagine a boot stamping on a human face — forever</orwell> |
Pages: 1 ... 17 18 19 20 21 22 23 24 25 26 27