Author Topic: stroke paint and fill paint are not working properly  (Read 7852 times)

October 19, 2016, 07:31:30 AM
Read 7852 times

dwaltuga

  • Sr. Newbie

  • Offline
  • **

  • 5
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.

October 19, 2016, 09:53:08 AM
Reply #1

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
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?

  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

October 19, 2016, 10:21:20 AM
Reply #2

dwaltuga

  • Sr. Newbie

  • Offline
  • **

  • 5
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. 

October 19, 2016, 10:56:12 AM
Reply #3

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
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.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

October 19, 2016, 01:04:57 PM
Reply #4

Lazur

  • IC Mentor

  • Offline
  • ******
  • Inkscape Filters Wizard

  • 1,154
  • Gender
    Male

    Male
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.

October 19, 2016, 03:43:36 PM
Reply #5

dwaltuga

  • Sr. Newbie

  • Offline
  • **

  • 5
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.

October 19, 2016, 09:14:16 PM
Reply #6

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
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.  :)
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

October 19, 2016, 10:31:57 PM
Reply #7

Lazur

  • IC Mentor

  • Offline
  • ******
  • Inkscape Filters Wizard

  • 1,154
  • Gender
    Male

    Male
But the Style Indicator shows fully transparent (zero Opacity).

That is a bug in 0.91, probably fixed in 0.92.
« Last Edit: October 20, 2016, 08:38:03 AM by Lazur »

October 20, 2016, 06:58:20 AM
Reply #8

dwaltuga

  • Sr. Newbie

  • Offline
  • **

  • 5
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.


October 20, 2016, 11:51:32 AM
Reply #9

Lazur

  • IC Mentor

  • Offline
  • ******
  • Inkscape Filters Wizard

  • 1,154
  • Gender
    Male

    Male
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.

October 20, 2016, 11:27:31 PM
Reply #10

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
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.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

October 21, 2016, 03:47:24 PM
Reply #11

dwaltuga

  • Sr. Newbie

  • Offline
  • **

  • 5
http://forum.inkscapecommunity.com/Smileys/IC_Smileys/anthank1.gif :ty1:

Thanks Brynn and Lazur.  That was very helpful and I've now completed the project that had me stumped!


October 21, 2016, 04:57:28 PM
Reply #12

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

October 23, 2016, 08:45:19 AM
Reply #13

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Fyi, Lazur.  I just installed 0.92pre2(beta) in case I might try and make a submission for the About Screen Contest.  I see this bug is still there  :(

(plus I found a new one, maybe 2) (for some reason bugs just love me  :uhoh:  )
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

October 23, 2016, 11:41:26 AM
Reply #14

Lazur

  • IC Mentor

  • Offline
  • ******
  • Inkscape Filters Wizard

  • 1,154
  • Gender
    Male

    Male
Well they at least know about it...

Off-Topic: show
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.

November 05, 2016, 09:47:20 AM
Reply #15

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
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...