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

Error: Cannot find focus el #4091

Open
Cyber-Syntax opened this issue Mar 8, 2025 · 2 comments
Open

Error: Cannot find focus el #4091

Cyber-Syntax opened this issue Mar 8, 2025 · 2 comments
Labels

Comments

@Cyber-Syntax
Copy link
Contributor

Description

The "mat-expansion-panel" is currently broken in the app, causing it to fail when trying to reveal subtasks via the "expand-tasks-btn".

Your Environment

  • Version used: Appimage 12.0.0 and master web development server
  • Operating System and version: fedora 41
  • Desktop Environment: qtile, gnome
  • Browser Name and version: brave 1.73

Steps to reproduce the bug:

  • Open the planner and kanban, and click on a task
  • Show subtasks
  • Reveal hidden done tasks
  • An error occurs

Can you reproduce this reliably?

The issue can be reproduced reliably in both the AppImage 12.0.0 and the master development server.

To replicate the issue, follow these steps:

  • Create one task with multiple subtasks
  • Mark some of the subtasks as done and hide them
  • Go to the mat-expansion-panel and try to reveal the subtasks.

Image

Console Output

chunk-53PLXPWB.js:93 Error: Error: Error: Cannot find focus el
    at GlobalErrorHandler2.<anonymous> (global-error-handler.class.ts:45:13)
    at Generator.next (<anonymous>)
    at fulfilled (main.js:37:24)
IndexedDB		
(anonymous)	@	chunk-53PLXPWB.js:93
__async	@	chunk-53PLXPWB.js:77
(anonymous)	@	indexed-db-adapter.service.ts:68
fulfilled	@	main.js:37
IndexedDB		
(anonymous)	@	chunk-53PLXPWB.js:93
__async	@	chunk-53PLXPWB.js:77
(anonymous)	@	indexed-db-adapter.service.ts:68
fulfilled	@	main.js:37
IndexedDB		
(anonymous)	@	chunk-53PLXPWB.js:93
__async	@	chunk-53PLXPWB.js:77
(anonymous)	@	indexed-db-adapter.service.ts:68
fulfilled	@	main.js:37
IndexedDB		
(anonymous)	@	chunk-53PLXPWB.js:93
__async	@	chunk-53PLXPWB.js:77
(anonymous)	@	indexed-db-adapter.service.ts:68
fulfilled	@	main.js:37
IndexedDB		
(anonymous)	@	chunk-53PLXPWB.js:93
__async	@	chunk-53PLXPWB.js:77
(anonymous)	@	indexed-db-adapter.service.ts:68
fulfilled	@	main.js:37

chunk line 93:
step((generator = generator.apply(__this, __arguments)).next());

Error Log (Desktop only)

Console Output

Meta Info

META: SP12.0.0 __ Browser – en-US – Linux x86_64 – en-US – UA:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36

Stacktrace

isHandledError (http://localhost:4200/src/app/core/error-handler/global-error-handler.class.ts:45:12)
fulfilled (http://localhost:4200/main.js:37:24)
invoke (http://localhost:4200/node_modules/zone.js/fesm2015/zone.js:339:157)
onInvoke (http://localhost:4200/@fs/home/developer/Documents/repository/super-productivity/node_modules/@angular/core/fesm2022/core.mjs:6524:24)
invoke (http://localhost:4200/node_modules/zone.js/fesm2015/zone.js:339:45)
run (http://localhost:4200/node_modules/zone.js/fesm2015/zone.js:110:34)
zone.scheduleMicroTask(source, (http://localhost:4200/node_modules/zone.js/fesm2015/zone.js:2428:29)
invokeTask (http://localhost:4200/node_modules/zone.js/fesm2015/zone.js:364:170)
onInvokeTask (http://localhost:4200/@fs/home/developer/Documents/repository/super-productivity/node_modules/@angular/core/fesm2022/core.mjs:6193:48)

Actions Before Error

1741453591126: [Task] SetSelectedTask 
1741453591237: [Bookmark] Load Bookmark State 
1741453591238: [Project] Load Project related Data Success 
1741453591238: [Improvement] Clear Hidden Improvements 
1741453591239: [Improvement] Delete multiple Improvements 
1741453594724: [Task] Update Task 
1741453594727: [Persistence] Save to DB 
1741453595809: [Task] Toggle Show Sub Tasks 
1741453595810: [Persistence] Save to DB 
1741453599285: [Task] Update Task 
1741453599287: [Persistence] Save to DB 
1741453600053: [Task] Update Task 
1741453600055: [Persistence] Save to DB 
1741453602605: [Task] SetSelectedTask 
1741453602606: [Layout] Hide Notes 
1741453644134: [Layout] Hide SideBar 
1741453803310: [Task] SetSelectedTask 
1741453804641: [Layout] Toggle SideBar 
1741453805950: [Layout] Hide SideBar 
1741453806009: [Planner] Cleanup Old And Undefined Planner Tasks 
1741453806010: [Persistence] Save to DB 
1741453806171: [Layout] Hide SideBar 
1741453812635: [Task] SetSelectedTask 
1741453812635: [Planner] Cleanup Old And Undefined Planner Tasks 
1741453812636: [Layout] Hide Notes 
1741453812636: [Persistence] Save to DB 
1741453832590: [Task] Update Task Ui 
1741453832591: [Planner] Cleanup Old And Undefined Planner Tasks 
1741453832592: [Persistence] Save to DB (2) ```
Copy link

github-actions bot commented Mar 8, 2025

Thank you very much for opening up this issue! I am currently a bit overwhelmed by the many requests that arrive each week, so please forgive me, if I fail to respond personally. I am still very likely to at least skim read your request and I'll probably try to fix all (real) bugs if possible and I will likely review every single PR being made (please, give me a heads up if you intent to do so) and I will try to work on popular requests (please upvote via thumbs up on the original issue) whenever possible, but trying to respond to every single issue over the last years has been kind of draining and I need to adjust my approach for this project to remain fun for me and to make any progress with actually coding new stuff. Thanks for your understanding!

@johannesjo
Copy link
Owner

Thank you very much for reporting. This will be fixed with the next release!

johannesjo added a commit that referenced this issue Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants