Page 17 of 19

Posted: Thu 17 Mar 2016, 17:21
by don570
I updated various packages to version 3.45.01

This includes Ubuntu Lucid and Ubuntu Tahr
which can be found in mtpaint-debian-3.45.01.tgz
Uncompress and follow instructions inside folder.

I found one unusual thing with Ubuntu Tahr
-----> only one script will show in menu
Image

Posted: Thu 17 Mar 2016, 18:53
by wjaguar
don570 wrote:I found one unusual thing with Ubuntu Tahr
-----> only one script will show in menu
The list of scripts in fact sits in the upper pane of a paned widget; above the "Action" box there should be a handle. Is it still there? If it is, can you drag it down, and what happens when you do?
Another thing. Can you disable the theme engine (whatever it is) and test what happens on pure unpolluted GTK+ (whatever version it is in there)?
Third thing. Does Tahrpup exhibit the same problem?
Fourth thing. See what happens with the attached patch (it removes the paned widget).

P.S.: On reflection, likeliest cause: "overlay-scrollbar-gtk2" strikes again.
Try running "LIBOVERLAY_SCROLLBAR=0 ./mtpaint" - if it fixes the problem this time too, I'm putting the setting into main.c to end the silliness once and for all. I'm quite sick of this Ubuntu bug menagerie. :-(

Posted: Thu 17 Mar 2016, 22:07
by technosaurus
I noticed that the version number hit 3.45.01 ... Does the 45 indicate that the "V" code interface has stabilized enough to add other GUI toolkit support?

Posted: Thu 17 Mar 2016, 22:26
by wjaguar
technosaurus wrote:I noticed that the version number hit 3.45.01 ... Does the 45 indicate that the "V" code interface has stabilized enough to add other GUI toolkit support?
It is 3.49.01. :-)
But actually yes; everything that should have been moved into vcode.c, now is, and core logic has lived without rearrangement through a number of versions. Now will be the most interesting part; documenting the whole shebang. ;-)

Posted: Thu 17 Mar 2016, 23:35
by don570
Good news! The patch works in Ubuntu tahr!!
I put the patched version in the debian archive package.
mtpaint-debian-3.45.01.tar.gz

___________________________________
Puppy tahr doesn't need the patch.

I'll fix the version number during the weekend.

______________________________________

version 3.49.02
* Background layer now can use transparency like any other layer
* Background layer position now can be changed via Ctrl+arrows or layers window spinbuttons, like any other layer
* Lasso tool can be configured to shrink selection based on the selection channel - right click the tool icon
+ * Clone tool is now continuous
* Clone tool can be configured to work in unaligned mode - right click the tool icon
* Ctrl+Left click now positions clone source when using clone tool
* Ctrl+Right click now deletes last point when making polygonal selection (from a closed polygon, deletes the point nearest to cursor)

Posted: Thu 17 Mar 2016, 23:47
by don570
To test Ubuntu Tahr without burning a CD.
you need to install Ubuntu Tahr to your hard drive.
Here are my instructions...
http://www.murga-linux.com/puppy/viewto ... 948#795948

____________________________________

Posted: Fri 18 Mar 2016, 00:03
by wjaguar
don570 wrote:To test Ubuntu Tahr without burning a CD.
you need to install Ubuntu Tahr to your hard drive.
Given that Tahrpup is OK again, easier to just turn the buggy eyecandy off and be done with it.

Posted: Fri 18 Mar 2016, 00:35
by don570
Tahr pup was always okay. The patch doesn't affect it.

It's Ubuntu Tahr that needs the patch.

If I had a internet connection I would download
Raspberry pi Jessie to test because I read that
it uses gtk3

__________________________

Posted: Fri 18 Mar 2016, 00:40
by linuxcbon
Hi wjaguar ,
can mtpaint edit "ico" files ? I tried, didn't work "unable to load file".
Can it be added ?
Thanks

Posted: Fri 18 Mar 2016, 01:43
by wjaguar
linuxcbon wrote:can mtpaint edit "ico" files ?
Not at the moment.
Can it be added ?
Yes, but it would be quite halfbaked without sizable changes to the engine.
See, the ICO format is multipage like TIFF - and while mtPaint can read such (into layers), it has no infrastructure to write them back except as single pages.
The infrastructure for handling image sequences was planned for version 4.00 - which hadn't happened.

Posted: Fri 18 Mar 2016, 08:46
by wjaguar
don570 wrote:Tahr pup was always okay. The patch doesn't affect it.
It's Ubuntu Tahr that needs the patch.
Precisely. And the difference between the two is: Ubuntu inserted into GTK+2 a shitty module for perverting scrollbars, and Tahrpup left the module out.
Raspberry pi Jessie to test because I read that
it uses gtk3
GTK+3 is irrelevant.

Posted: Sat 19 Mar 2016, 20:32
by don570
updated to version 3.49.02

Posted: Tue 22 Mar 2016, 00:27
by don570
wjaguar Version 3.49.03

Fixed [ ] keys for next/prev color
Fixed compilation on Windows
Disabled liboverlay-scrollbars-gtk2 to get rid of glitches on Ubuntu

Posted: Wed 23 Mar 2016, 00:25
by don570
version 3.49.03 is available in first post

_________________________________

I also made a fatdog 64 bit version

mtpaint-fatdog-3.49.03-x86_64-PET.txz

___________________________________

Posted: Tue 29 Mar 2016, 16:40
by don570
version 3.49.04
Added option for gamma-corrected alpha blending
Made *_row() and render_layers() parallelizable
Switched simple luminance formulae to integer math
Fixed "Transform colour" sometimes losing original palette (since 3.44.81)

Posted: Wed 30 Mar 2016, 19:05
by don570
Updated to version 3.49.04 :lol:

I noticed the following. I'm not sure if it's a bug or feature???

Steps:

1) open a gif
2) make an alpha channel with several levels of alpha
3) put the result in a clipboard
4) paste in a gif ----> only the highest level of alpha will paste in the window

5) paste in a 24 bit rgb image and all levels of alpha in the clipboard is
respected

I assume this is the regular behaviour of the gif format because only one color
is chosen to be transparent

Posted: Thu 31 Mar 2016, 06:35
by wjaguar
don570 wrote:I assume this is the regular behaviour of the gif format because only one color is chosen to be transparent
All indexed images support only on-off transparency. Because alpha mixing would produce colors not existing within their palette.

Posted: Thu 31 Mar 2016, 20:49
by don570
Updated to version 3.49.06. Working well 8)

_________________________________________
All indexed images support only on-off transparency
Does the PNG image format support on/off transparency as well
as an alpha layer (0 to 255 levels)?

_________________________________________________

Posted: Thu 31 Mar 2016, 21:36
by wjaguar
don570 wrote:Does the PNG image format support on/off transparency as well as an alpha layer (0 to 255 levels)?
Transparency in PNGs is a complicated story.
https://www.w3.org/TR/PNG/#11tRNS
https://www.w3.org/TR/PNG/#6Colour-values
Basically, the format was designed by control freaks, and combining color-key transparency with alpha is forbidden "because reasons". Same as combining alpha with indexed color (!).
mtPaint works around the latter limitation by writing its own chunk type, like for the other two utility channels. But the former one is just not worth the hassle; color-key is virtually never used with RGBA, and with indexed+alpha the problem does not arise.

But as image formats go, the only one where standard allows indexed+alpha is TIFF - and even there, not all readers honor it (GIMP does, however).

Posted: Tue 05 Apr 2016, 22:37
by don570
version 3.49.07 available at first post. Works well.
I'm using it with fatdog arm distro. 8)
_______________________________________