Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homepage set as "Last opened Object" does not go to the "Last opened Object" upon updating to 0.41.0 #771

Open
3 tasks done
herobrine369 opened this issue Jun 12, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@herobrine369
Copy link

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

I set "Homepage" as "Last opened Object". When I login every time, the page goes to the one which asks the user to set the "Homepage".

Expected Behavior

After every login, the application should go to the previously accessed object.

Steps To Reproduce

  1. The settings are configured as below:

    Space...
    Homepage: Last opened Object
    Default Object Type: Note

  2. Restart the app.

Environment

- OS: macOS Sonoma 14.3.1 (Apple Silicon)
- Version: 0.41.0

Anything else?

The screenshot of the page after login:
Screenshot 2024-06-12 at 10 18 03

@herobrine369 herobrine369 added the bug Something isn't working label Jun 12, 2024
@herobrine369 herobrine369 changed the title Homepage set as "Last opened Object" does not go to the "Last opened Object" Homepage set as "Last opened Object" does not go to the "Last opened Object" upon updating to 0.41.0 Jun 12, 2024
@ra3orblade
Copy link
Contributor

I can't reproduce this behaviour at the moment, though sometimes it opens empty object for me. I've tried to logout/login and reopen the app and it opens on the last object.

ra3orblade added a commit that referenced this issue Jun 12, 2024
@ra3orblade
Copy link
Contributor

Found the problem, fixed.

@herobrine369
Copy link
Author

Updating to 0.41.1, it seems that the problem hasn't been fixed yet. I even reinstalled the application, but it could help nothing. It's now still all same as before.

@ra3orblade
Copy link
Contributor

Updating to 0.41.1, it seems that the problem hasn't been fixed yet. I even reinstalled the application, but it could help nothing. It's now still all same as before.

It's fixed in the current main branch, not 0.41.1. You can check latest alpha version.

@herobrine369
Copy link
Author

It still doesn't work in 0.41.21-beta, macOS 14.5 (23F79).

@herobrine369
Copy link
Author

FYR, one of the lines in the log says "QueryByIds failed to find id: lastOpened". I'm not sure if it's relevant to the issue.

@ra3orblade
Copy link
Contributor

FYR, one of the lines in the log says "QueryByIds failed to find id: lastOpened". I'm not sure if it's relevant to the issue.

Found another problem with this logic that correct space was not switching when you log in, can't reproduce the problem with last opened object apart from this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants