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

Close UI right after ask execution of an Alias #466

Closed
jibedoubleve opened this issue Jan 14, 2024 · 0 comments · Fixed by #498
Closed

Close UI right after ask execution of an Alias #466

jibedoubleve opened this issue Jan 14, 2024 · 0 comments · Fixed by #498
Assignees
Labels
feature New feature or request
Milestone

Comments

@jibedoubleve
Copy link
Owner

jibedoubleve commented Jan 14, 2024

Description

When using the @multi@ macro in our application, the UI becomes unresponsive. It appears that the UI waits for all processes initiated by the @multi@ macro to complete before allowing any further interaction. This causes significant delays and a poor user experience, as the UI remains frozen until all processes are done.
Steps to Reproduce

  1. Trigger the @multi@ macro in the application.
  2. Observe the UI behavior during the execution of the processes initiated by the macro.

Expected Behavior

The UI should remain responsive while the @multi@ macro processes run in the background. Users should be able to interact with other parts of the UI without having to wait for all the processes to complete.

Analysis

Update may occur in MultiMacro.ExecuteAsync

@jibedoubleve jibedoubleve added the feature New feature or request label Jan 14, 2024
@jibedoubleve jibedoubleve added this to the 2.6.0 milestone Jan 14, 2024
@jibedoubleve jibedoubleve self-assigned this Jan 14, 2024
@jibedoubleve jibedoubleve mentioned this issue Jan 14, 2024
@jibedoubleve jibedoubleve modified the milestones: 2.6.0, vNext Jan 14, 2024
jibedoubleve added a commit that referenced this issue Jan 14, 2024
* (maint) Refactoring

* (#466) Add logging to catch slow process executions
@jibedoubleve jibedoubleve modified the milestones: vNext, 2.7.0 Jan 19, 2024
jibedoubleve added a commit that referenced this issue Feb 18, 2024
* (#407) Fix NullReferenceException when description too long

* (#408) Display description on 95 chars

* (#407) Fix NullReferenceException when description too long

* (#408) Display description on 95 chars

* (#407) Fix NullReferenceException when description too long

* (#408) Display description on 95 chars

* (#404) Add logging...

* (#408) Fix unit tests

* (#428) Bump to version 2.5.1

* (#428) Update GitVersion.yml

* (#415) Replace CentreMacro with CentreAlias

* (maint) Move ScreenRuler

* (maint) Move AppRestart facility

* (#416) Set default windows position at first boot

* (#416) Fix unit tests

* (#403) Change error message when alias fails to start

* (maint) Rider refactoring advices (#435)

* (#423) Retrieve thumbnails is done a a separate thread (#437)

* (maint) Refactoring (#438)

* Issue/412 (#441)

* (#412) Replace NLogger with Serilog

* (maint) Bump version

* (#412) Implements Microsoft.Extensions.Logging

* (#421) Refactor TimeSpan with Humanizer (#443)

* (#431) Fix autocompletion & syntax colouration (#442)

* Issue/439 (#444)

* (#439) Fix empty synonyms when wrongly written

* (#439) Add Unit test

* (#436) Refactore the KeywordViewModel into more Reactive (#446)

* (#436) Refactor the KeywordViewModel into more Reactive

* (maint) Refactor some unit tests

* (#436) Fix InvalidOperationException when updating synonyms (#447)

* Issue/445 (#448)

* (#445) Add cache when querying user packages

* (maint) IThumbnailRefresher is async

* (#364) Show help to create macros (#449)

* Issue/450 (#451)

* (#450) Add logging and measure time

* (#450) Optimise search (execution time)

* (#450) Optimise alias counters

* (maint) Fix unit tests

* Issue/452 (#454)

* (maint) Fix thumbnail manager

* (#452) Rethrow exception when error in transaction

* (maint) Log SQL on error

* Issue/453 (#455)

* (maint) Refactoring

* (#453) Remove SQL query repetition

* (maint) Adding logs in tests and refactoring

* (#450) Remove useless inner joins from SQL

* Isue/456 (#457)

* (#456) Fix warning when executing empty Lua scripts

* (#456) Unit test

* Issue/458 (#459)

* (maint) Change log level

* (#458) Add more logging

* Issue/458 (#462)

* (#458) Add unit test

* (#458) Fix delete of parameters when updating alias

* (#456) Fix Lua scripting when code is null (#464)

* (#456) Fix Lua scripting when code is null

* (#456) Fix unit test

* (#461) Catch error and add logs (#465)

* Issue/466 (#468)

* (maint) Refactoring

* (#466) Add logging to catch slow process executions

* Issue/467 (#469)

* (maint) Refactoring

* (#467) Fix XAML template

* (#470) Execute powershell command with '-noprofile' (#472)

* Issue/471 (#473)

* (#471) Adding log information

* (#471) Fix failure when Lua script returns 'nil'

* (#471) Fix logging (#474)

* (#476) Fix Lua script error (#477)

* (#479) Remove keyword (#480)

* (#482) Increase resilience for UiNotification (#483)
@jibedoubleve jibedoubleve linked a pull request Jun 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant