-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Fix bracket collisions #6468
Closed
Closed
Fix bracket collisions #6468
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Implemented a task progress dialog using a TaskProgressView. Tasks show up, but without info. Neither the progress nor title and message are shown.
There now i a progress indicator at the rightmost postition of JabRefs toolbar. It shows the average progress of all running background tasks. Clicking it will show a TaskProgressDialog. still looks ugly and the binding to the average progress does not seem to be working.
This makes the view work with download tasks for example. Most other tasks are still shown without title, message (because none are set) and progress. Also, there are a lot of tasks somehow. The progress indicator in the main view still does not work as I can't get the bindings to work.
The progress indicator is now successfully bound to the list of tasks. However, tasks do not show up in the dialogue any more.
When using ObjectProperties in the list of tasks, we can use EasyBind to convert the list into a list of tasks which in turn can be bound to the list of tasks in the view. With this, the basic functionality works. There is a progress indicator in the toolbar that shows the average progress of all running background tasks. It is indeterminate if any task has indeterminate progress and shows 100% if no tasks are running. Clicking it opens an overview of all running tasks and their progress. Currently, there are many tasks running all the time. The only tasks that were adapted for this to be pretty are the download tasks, and they are also still missing an icon.
These are shorter and therefore the task progress view does not need a horizontal scroll bar.
For consistency with other variables
Make showProgressDialogAndWait actually not only show but also wait.
The dialog that is shown when the user quits JabRef during ongoing background tasks now shows which background tasks are still running. When all of them complete or the user chooses to quit anyway, JabRef quits. The user can also cancel the dialog. In that case, the dialog closes and JobRef remains running.
There are still some ImportOrder errors though where I can see no issue.
This makes the dialog that pops up if background tasks are running wait for pending saves.
This reverts commit d7442cc.
…e/backgroundProgress
Set the pref-width when the indicator is determinate to keep the indeterminate state from making the indicator wider.
More in line with the other JabRef dialogs Addresses JabRef#6443 (comment)
This reverts commit 0557c67.
This reverts commit 478ee05.
Damn it, I branched from my other PR. Sorry. I hope this is ok as the other PR is ready to be merged anyway. |
I think the easiest way to fix this "history mess" is to create a new branch from master and cherry pick the relevant commits, |
Sorry, fixed in #6469 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Brackets in regular expressions were interpreted as brackets for fields. This change allows users to define regular expressions that contain brackets. This led to an exception before.