What about ArtPaint?

Yeah, i saw it - that’s not related to this particular commit and would’ve been part of an earlier commit. It seems like BCardLayout is unable to resolve between an integer and a BLayoutItem pointer on 32-bit ?

I can try casting the value to a long int to see if that fixes it.

I’ll leave that up to you :slight_smile:
PS, failure is the same on a HaikuArchives clone or the one from your repository.

it would be the same; the code change to use BCardLayout was merged a little while ago. I have been working only on x86_64 so I will try to get an x86 VM going. Thanks for trying!

1 Like

Posted a PR with a fix. Thanks for reporting; I see kenmays also reported it earlier.

3 Likes

Confirmed build fix and the artifacts are gone :ok_hand:

3 Likes

I’m pleased to announce that ArtPaint 2.2.0 has been released! (thanks @humdinger ! )

Fixes include:

  • Eliminated drawing artifacts for line, rectangle, and ellipse tools
  • Mostly converted to Layout API and fix various GUI issues
  • Migrated application to Locale kit (so we can get some translations on Polyglot now)
  • Added translations: Dutch (thanks @Begasus !), Spanish (thanks @twse !)
  • Anti-Dither add-on: use spinner widget
  • Blur add-on: react to changes live
  • Fill tool: Fix gradient rendering in tool setup window
  • Open dragged/dropped images and projects
  • Fixed black canvas

Definitely more work to do but it’s usable again, so go paint some happy trees!

However, don’t insult the art world with a terrible picture like this:

32 Likes

A little question about locale files: They all have the same first line:
English application/x-vnd.artpaint 4115818462
I thought that first word was the name of the language provided by the locale file, I. e French application/x-vnd.artpaint 4115818462 for the fr. catkey file…

The language name isn’t used by the system, so it doesn’t really matter. Once the project is hosted at Polyglot, it’ll be exported with the correct language designation.

1 Like

ArtPaint is now available on Polyglot, thanks @humdinger !

2 Likes

People shouldn’t be discouraged by the many ‘sub projects’ of ArtPaint at Polyglot. Those are all addons with very few strings. … :smiley:

4 Likes

Because someone might want to use a 27 inch monochrome crt with their 32 core 6 ghz server rack

1 Like

ArtPaint 2.3.0 is here!

What’s new? Some of the highlights include a lot of work on alpha and transparency, a whole bunch of UI polish and bug fixes, and new translations to Turkish, Portugese, and Catalan as well as updated French, Dutch, and German (thanks to all the translators!). @humdinger also reworked the entire user manual - it’s awesome!

I didn’t have a chance to paint a new “masterpiece,” but here’s a pic showing the transparency:

The release notes are here:

  • Fixed drawing with transparency
  • Fixed drawing of text
  • Added adjustable checkered background for transparency
  • Interference add-on: added controls
  • Color reducer add-on: fix crash of GLA mode
  • Brush tool: new/improved controls
  • Airbrush tool: Fixed spray mode
  • Save/Restore Tools window icon arrangement
  • Fixed save/restore floating window settings
  • Move appropriate menu items to new “ArtPaint” menu
  • General bug fixing (memory leaks etc.)
  • GUI/Layout polishing
  • Improved/updated localization
  • Added/Updated translations: ca de en_GB fr nl pt tr
  • Added ArtPaint project file icon
  • New user manual

Please give it a try and file any bugs or feature requests at Github!

30 Likes

Great work! (thought I had most covered in the translation before humdinger mentioned it :slight_smile: )
Need to do a new check to see if most translations are correct for Dutch. Thanks @dsizzle and @humdinger !

1 Like

There were quite a bit of minor GUI string changes and additions. The original translations quickly got out-of-date; we even had to remove Finnish, Spanish and Swedish because they were too incomplete.
They’ll be added back once someone finishes their translation.

1 Like

I am unable to build 2.3.0, 2.2.0 builds just fine.

On 32bit you need to first do a setarch x86.

Did that. Getting an error still:

artpaint/paintwindow/PaintWindow.cpp: In static member function 'static int32 PaintWindow::_AddAddOnsToMenu(void*)':
artpaint/paintwindow/PaintWindow.cpp:1434:35: error: missing template arguments before '(' token
         manip_map.insert(std::pair(BString(manipulator->ReturnName()), *it));
                                   ^
/boot/system/develop/etc/makefile-engine:300: recipe for target 'objects.x86-cc8-release/PaintWindow.o' failed
make: *** [objects.x86-cc8-release/PaintWindow.o] Error 1

Interesting. I will fix that tonight. Wonder why it’s only erroring in some builds.

It did build for me on a relatively current 32bit nightly Haiku with gcc11, as well as on the 32bit haikuports buildbot.
dsizzle fixed the potential issue anyway, so you could pull that change and try again.

1 Like

Now Swedish are up to date in ArtPaint. infact all of the apps in Polyglot now have Swedish :slight_smile:

6 Likes