ch11ng / exwm

Emacs X Window Manager
2.85k stars 134 forks source link

ImageJ menu and toolbar overlapping #499

Open QiangF opened 6 years ago

QiangF commented 6 years ago

With exwm 0.20, ImageJ menu bar sits on top of toolbar, and can't be clicked.

ch11ng commented 6 years ago

This is what I get with ImageJ 1.52g. None of the reported issues seem to be here.

image

QiangF commented 6 years ago

I did the upgrade to imagej 1.52, but the problem is still there. I will report back with the imagej with java bundled. For the imagej window with the problem. xprop output is:

_NET_WM_DESKTOP(CARDINAL) = 0
WM_STATE(WM_STATE):
        window state: Normal
        icon window: 0x0
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE
_NET_WM_ICON_GEOMETRY(CARDINAL) = 1472, 5, 110, 20
_MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0x0, 0x7, 0x0, 0x20, 0x6, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0
XdndAware(ATOM) = BITMAP
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_NET_WM_STATE(ATOM) = 
WM_HINTS(WM_HINTS):
        Client accepts input or input focus: False
        Initial state is Normal State.
_OL_DECOR_DEL(ATOM) = _OL_DECOR_RESIZE
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x3, 0x2c, 0x3a, 0x0, 0x0
_NET_FRAME_EXTENTS(CARDINAL) = 0, 0, 0, 0
_NET_WM_ICON(CARDINAL) =    Icon (16 x 16):
_NET_WM_PID(CARDINAL) = 24732
WM_CLIENT_MACHINE(STRING) = "debian"
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS
WM_CLASS(STRING) = "sun-awt-X11-XFramePeer", "ij-ImageJ"
WM_CLIENT_LEADER(WINDOW): window id # 0x6200008
_NET_WM_ICON_NAME(UTF8_STRING) = "ImageJ"
WM_ICON_NAME(STRING) = "ImageJ"
_NET_WM_NAME(UTF8_STRING) = "ImageJ"
WM_NAME(STRING) = "ImageJ"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
        user specified location: 1155, 284
        program specified location: 1155, 284
        program specified size: 569 by 74
        program specified minimum size: 569 by 74
        program specified maximum size: 569 by 74
        window gravity: NorthWest

I can't screen capture the window when in floating mode. Like a ghost, though I can see it on the screen. img_2018_10_28__09_15_38

I made imagej window fullscreen, and select the title area, there isn't black area on screen. But the captured image has black area. img_2018_10_28__09_23_34

If I ran EXWM with the minimum configuration in Xephyr, I also got this warning:

(emacs:23418): Gtk-WARNING **: gtk_window_parse_geometry() called on a window with no visible children; the window should be set up before gtk_window_parse_geometry() is called.
ch11ng commented 6 years ago

I only installed OpenJDK JRE. The X properties are mostly the same here.

I can't screen capture the window when in floating mode.

Please try using GIMP. With it you can make screenshots with various configurations.