-
-
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 setting of title (and simplify BasePanel to LibraryTab) #6129
Merged
Changes from 2 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
f56e171
Fix setting of title (and remove obsolete comments)
koppor ffad7e8
Tab titles is determined in JabRefFrame only
koppor 97145ba
Merge remote-tracking branch 'upstream/master' into fix-title
calixtus ce0e098
Fixed some small merge errors and code optimizations
calixtus f3dacfc
Refactored BasePanel to LibraryTab and applied some IntelliJ suggestions
calixtus 5ef16b9
Merge remote-tracking branch 'upstream/master' into fix-title-revisited
calixtus f923a48
Move title logic to LibraryTab
calixtus f302e73
Merge remote-tracking branch 'upstream/master' into fix-title-revisited
calixtus ed3fc40
Refactored property methods and removed unused code
calixtus 9d78f28
Removed BasePanelPreferences.java
calixtus 25646f2
Removed calls to JabRefPreferences in LibraryTab.java
calixtus f82b09a
Merge remote-tracking branch 'upstream/master' into fix-title-revisited
calixtus add74ef
Reworded panel to libraryTab and suggested switch statement refactor
calixtus 5ae3c58
Refactored setting window title
calixtus 36dbc4b
Refactored setting window title
calixtus be77a2a
Refactored collectDatabaseFilePaths to stream
calixtus 0ab5e55
Reenabled unique path parsing
calixtus 1ad25fe
Changed getOpenTabs to getOpenDatabases in StateManager
calixtus 85fc785
Fixed refresh of tab title on tab close and open
calixtus 067325d
Fixed SaveDatabaseActionTest
calixtus 5324a9f
Removed nameProperty and bound tab title to frame title
calixtus 9c8b91b
CHANGELOG.md
calixtus 506e8de
Changed tooltip to display multiline texts
calixtus 45514a2
Reordered display and added comments
calixtus d1257a2
Merge branch 'master' into fix-title
calixtus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please investigate if this method is still really necessary. In principle, it should be enough to add listeners to the state manager to be notified about db changes. This would also fix the strange flow of information (from the base panel to the main frame).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I intensivly investigated this issue. I believe this method or something like it is still necessary until we can bind some property to an undomanager, which can provide a dirty flag for each library file.