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

Entry preview and editor blank after #3608

Closed
1 task done
kingwarrick opened this issue Jan 5, 2018 · 7 comments
Closed
1 task done

Entry preview and editor blank after #3608

kingwarrick opened this issue Jan 5, 2018 · 7 comments
Labels
status: waiting-for-feedback The submitter or other users need to provide more information about the issue

Comments

@kingwarrick
Copy link

kingwarrick commented Jan 5, 2018

JabRef 4.2-dev--snapshot--2018-01-04--master--1b06811df
Windows 10 10.0 amd64
Java 1.8.0_151

Steps to reproduce:

  1. Start JabRef
  2. Open two databases
  3. Select and open one entry for editing in first database
  4. Click to open DOI or URL in browser
  5. Select and open second entry for editing or preview in first database
  6. Select and open third entry--will see a blank entry editor and preview
  7. Select second database
  8. Repeat Some example new Dutch translations via the GitHub web page. #3-6 - entry editor shows fine until same routine as above (click to view URL/DOI, next entry shows, then blank for third.

Log file included, but does not seem to be repeated for each time this issue arises.

Log File ```Opening: DOAJ-WaterGov-MLG-Indig-Eng.bib Opening: Wiley-WaterGov-Indig-Eng.bib Uncaught exception occurred in Thread[JavaFX Application Thread,5,main] java.lang.IndexOutOfBoundsException: [-2147483648, 21) is not a valid range within [0, 21) at org.reactfx.util.Lists.checkRange(Lists.java:128) at org.reactfx.util.Lists.checkRange(Lists.java:123) at org.reactfx.collection.MemoizationListImpl.forget(MemoizationList.java:184) at org.fxmisc.flowless.CellListManager.cropTo(CellListManager.java:82) at org.fxmisc.flowless.CellPositioner.cropTo(CellPositioner.java:29) at org.fxmisc.flowless.Navigator.cropToNeighborhoodOf(Navigator.java:227) at org.fxmisc.flowless.Navigator.placeStartAtMayCrop(Navigator.java:200) at org.fxmisc.flowless.Navigator.visit(Navigator.java:129) at org.fxmisc.flowless.StartOffStart.accept(TargetPosition.java:85) at org.fxmisc.flowless.Navigator.layoutChildren(Navigator.java:78) at javafx.scene.Parent.layout(Parent.java:1087) at org.fxmisc.flowless.VirtualFlow.layoutChildren(VirtualFlow.java:257) at javafx.scene.Parent.layout(Parent.java:1087) at javafx.scene.Parent.layout(Parent.java:1093) at javafx.scene.Parent.layout(Parent.java:1093) at javafx.scene.Parent.layout(Parent.java:1093) at javafx.scene.Parent.layout(Parent.java:1093) at javafx.scene.Scene.doLayoutPass(Scene.java:552) at javafx.scene.Scene.preferredSize(Scene.java:1646) at javafx.scene.Scene.impl_preferredSize(Scene.java:1720) at javafx.stage.Window$9.invalidated(Window.java:846) at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:109) at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:144) at javafx.stage.Window.setShowing(Window.java:922) at javafx.stage.Window.show(Window.java:937) at com.sun.javafx.stage.EmbeddedWindow.show(EmbeddedWindow.java:58) at javafx.embed.swing.JFXPanel.lambda$addNotify$49(JFXPanel.java:799) at com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$173(PlatformImpl.java:294) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at com.sun.glass.ui.win.WinApplication.lambda$null$147(WinApplication.java:177) at java.lang.Thread.run(Unknown Source) ```
[Blank](https://user-images.githubusercontent.com/23559478/34622024-0fb5c11e-f211-11e7-82e3-4e732987f7d7.png)
@Siedlerchr
Copy link
Member

Hi, thanks for your report.
I just discovered and fixed a bug which could solve your issue:
Could you please try this version here and check if this works for you`?
https://builds.jabref.org/fixnpeonEntryChange/

@Siedlerchr Siedlerchr added the status: waiting-for-feedback The submitter or other users need to provide more information about the issue label Jan 6, 2018
@kingwarrick
Copy link
Author

kingwarrick commented Jan 9, 2018 via email

@Siedlerchr
Copy link
Member

Hi, it has already been merged in the master verison. So you can use that version

@kingwarrick
Copy link
Author

The problem persists in both Windows and Mac:

JabRef 4.2-dev--snapshot--2018-01-09--master--728ddbf8f
Mac OS X 10.13.2 x86_64
Java 1.8.0_152

JabRef 4.2-dev--snapshot--2018-01-09--master--728ddbf8f
Windows 10 10.0 amd64
Java 1.8.0_151

I also seem to be able to trigger this behaviour another way:

  1. Open first entry in entry editor
  2. Cycle through Required, General, Abstract, Review, Source tabs in editor
  3. Select second entry
  4. Editor does not update, showing previous entry, and now exhibits blanking when clicking to different tabs.

For step 2, I tried many permutations and iterations, and found this the most reliable way to cause the issue.

@tobiasdiez
Copy link
Member

Probably fixed with #3591 (which is not yet completely ready to try out).

@kingwarrick
Copy link
Author

kingwarrick commented Jan 9, 2018 via email

@tobiasdiez
Copy link
Member

@kingwarrick You can now try out the new version from https://builds.jabref.org/maintable-beta/ but please it is in a very early beta stage and might not work as expected. See #3621 for further details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-feedback The submitter or other users need to provide more information about the issue
Projects
None yet
Development

No branches or pull requests

3 participants