-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
fix-14818-search-panel-startup #14820
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-14818-search-panel-startup #14820
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
|
Thanks for the clear fix and detailed test steps 👍 One question / suggestion regarding edge cases:
If intentional, maybe worth clarifying in code comments or documenting the expected behavior. Otherwise, the approach looks solid and the manual test steps are clear. |
|
@satyambuilds Thanks for pointing this out Yes, closing all side panes is a valid user choice and should be remembered. |
Go ahead and update https://github.com/JabRef/jabref/tree/main/docs/requirements. We are trying to improve the documentation there. Don't use AI to create. Think for yourself. I don't want to read AI text coming from a sloppy prompt. I am more efficient when interacting with an AI for myself.
Good pattern as newcomer: Create an answer with pros and cons. Maybe start an old version of JabRef and test it out. This is not too hard. Really. It's worth the time.
Unclear text. "might" is speculative. Think. Read the code. Think again. It is NOT a distributed system here. It is a desktop application - and side panes are directly visible. Not much code for toggling. READ AND LEARN. -- Improve your code reading skills. |
|
@koppor @Siedlerchr changing the default visible panes is not the correct approach, I’ll undo the default change and rework on the issue |
|
@satyambuilds kindly refrain from getting involved in projects and discussions you have no idea about, just to experiment with AI or fulfill some "2.5k+ contributions" target. That's really not what open source is supposed to be about. Note that all this activity of yours will be public and can (and will) potentially do more harm than good. |
|
This pull requests was closed without merging. You have been unassigned from the respective issue #14818. In case you closed the PR for yourself, you can re-open it. Please also check After submission of a pull request in CONTRIBUTING.md. |
User description
Closes #14818
Side pane visibility is now restored from user preferences on startup.
Previously, panes such as Web Search could reopen even after being closed.
Now, side panes open or stay closed exactly as the user left them.
Steps to test
Started JabRef with a fresh configuration
Closed Web Search, restarted → stays closed
Opened Web Search, restarted → opens again
if user kept the web search on before exiting Jabref


if not then,
Mandatory checks
CHANGELOG.mdin a way that is understandable for the average user (if change is visible to the user)PR Type
Bug fix
Description
Removed WEB_SEARCH from default visible side panes on startup
Added validation to prevent empty pane visibility from overwriting preferences
Ensures side panes respect user's last session state correctly
Diagram Walkthrough
File Walkthrough
SidePanePreferences.java
Fix default panes and preference restoration logicjabgui/src/main/java/org/jabref/gui/frame/SidePanePreferences.java
SidePaneType.WEB_SEARCHfrom default visible panes, keepingonly
GROUPSsetAll()method to prevent overwritingpreferences with empty pane sets
previous session