yuanzhoucq / Tab-Space

A Safari extension born for improving your web browsing productivity.
https://mytab.space
101 stars 14 forks source link

[BUG] macOS 11 Incompatibility #34

Closed noblesoul7 closed 4 years ago

noblesoul7 commented 4 years ago

Tab Space does not function in Safari on macOS 11 Big Sur, beta 1. Sometimes there's a hint of the corner of the menu, but otherwise its menu does not display at all.

I'm not sure if this is on your radar yet, but I'm excited to use it on the new macOS. :)

yuanzhoucq commented 4 years ago

Thanks for your feedbacks! I am very willing to fix this. But I have only one Mac and many other work to do with it. So I cannot upgrade it immediately.

I have ordered a new Mac (the Developer Transition Kit) which should have built-in macOS 11. So I will be able to fix this bug once I have it. Approximately the new Mac will arrive in two weeks. And sorry for this waiting period : (

yuanzhoucq commented 4 years ago

And for now I think the shortcuts should still work? For example, use Ctrl + T to open Tab Space? Note that it should be triggered within a normal web page when the address bar is not empty.

noblesoul7 commented 4 years ago

That was a great suggestion! It did open Tab Space. However, I cannot import my backup file. :( I can select it, but nothing changes in Tab Space. I was able to save a new tab with a shortcut though, so it seems like Tab Space is working.

What folders are Tab Space's files saved in? I want to try copying them from my old installation.

yuanzhoucq commented 4 years ago

However, I cannot import my backup file.

Wait, why would you need import it? Do you mean that you lost saved data after upgrading? 😳

noblesoul7 commented 4 years ago

Oh, no! I created a fresh installation of Big Sur, and wanted to import my tabs from my old installation.

yuanzhoucq commented 4 years ago

OK, that sounds much better to me : )

If you login the same Apple ID and enable iCloud, the sessions should be synced automatically.

And the importing function should work as well. But I also need to wait for the new Mac to confirm it.

noblesoul7 commented 4 years ago

Unfortunately, I also started using a new iCloud account! 😔

But I created another user account with my old iCloud, and yes, Tab Space does restore from iCloud, so I imagine most people are okay!

But importing the backup into my new account does not work. I also tried copying over the folders from ~/Library, but that method isn't working either. I will just have to be patient for your updates. :)

UPDATE 07/05/20: I partially got it to work on my new install / iCloud account…

I had to copy the files in this folder from my old account to my new User Library: ~/Library/Containers/cn.joyuer.Tab-Works.ext/Data/Library/Application Support/Tab-Works Extension

Since the Containers folder is hidden, it's easier to copy and paste that path in the Go to Folder… dialogue. However, the Containers folder is accessible when viewed from another user account (as long as you grant permissions to the folders therein).

However, after a few uses, the dashboard window went blank and lost all the tabs. Thankfully I saved the backup file, but I'm not sure how to get it up and running on this new account without Import working.

Screen Shot 2020-07-05 at 09 53 10
yuanzhoucq commented 4 years ago

Hi @noblesoul7

Sorry I just noticed your updates. These files you copied are controlled by iCloud automatically. So perhaps it won't be transferred to another account directly.

To get Tab Space up again, I suggest you to delete this Application Support/Tab-Works Extension folder edited manually and restart Safari.

I still have no idea why the importing doesn’t work. If there isn’t any sensitive information in your backup, could you please share it to me via email (joyuercn@icloud.com)? And I will be able to investigate the cause.

noblesoul7 commented 4 years ago

Thanks for the offer. But it appears to be working now on beta 2 via shortcuts! I'm not sure what was happening in beta 1, but import didn't seem to work.

I deleted Tab Space from two Macs with App Cleaner (to delete all the edited library files), reinstalled it, imported the backup file, and now Tab Space is working. It did eventually sync to another Mac, but I'm seeing that some newly saved tabs have not synched, so synching may be slow or have a different issue.

webrockers commented 4 years ago

Any news on that issue?

yuanzhoucq commented 4 years ago

@webrockers I contacted Apple team and they confirmed that this is a bug on their side and there would be a fix soon. So I waited for a month until now... 😢

If this bug persists and they could not fix it in a short time, I am considering simulating a menu using the popover window, which will be something like this:

image

yuanzhoucq commented 4 years ago

image

Finally I change a little the design and make it work on macOS Big Sur. In addition now you can append a session directly to an existing one. Will be available in a few days from Mac App Store. And any further suggestions are welcome : )

gingerbeardman commented 4 years ago

Just got the update - great!