Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-06-2023, 12:42 AM
pisacou pisacou is offline Color and style of custom shape changed upon use Windows 10 Color and style of custom shape changed upon use Office 2021
Novice
Color and style of custom shape changed upon use
 
Join Date: Sep 2023
Posts: 2
pisacou is on a distinguished road
Default Color and style of custom shape changed upon use


Hello,
I am using Visio Professional in Office 365 and have an issue when using custom shapes. When I drag the shapes into a new document, the line color and style sometimes changes. E. g. a custom polygon shape with a custom dark green outline gets a black outline after it has been dragged into a new document. When I edit the master shape and set the color and style of the outline of the master shape explicitly, the problem goes away, and the custom shape keeps the correct color when dragged in a new document, until I reload the stencil with the custom shape. The stencil was saved before the reload.
What works (of course) is when I drag a custom shape in a document, select the shape with the wrong black outline color, and change the outline color to the greenish color of the original master shape. However, that only works when all lines in a custom shape have the same color and weight, and what I will need in the very near future are more complex custom shapes with different line colors, styles.
Is there a reliable way to to keep all colors and styles of a custom shape after it has been dragged into a document? What am I doing wrong?
Reply With Quote
  #2  
Old 09-07-2023, 06:20 PM
Guessed's Avatar
Guessed Guessed is offline Color and style of custom shape changed upon use Windows 10 Color and style of custom shape changed upon use Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

The behaviour you are seeing is due to the fact that your shape is getting some of its formatting attributes from the applied design theme and variant.

You can block the effect of themes by applying protection settings to the shape. If you are showing your Developer Tab you can select the shape and click on the Protection Button and tick the theme options.
Attached Images
File Type: png 2023-09-08_11-18-36.png (72.9 KB, 4 views)
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #3  
Old 09-12-2023, 10:53 PM
pisacou pisacou is offline Color and style of custom shape changed upon use Windows 10 Color and style of custom shape changed upon use Office 2021
Novice
Color and style of custom shape changed upon use
 
Join Date: Sep 2023
Posts: 2
pisacou is on a distinguished road
Default

Hi Guessed, thank you for your answer.
While the protection features is useful on its own right, it did not solve the issue.
When I drag a protected custom shape in my document, its properties are still changed, but with protection active, I cannot change the protected properties manually.
I have made an additional observation: when I drag the shape in the document (it represents a valve, so I will call it "valve shape"), select and copy it, then create a new custom shape, edit that, and select paste, the valve shape appears with the correct colors.
That looks like as if the document applies some kind of default settings to shapes that are copied from the ciipboard or dragged from a stencil. I will look into "default formats of a document" closer.
Reply With Quote
  #4  
Old 09-12-2023, 11:56 PM
Guessed's Avatar
Guessed Guessed is offline Color and style of custom shape changed upon use Windows 10 Color and style of custom shape changed upon use Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Can you post a file that contains your valve shape? We can probably change the shapesheet to protect it from changes.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply

Tags
custom shapes, line color, line style



Similar Threads
Thread Thread Starter Forum Replies Last Post
Color and style of custom shape changed upon use Removing microsoft build-in style names - display of style names in styles gallery changed Firebody Word 8 03-06-2022 08:22 AM
Custom Style Sets Stopped Working on Custom Template after Recent Microsoft Update CynthiaKPollard Word 6 12-20-2021 08:37 PM
Defined Style has changed to a default Last Chance Word 3 07-05-2021 08:07 AM
Color and style of custom shape changed upon use I created a custom XML color scheme. How do I add that to the Built-in Color? Cassik PowerPoint 5 11-04-2013 02:08 PM
color change for same shape ajkiran PowerPoint 1 11-10-2012 07:41 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:08 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft