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

Borderless program launch under Linux Mint #4911

Closed
wujastyk opened this issue Apr 23, 2019 · 2 comments · Fixed by #4917
Closed

Borderless program launch under Linux Mint #4911

wujastyk opened this issue Apr 23, 2019 · 2 comments · Fixed by #4917
Labels
bug Confirmed bugs or reports that are very likely to be bugs maintable preferences
Projects

Comments

@wujastyk
Copy link

wujastyk commented Apr 23, 2019

JabRef 5.0-dev--snapshot--2019-04-20--master--e63bc21ab
Linux 4.15.0-47-generic amd64
Java 1.8.0_191

Steps to reproduce the behavior:

  1. Launch Jabref 5.0 dev from a shell script:
#!/bin/bash
# development snapshot
java -jar /home/dom/Dropbox/bin/JabRef--master--latest.jar

  1. the program opens and fills the whole screen with no window bars. One can minimize the JabRef display but cannot change the size of the display.

  2. Going to a terminal and typing the CLI command

java -jar /home/dom/Dropbox/bin/JabRef--master--latest.jar

the program starts with window borders, but with all options reverted to default (I think).

After this, the behaviour described in 2. doesn't happen for a couple of launches, and then it reverts to the borderless behaviour again.

  1. While there was a border and things seemed okay, I went to Options and got an uncaught exception error

image

java.lang.NegativeArraySizeException
	at org.jabref.gui.preferences.TableColumnsTab.setValues(TableColumnsTab.java:319)
	at org.jabref.gui.preferences.PreferencesDialog.setValues(PreferencesDialog.java:256)
	at org.jabref.gui.preferences.PreferencesDialog.construct(PreferencesDialog.java:181)
	at org.jabref.gui.preferences.PreferencesDialog.<init>(PreferencesDialog.java:105)
	at org.jabref.gui.actions.ShowPreferencesAction.execute(ShowPreferencesAction.java:19)
	at org.jabref.gui.actions.JabRefAction.lambda$new$942(JabRefAction.java:29)
	at org.controlsfx.control.action.Action.handle(Action.java:419)
	at org.controlsfx.control.action.Action.handle(Action.java:64)
	at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
	at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
	at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
	at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
	at javafx.event.Event.fireEvent(Event.java:198)
	at javafx.scene.control.MenuItem.fire(MenuItem.java:462)
	at com.sun.javafx.scene.control.skin.ContextMenuContent$MenuItemContainer.doSelect(ContextMenuContent.java:1405)
	at com.sun.javafx.scene.control.skin.ContextMenuContent$MenuItemContainer.lambda$createChildren$6(ContextMenuContent.java:1358)
	at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
	at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
	at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
	at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
	at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
	at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
	at javafx.event.Event.fireEvent(Event.java:198)
	at javafx.scene.Scene$MouseHandler.process(Scene.java:3757)
	at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485)
	at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762)
	at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494)
	at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:394)
	at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:432)
	at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389)
	at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:431)
	at com.sun.glass.ui.View.handleMouseEvent(View.java:555)
	at com.sun.glass.ui.View.notifyMouse(View.java:937)
	at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
	at com.sun.glass.ui.gtk.GtkApplication.lambda$null$5(GtkApplication.java:139)
	at java.lang.Thread.run(Thread.java:748)

Log File
Opening: /home/dom/Dropbox/localtexmf/bibtex/bib/biblio4-utf8.bib
Preview style changed to: Springer - Humanities (author-date)
Copied version to clipboard
Copied version to clipboard
@Siedlerchr Siedlerchr added bug Confirmed bugs or reports that are very likely to be bugs and removed bug Confirmed bugs or reports that are very likely to be bugs labels Apr 23, 2019
@Siedlerchr Siedlerchr added this to Needs triage in Bugs via automation Apr 23, 2019
@Siedlerchr Siedlerchr added maintable preferences bug Confirmed bugs or reports that are very likely to be bugs labels Apr 23, 2019
@Siedlerchr
Copy link
Member

Siedlerchr commented Apr 23, 2019

I was able to partly reproduce this, I enabled the extra File columns in the options and after a restart I am getting the same same error. The borderless thing is another issue I think.

Bugs automation moved this from Needs triage to Closed Apr 23, 2019
@Siedlerchr
Copy link
Member

The bug with opening the preferences should be fixed now in the next build. It was coming from the "Enable extra columns" in the Table Column preferences tab, I submitted a hotfix for this problem.
The preferences tab will be redesigned soon.

The border less thing is mysterious but might have been somehow related.
Please report back if it's working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bugs or reports that are very likely to be bugs maintable preferences
Projects
Archived in project
Bugs
  
Done
Development

Successfully merging a pull request may close this issue.

2 participants