Skip to main content
bretwoodh77667362
Participating Frequently
Jan 27, 2020 7:10 AM UTC
Answered

Stroke will not appear on object

I'm runinng Ilustrator CC 23.0.1, and my workflow involves bringing very large vector objects into Illustrator via an SVG from QGIS 2.18.24. Every once in a while, the object I bring in will not appear to have a stroke, but Illustrator will claim it does have one. No matter what I do to manipulate the stroke, including removing and re-adding, changing width, etc., has no effect. It remains without a stroke in appearance. I've ungrouped the path, simplified it, expanded it (when set to no stroke), and made sure it wasn't a compound path. I've restarted Illustrator. None of these things have an effect. However, if I expand it when I have a stroke width set, it will expand properly, showing the outline of the non-existant stroke.

 

There is one intriguing little exception - when there is an extremely sharp corner in the path, a bit of stroke will appear. Strangely the shape of this fragment of corner is not affected by changing the corner, end, or stroke alignment, though it seems like there should be some effect.

 

[EDIT: Apparently the strange bit that did have an outline was an isolated separate bit of stroke, not just a sharp corner.]

 

This has happened before, but I'm against a wall in this case - I don't have a good workflow option to get around it.

 

I'm assuming there is some property in the SVG that is interpreted strangely by Illustrator, and is leading to this bug.  I was wondering if it had something to do with the direction of the stroke, so I reversed that, but no effect there either.

 

I attached a screenshot showing relevant settings in a very zoomed-in section with the strange corner effect.

Doug A Roberts
Doug A RobertsCorrect answer
Community Expert
Feb 14, 2022 10:19 AM UTC

You're in Outline mode. Go to View > Preview (Ctrl + Y).

29 replies

Participant
Nov 10, 2026 10:35 AM UTC

hi im having the same problem with mine and i have tried it all and nothing is working :(

 

Translate
Abhishek Rao
Community Manager
Community Manager
Nov 10, 2026 10:49 AM UTC

Hi ​@precise_Serendipity979e,

 

Sorry to hear you're still having trouble with strokes not appearing in Illustrator.

Since you've already tried the suggestions in this thread, could you first select the affected object, open Window > Appearance, click the Stroke entry, and check that its opacity is set to 100% under Window > Transparency? 

You can also try Clear Appearance from the Appearance panel menu on a duplicate of the object, then reapply the stroke. This removes existing appearance attributes, so please preserve the original artwork. Ref: guide to editing appearance attributes.

If the issue persists, check whether you're in Outline mode and switch back to Preview. Also, check Window > Transparency for an unwanted opacity mask. Ref: opacity mask guide.

Could you also try drawing a new rectangle with a 2 pt black stroke in a blank Illustrator document?

If the stroke still doesn't appear, please share your Illustrator version, operating system, a screenshot of the Appearance and Transparency panels, and, if possible, a sample Illustrator file. Also, let us know whether the issue affects all objects or only imported SVG files.

 

Thanks!

Abhishek

Translate
Known Participant
Sep 27, 2022 2:41 PM UTC

I had the same problem. with your suggestion now it works!!!!   THANK YOU

 

Translate
jonnyharm
Participant
Oct 28, 2022 1:58 AM UTC

I have a similar problem with an svg file of a qr code created on a website. I open up the svg in Illustrator and the black on transparent qr code is defined as a path in the appearance panel. However, im unable to do anything with the piece and it looks and acts as if it is a raster piece. Unable to to expand appearance, unable to release compound path, unable to add a stroke, unable to apply any pathfinder function, uable to see individual anchors or path outlines, unable to image trace, AND unable to select any clippings mask option from the top menu. Clearing the appearnce made it disapear without any outlines. After tweaking out for sometime in frustration I opened the transparency panel and noticed a mask. I released the mask and problem solved! So lame! I would feel like a complete idiot had it not been for the fact that all the mask transparency settings were greyed out in the dropdown menus above with the exception of flatten transparency. I gave flatten transparency no mind during my troubleshoot becuase duh, it was an already flat blak and white single layer vector file with no effects etc (except for a redundant transparency mask, cheap qr generator sheesh). So frustrating. ^(* ̄(oo) ̄)^

Translate
Participant
Jan 23, 2023 5:52 PM UTC

HEY! After an exhaustive troubleshooting session (reinstalling and whatnot), I ended finding a solution. View>Pixel Preview. Viola!

Translate
Participant
Feb 14, 2022 10:10 AM UTC

I have the same issue. No matter what I do, I can't have a stroke on any of my shapes. I have tried everything mentioned here. Opacity of the stroke is 100% . Cleard the appearance and did it again too. Tried adding the effect of outline too. Nothing happens. 

 

Translate
DanaBinAZ
Participating Frequently
Mar 9, 2022 5:15 PM UTC

Same issue, checked all of the ideas above and nothing works!

Translate
Ton Frederiks
Community Expert
Community Expert
Mar 9, 2022 8:43 PM UTC

Can you share an Illustrator file that shows the problem?

CC filesharing, DropBox, Google, WeTransfer...

Translate
bretwoodh77667362
Participating Frequently
Jan 27, 2020 6:39 PM UTC

I found a solution! Fiddling with the appearance menu in an attempt to expand what it shows as suggested by Ton_Frederiks, I found that if I click "Clear Appearance" this removes whatever the offending attribute is.

 

So to lay it out for anyone who googles into this thread in the future:

  • Select the offending object.
  • Open the appearance menu (e.g. by going to Window -> Appearance)
  • Click the hamburger (little horizontal lines) at the upper right corner of the Appearance menu, and select "Clear Appearance."
  • Assign the stroke and other sytles - in my case the problem was fixed.
Translate
Ton Frederiks
Community Expert
Community Expert
Jan 27, 2020 9:02 PM UTC

I downloaded your file and it was what I suspected, your stroke had an opacity setting of 0%.

Translate
Grant H
Community Expert
Community Expert
Jan 27, 2020 8:52 AM UTC

Hi Bret, what does your appearance panel look like with it selected?

 

Translate
bretwoodh77667362
Participating Frequently
Jan 27, 2020 10:41 AM UTC

Looks normal - says there is a stroke:

Translate
Grant H
Community Expert
Community Expert
Jan 27, 2020 10:47 AM UTC

can you upload that ai file?

Translate