The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

i3bar covers Photoshop menu

asked 2015-11-14 12:31:27 +0000

anonymous user

Anonymous

updated 2015-11-14 14:26:09 +0000

I run the i3wm with the i3bar. I installed Photoshop CS6 through Wine.

I have found a few quirks:

  • the i3bar is overlapping the Photoshop's Menu bar (File, etc): i3wm and Photoshop
  • resizing the Photoshop window (i.e. by placing it into floating mode or opening another application side by side) does not re-scale photoshop, instead the app just covers half of the Photoshop window.

I assume these issues are related; yet the first one is more important. What would fix this issue?

EDIT: The output of xprop is:

WM_STATE(WM_STATE):
        window state: Normal
        icon window: 0x0
_NET_WM_STATE(ATOM) = _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_MAXIMIZED_HORZ
_NET_WM_ICON(CARDINAL) = 
_NET_WM_NAME(UTF8_STRING) = "Adobe Photoshop CS6 Extended"
WM_ICON_NAME(STRING) = "Adobe Photoshop CS6 Extended"
WM_NAME(STRING) = "Adobe Photoshop CS6 Extended"
WM_HINTS(WM_HINTS):
        Client accepts input or input focus: False
        Initial state is Normal State.
        bitmap id # to use for icon: 0x3e01171
        bitmap id # of mask for icon: 0x3e01173
        window id # of group leader: 0x4600003
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x3, 0x3e, 0x0, 0x97cf0000, 0x7d7afd80
WM_NORMAL_HINTS(WM_SIZE_HINTS):
        window gravity: Static
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x3e0000f
XdndAware(ATOM) = ATOM
_NET_WM_PID(CARDINAL) = 19848
WM_LOCALE_NAME(STRING) = "en_US.UTF-8"
WM_CLIENT_MACHINE(STRING) = "alonso"
WM_CLASS(STRING) = "Photoshop.exe", "Wine"
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, _NET_WM_PING, WM_TAKE_FOCUS
edit retag flag offensive close merge delete

Comments

Image: http://i.imgur.com/WJW5Htd.png%3C/p%3E (http://i.imgur.com/WJW5Htd.png)

alonsodon gravatar imagealonsodon ( 2015-11-14 12:31:34 +0000 )edit

The second problem is either a Wine or a Photoshop problem. For the first one this is likely the case as well, but can you run xprop, select the Photoshop window and post the output here?

Airblader gravatar imageAirblader ( 2015-11-14 13:02:17 +0000 )edit

I have added the output of xprop to the description

alonsodon gravatar imagealonsodon ( 2015-11-14 14:23:16 +0000 )edit

Thanks. Can you please do the same for "xwininfo -all" and also provide an i3 logfile? In fact, it'd be better if you opened this on Github as a bug report, which will make communication easier. Please see the debugging docs on the i3 website on how to properly pull the logfile.

Airblader gravatar imageAirblader ( 2015-11-14 15:15:12 +0000 )edit

I have moved the issue to github (https://github.com/i3/i3/issues/2066) and added all requested information

alonsodon gravatar imagealonsodon ( 2015-11-15 10:29:42 +0000 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2015-11-15 18:51:16 +0000

alonsodon gravatar image

The solution is to dissalow the window manager to decorate the window.

This can be done by running "winecfg", go to the "Graphics" tab and uncheck "Allow the window manager to decorate the windows."

This resolves both issue I noted in the question: the i3bar covering the menu, and the resizing quirks when Photoshop does not fill the entire screen.

edit flag offensive delete link more
0

answered 2015-11-23 08:53:57 +0000

Michael Rose gravatar image

Perhaps it would be better to make photoshop fullscreen. This can be accomplished by using for_window and criteria obtained by examining the output of xprop or xwininfo.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-11-14 12:31:27 +0000

Seen: 100 times

Last updated: Nov 23