Skip to content

Commit

Permalink
Changed default status of 'Automatically open folder of attached file…
Browse files Browse the repository at this point in the history
…s' (#10748)

* Changed default status of 'Automatically open folder of attached files'

* Changed the original default value

* Updated CHANGELOG.md

* Update CHANGELOG.md

* Made changes OS specific

* Whitespace issues fixed

* Update CHANGELOG.md

---------

Co-authored-by: Christoph <siedlerkiller@gmail.com>
Co-authored-by: Oliver Kopp <kopp.dev@gmail.com>
  • Loading branch information
3 people committed Jan 9, 2024
1 parent 0c26a55 commit b45cc01
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv

### Changed

- The "Automatically open folders of attached files" preference default status has been changed to enabled on Windows. [koppor#56](https://github.com/koppor/jabref/issues/56)
- The Custom export format now uses the custom DOI base URI in the preferences for the `DOICheck`, if activated [forum#4084](https://discourse.jabref.org/t/export-html-disregards-custom-doi-base-uri/4084)
- The index directories for full text search have now more readable names to increase debugging possibilities using Apache Lucense's Lurk. [#10193](https://github.com/JabRef/jabref/issues/10193)
- The fulltext search also indexes files ending with .pdf (but do not having an explicit file type set). [#10193](https://github.com/JabRef/jabref/issues/10193)
Expand Down
8 changes: 7 additions & 1 deletion src/main/java/org/jabref/preferences/JabRefPreferences.java
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,13 @@ private JabRefPreferences() {
defaults.put(KEY_GEN_ALWAYS_ADD_LETTER, Boolean.FALSE);
defaults.put(EMAIL_SUBJECT, Localization.lang("References"));
defaults.put(KINDLE_EMAIL, "");
defaults.put(OPEN_FOLDERS_OF_ATTACHED_FILES, Boolean.FALSE);

if (OS.WINDOWS) {
defaults.put(OPEN_FOLDERS_OF_ATTACHED_FILES, Boolean.TRUE);
} else {
defaults.put(OPEN_FOLDERS_OF_ATTACHED_FILES, Boolean.FALSE);
}

defaults.put(WEB_SEARCH_VISIBLE, Boolean.TRUE);
defaults.put(GROUP_SIDEPANE_VISIBLE, Boolean.TRUE);
defaults.put(SELECTED_FETCHER_INDEX, 0);
Expand Down

0 comments on commit b45cc01

Please sign in to comment.