Help Using Inkscape => Inkscape Beginners' Questions => Topic started by: dwaltuga on October 19, 2016, 07:31:30 AM
Title: stroke paint and fill paint are not working properly
Post by: dwaltuga on October 19, 2016, 07:31:30 AM
I am trying to adjust the stroke color of lines and shapes. I can easily adjust stroke style (e.g., change width and dashes), but the stroke paint is not working properly. When I try and adjust stroke color (of lines or shapes), it changes the fill color (even when I select the "x" (no paint) on the fill screen and the blue square on the stroke paint dialog box). Perhaps I have something weird toggled. I have closed inkscape and rebooted my computer, but I still have the same problem. I have worked with inkscape a reasonable amount, and have not encountered this problem in the past.
Title: Re: stroke paint and fill paint are not working properly
Post by: brynn on October 19, 2016, 09:53:08 AM
Welcome to the forum!
Interesting.....I'm not sure what might be happening, but I'm sure we can figure it out.
First, could you share the SVG file where this is happening? That's just in case the problem is somehow with that file, then we can examine the file. If you can't share the file, would you please make a screenshot showing the whole entire window?
Have you noticed this happening in a new blank file? Is it happening in all files or just certain ones?
I see you're using Windows. And which version of Inkscape are you using?
Title: Re: stroke paint and fill paint are not working properly
Post by: dwaltuga on October 19, 2016, 10:21:20 AM
Hi Brinn. Thanks for getting back to me. .SVG file attached. This just started yesterday, but is now happening with all of my files. Since my first post, I've figured out that I can change line color using the RGB, Wheel, applications in the stroke paint menu, but I still can not use the color pallet along the bottom of the screen, even if fill is "none" and stroke is selected.
Title: Re: stroke paint and fill paint are not working properly
Post by: brynn on October 19, 2016, 10:56:12 AM
Hhmm, I'm not having any problem with your file. But I might not be looking at the right object. Which particular object have you seen the problem with? Also, which version of Inkscape?
Edit Also, please tell me exactly what your steps are. Which tool, which button, which keys, etc.
Title: Re: stroke paint and fill paint are not working properly
Post by: Lazur on October 19, 2016, 01:04:57 PM
Hi.
By the current svg specs inkscape is based upon the stroke is rendered atop on the fill. You had set strokes with alpha values here and there, that makes the fill show through. Probably you missed that.
Title: Re: stroke paint and fill paint are not working properly
Post by: dwaltuga on October 19, 2016, 03:43:36 PM
Brinn,
See this attached file with just a couple of shapes to use an examples.
Red rectangle. I am trying to use the bottom swatch pallet of colors to change the stroke color of the box outline. Currently, this is a red dashed line.
Using the stroke and fill box, I select: 1) fill = x (no paint) 2) stroke paint = flat color 3) when rectangle is selected, I select the black color at the far left of the color pallet on the bottom of the screen. This fills the rectangle with black fill rather than changing the stroke color of the outline of the rectangle. I can change that outline color, but only by using the wheel, rgb, etc. features in the filla nd stroke dialog box.
I also include a straight line and curved line as example shapes. I can not change their line color either using the bottom color pallet.
Thanks. And thanks to Lazur for his comments.
Title: Re: stroke paint and fill paint are not working properly
Post by: brynn on October 19, 2016, 09:14:16 PM
Aaahh....ok.
By your description, the problem is that you need to hold the Shift key, to change the stroke via the palette.
But Lazur is right that there is something funky with the opacity. In the Fill and Stroke dialog, the Opacity as well as Alpha values are fully opaque. But the Style Indicator shows fully transparent (zero Opacity). I'm not sure how that's happening, but everything in the file is like that!
It's not the layer opacity, I checked that. Huhmm....well it's something about the file, because as soon as I change the Opacity in the style indicator to 100% for one object, now they all show 100%. And it's not undoable -- I can't make the Opacity go back to zero by undoing -- only if I close and re-open the file.
Strange!
But you can solve your problem by just using the Shift key, if you want to change the stroke via the palette. :)
Title: Re: stroke paint and fill paint are not working properly
Post by: Lazur on October 19, 2016, 10:31:57 PM
But the Style Indicator shows fully transparent (zero Opacity).
That is a bug in 0.91, probably fixed in 0.92.
Title: Re: stroke paint and fill paint are not working properly
Post by: dwaltuga on October 20, 2016, 06:58:20 AM
Brynn and Lazur,
Thanks for your help. I can work with this now. And based on Lazur's last comment, I should go ahead and upgrade to v.0.92.
Thanks again.
Title: Re: stroke paint and fill paint are not working properly
Post by: Lazur on October 20, 2016, 11:51:32 AM
0.92 is not available yet and it won't solve your problem. The issue Brynn mentioned is unrelated to the fills showing through the semi-transparent strokes (nor has it an effect on the drawing). With 0.92 you will get the same issue -if you don't set back the alpha value to 255 it won't be any better.
The svg 2.0 specification will have the option and inkscape will implement chosing between the strokes to appear on top or at the bottom. Still, if you superimpose the objects with semitransparent storkes on different fills it will alter the look in a probably unwanted way.
Title: Re: stroke paint and fill paint are not working properly
Post by: brynn on October 20, 2016, 11:27:31 PM
0.92pre2beta, if you're interested: http://forum.inkscapecommunity.com/index.php?topic=347.msg2987#msg2987 But the stable 0.92 should be released pretty soon.
Now that I think about it, I think I might havea come across that bug before. Glad to hear it's fixed!
I didn't see any partially transparent strokes in your file. But it's a relatively complex file, and I probably just wasn't looking at the same thing Lazur looked at. That's why I asked you to show me specific objects.
The solution to your problem is using Shift key when you click on the palette, to apply a stroke (or change the color). Lazur happened to discover something else, which could be adding to your confusion. And I know how confusing it can be, with partially transparent strokes. Sometimes it looks for all the world like you have a whole different colored, separate stroke -- and you're like - where did that come from?! Or you know you set a certain color, and it's not showing up!
Were you using transparency on purpose? Inkscape has an annoying default behavior, which one of these days, I'm going to get up enough courage to ask developers to change (fix, imo). Here's a short tutorial/article I wrote to help newbies understand, and have more control: http://forum.inkscapecommunity.com/index.php?action=articles;sa=view;article=18
Or if you are trying to achieve some particular effect, we might be able to suggest ways to do it. Please feel free to describe it or show us an example.
Title: Re: stroke paint and fill paint are not working properly
Post by: dwaltuga on October 21, 2016, 03:47:24 PM
A few days ago I've mentioned a bug related to copy/pasting gradients over the live chat and now it is fixed thank's to MC and it will be included in 0.92.
Title: Re: stroke paint and fill paint are not working properly
Post by: Moini on November 05, 2016, 09:47:20 AM
The 'opacity is always showing up as 0 at first' bug cannot(? at least: won't) be fixed in 0.92, as a fix depends upon gtk3, and that will only be used in 0.93. There, it works correctly. Just like the dialogs that won't open currently when they are minimized...