Skip to main content
Solved

🚨 Variables: Deleted collections and modes don't disappear


Show first post

61 replies

Schaefer_Christian_SGRE_TE_PPS

hi, this is still a serious issue … how am i supposed to work professionally with this?!
please asap implement the following options for variable collection updates:

in the importing file

  • option β€˜delete all variable sets’ (at ones own risk)

  • option 'delete all orphaned / unused sets (and really make it work! this seems to be one of the main issues here, that even though there are no links any more to variables, their sets still appear as an option

  • update options for variable set imports:

  1. β€˜overwrite all variables’; note that this implies logically that there may be some orphaned assignments after the update, in case there were tokens deleted that have been in the last update

  2. β€˜rename variables’: this may be a bit tricky with the linkage (how do you know that semantic/primary/button/default is the same as semantic/primary/button/bg in the last update?); i guess here a detailed delta matrix would actually help where one can decide which variable became what … i know this is a lot to ask, but this problem just logically arises if you work professionally with this kind of stuff

  3. have an overview for all the listed token sets that are available in the UI and the option to brute force delete them!! sorry, but i do find it very disturbing that this is not possible – there is a REASON why they are still listed as options, and it is a total timehole to find out why and where. the only thing that can logically happen with this is that there are now some raw values again, where there had been β€˜unlinked’ variable values before … i think you get the point. but it would really help keep things sorted and cleaned up …

in case you have questions, please get back to me
christian.schaefer@siemensgamesa.com

thanks …


Mila_G
  • 6 replies
  • May 2, 2024

SAME ISSUE. I dont want to have tp permanentely delete design work just to free it from a variable used in an old library!


Ann_Beaver
  • New Member
  • 3 replies
  • May 23, 2024

Same same… Sometimes it actually works but if I bring in a component that is older and was made with previous variables that were replaced, it will still show all the previous collections.


EllisC
  • New Member
  • 3 replies
  • May 28, 2024

When will this be fixed? This has been causing our team issues for over half a year now…


  • 2 replies
  • May 30, 2024

This is happening for me as well now. It didn’t previously happen until today. I am so frustrated.


dvaliao
Figmate
  • Community Support
  • 4603 replies
  • May 30, 2024

Hey All, if Jake’s suggestion above doesn’t work, please ping him directly as mentioned above.

As a PM for variables, he’ll be your best best to continue troubleshooting.


  • 2 replies
  • June 3, 2024

I did this and still haven’t heard back πŸ˜•


iru
  • 1 reply
  • June 6, 2024

Hi there!

I sent an email two days ago and haven’t received a response yet. Just wanted to check in on it.

Thanks!


sedatcakir

Figma surprises me a lot. No effort is being made to solve this problem. 😒


I am also waiting for messages on this topic to solve the problem.


dvaliao
Figmate
  • Community Support
  • 4603 replies
  • June 13, 2024

Hey All, so sorry for the delayed reply!

Jake is likely busy with Config 2024 being less than two weeks away. I can confirm that this is now a long-standing bug that our team is aware of. They have eyes on this thread and will continue to log in order to consistently reproduce the issue and fix.

While we can’t guarantee when that will happen, if you’re able to share your files with us to add to our current bug report, please do so here: https://help.figma.com/hc/en-us/requests/new


XavierV
  • 26 replies
  • June 21, 2024

Same issue for me… hours on my files to try to detect where I left a wrong reference. I unpublished, republished, changed collections names.
Then I tryed all workaround possible but this is not working. Hopefully you will find a way to correct this issue. And also give us more tools to monitor variables and references.


PaulB007
  • 1 reply
  • June 21, 2024

I had the same issue. After a lot of searching I managed to track it down to an instance of a component where the original local component did not exist. The β€œDetach deleted variables” did not find find this. It would be nice to have a quick way to find and detach deleted components as well as variables.


Rashid_Al-Owaisheer

Facing this issue too, wouldn’t mind sharing my files for debug. Have a complex design system setup and it’s nearly impossible to track down all the loose variables.


sedatcakir

Hi guys! πŸ‘‹

I have happy news for you. πŸ₯° Friends, I found how to solve the problem.

First, we use the β€œSelect Layers” plug-in and the β€œDetach Variables” plug-in to delete the variables that do not exist in our file. With this plug-in, we use the β€œdetach variable” plug-in by automatically selecting the instance layers, components and frames. (When using this plug-in, you must apply it to all pages in the file.)

Then, we follow the same path and this time we do β€œdetach deleted variables” with Figma spotlight. (again by selecting layers on all pages)

and bingo!

All variable relationships in your file will be removed. Then, using the β€œApply variables” plugin, we match the detached components in our file with our new variable collection.

I think I am quite an expert on the subject and I can help those who cannot do it in their processes.


Josh22
  • New Participant
  • 5 replies
  • July 11, 2024

Oh joy, my 1,000 bug in Figma I’ve come across in the last few years. I copy/paste a single icon from another file (detached as well) and now I have a theme cached that is NOT referenced anywhere in the file, including the single-layer icon with zero reference to the theme from the other file.

Maybe Figma should start outsourcing their bug fixes so they don’t sit in the backlog for years with no resolutions.


Nouela
  • New Participant
  • 18 replies
  • September 4, 2024

This seems…insane. I’ve spent half the day exploring β€œwork-arounds” for ghost variables. Commenting to keep the thread alive.


Sofie_Katan1
  • New Member
  • 3 replies
  • September 12, 2024

Still have this issue as well!! Please fix Figma!
With the redesigned Figma changing the mode is also harder than it used to be, making it super problematic when a component sometimes take over an old mode. A mode that has been delete more than 1 year ago!!!


dvaliao
Figmate
  • Community Support
  • 4603 replies
  • Answer
  • September 12, 2024

Hey All, sorry for the continued frustration!

As already mentioned above, our team needs your specific files where this is occurring to allow them to repro and work on the fix.

If you have’t already, you can submit a bug report to our support team directly via the form here: https://help.figma.com/hc/en-us/requests/new?ticket_form_id=360001744374

Be sure to use your Figma account email, include a link to the file(s) where this is occurring, and share edit access with support-share@figma.com.


Thu_Suong
  • 1 reply
  • September 22, 2024

After I updated Figma, it was really hard to use. I deleted all variants but when I select an object and change color, it shows all the variants I deleted even though I filtered by local variant. Would love for Figma to improve the ux better. Terrible experience


Nouela
  • New Participant
  • 18 replies
  • September 23, 2024

How is that a solution to this problem?


dvaliao
Figmate
  • Community Support
  • 4603 replies
  • September 24, 2024

Sorry for the confusion, @Nouela.

Of course it’s not the solution. But it’s a way for the community team here to pin our acknowledgement of the issue to the top of the topic, so that users know what to provide and where to send it in order for our team to continue to work on the fix, instead of simply saying that we need to fix the issue.

If we don’t have example files, we’re not able to reproduce the issue consistently, which is the only way to pin point how to fix it.


Dasha_Jakobson

Hi! Any chance you can record a video of your process? I have a complex component with nested elements and I’m not sure if I am using the Select Layers plug-in correctly to select everything. Much appreciated! Thank you.


Spriggs_Jennifer

This is also happening for me β€” did anyone find a workaround or a fix for this yet? I sent in an issue through the form but it is frustrating. Happy to send the example file your way as well to debug.


shams2
  • 5 replies
  • October 16, 2024

I’ve encountered an issue with variables in my Figma library. I deleted several variables from the library, but when I published the library and updated my design file, the deleted variables were not removed. They still occupy space in the workspace.

When I return to the library and publish changes again, I notice that while components are updated correctly, the variables remain unchanged and are not deleted even after multiple publishing attempts.

This affects my workflow, as I can’t fully remove unused variables. Any guidance on resolving this would be greatly appreciated.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings