blipk / Customised-Workspaces

Customised Isolated Workspaces - Gnome-Shell Extension
Other
68 stars 6 forks source link

Unable to create new environment [Bug] #24

Closed phillw closed 3 years ago

phillw commented 3 years ago

Unable to select Done on "Please enter name for new custom workspace"

To Reproduce Steps to reproduce the behavior:

  1. Select "New Enviroment"
  2. Enter name
  3. Unable to select Done, able to select Cancel

debug.log Screenshot from 2021-11-04 15-59-39

blipk commented 3 years ago

Thanks @phillw

Can you check if you have a ~/.config/worksets@blipk.xyz/session.json file and share that too if you do.

Looks like it either doesn't exist or is corrupted, this should be handled in the extension though.

After sharing it, you can try deleting it and restarting the extension and that should fix it, I'd like to see to prevent this in the future though.

phillw commented 3 years ago

session.txt

blipk commented 3 years ago

Hi @phillw Did you rename that? It should be .json Does deleting it and restarting the extension fix the issue?

What version of the extension are you using? It doesn't look right, there should be a Worksets: [] subobject that should have been generated on first run.

Disable the extension, delete session.json, then enable the extension. You should be fine after that.

phillw commented 3 years ago

Yes renamed it to upload. Installed version from gnome extensions & git - same error.

blipk commented 3 years ago

Disable the extension, delete session.json, then enable the extension. You should be fine after that.

Reinstalling the extension won't delete the configuration and debug files. Please try this and report.

blipk commented 3 years ago

Thanks @phillw I assume that fixed your issue. Not sure how it got broken, will look into rebuilding the session on those errors in the future. Will close this issue, but feel free to comment and tag me if it still persists.

phillw commented 3 years ago

Yes this fixed it thank you.

Based on the screenshots in readme I think I am missing window management features - I have not actually used this plugin on lower versions of gnome, however, I don't think it is functioning as intended. I make an environment, the windows do not save/reload when activating the environment.