Posted by
Davíð Þór Bragason on
Jul 19, 2014; 1:36pm
URL: http://imagej.273.s1.nabble.com/Wrong-window-placement-dual-monitor-Linux-tp5008830.html
I'm running an up to date Fiji under Linux (up to date Kubuntu) with my
primary display being an external monitor on the right side of my laptop.
Every window displayed by ImageJ appears on the secondary (laptop) display
and some (the Fiji splash image, error messages, etc.) appear split between
the two displays. Only exception seems to be file (open/save) dialogs, with
do properly appear on the same display as the main ImageJ window.
This impedes work flow, as e.g. a histogram/results table belonging to an
image I'm working on (after manually dragging it onto the primary display)
will appear on the laptop screen.
"xrandr" confirms my external monitor (HDMI1) being primary:
Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 32767 x 32767
LVDS1 connected 1920x1080+0+0 (normal left inverted right x axis y axis)
344mm x 193mm
HDMI1 connected primary 1920x1080+1920+0 (normal left inverted right x axis
y axis) 531mm x 298mm
ImageJ properties also list the external as "Monitor1":
Screen size: 1920x1080
Max window bounds: x=0,y=0,width=1920,height=1080
(x=1920,y=0,width=1920,height=1045)
Union of bounds: x=0,y=0,width=3840,height=1080
Monitor1: x=1920,y=0,width=1920,height=1080
Monitor2: x=0,y=0,width=1920,height=1080
Note that "Max window bounds" lists my laptop display first, then the
primary display in parentheses, as between the two methods
GUI.getMaxWindowBounds() and
GraphicsEnvironment.getMaximumWindowBounds()
only the latter seems to reference the primary display.
I saw that there is a patch at
https://github.com/imagej/ij1-patcher/issues/2which would require building one's own ImageJ.
Does somebody know of another way around this problem?
Thank you.
David
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html