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

focus problem with opentext exceed turbox #3798

Open
user9234 opened this issue Sep 22, 2019 · 3 comments

Comments

@user9234
Copy link

commented Sep 22, 2019

I'm submitting a…

[x] Bug
[ ] Feature Request
[ ] Documentation Request
[ ] Other (Please describe in detail)

Current Behavior

At work we are using OpenText Exceed TurboX which acts as a proxy for the remote X applications. Whenever I have multiple windows from a remote session overlapping (e.g. stacked, floating or menus) clicking items are not applied to the currently focused window but to some window below.
Note that with the older version (Exceed On Demand) those problems do not occur.

Expected Behavior

Clicking items applies to the correct window.

Reproduction Instructions

The following actions are contained in the logfiles:

  • Switch to workspace ("1") with gnome-terminal (from the exceed session), right click to open the terminal profile editor, which becomes a floating window overlapping the gnome-terminal.
  • Clicking tabs or buttons in this window fails (3x).
  • Toggle profile editor to non-floating and tabbed layout, try again and fail (3x).
  • Toggle to side-by-side and it works.

Environment

Output of i3 --moreversion 2>&-:

Binary i3 version:  4.17.1 (2019-08-30) © 2009 Michael Stapelberg and contributors
Running i3 version: 4.17.1 (2019-08-30) (pid 719) abort…)
Loaded i3 config: /home/REDACTED-LOCAL-USER/.config/i3/config (Last modified: Sat 22 Sep 2018 01:33:52 PM CEST, 31541572 seconds ago)

The i3 binary you just called: /usr/bin/i3
The i3 binary you are running: i3
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout somewhen, delete
# this file and re-run i3-config-wizard(1).
#

# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!

#main i3 modifier
set $mod Mod4

# adapt to xrandr output
set $display_main HDMI-2
set $display_ext HDMI-1


# "Wallpaper"
exec --no-startup-id xsetroot -solid "#112233"
#exec --no-startup-id sh ~/.screenlayout/default_dual.sh

# tray icons
exec --no-startup-id nm-applet
exec --no-startup-id volumeicon

# run toggle script once and set us layout
exec --no-startup-id setxkbmap us
exec --no-startup-id bash ~/.config/i3/i3togglekb.sh

# screen lock
bindsym $mod+i exec bash ~/.config/i3/i3lock.sh

# keyboard layout
bindsym $mod+k exec bash ~/.config/i3/i3togglekb.sh

bindsym $mod+p exec xrandr --auto

# xrandr config
#exec --no-startup-id xrandr --output DP3 --auto --left-of eDP1


# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below. ISO 10646 = Unicode
#font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
# The font above is very space-efficient, that is, it looks good, sharp and
# clear in small sizes. However, if you need a lot of unicode glyphs or
# right-to-left text rendering, you should instead use pango for rendering and
# chose a FreeType font, such as:
font pango:DejaVu Sans Mono 10

# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod

# start a terminal
bindsym $mod+Return exec i3-sensible-terminal

# kill focused window
bindsym $mod+Shift+q kill

# start dmenu, -b: display at bottom, -sb: selected background, -nb: normal background, -sf: selected foreground, -sb: selected background
bindsym $mod+x exec dmenu_run  -b  -fn '-*-fixed-bold-r-normal-*-15-*-*-*-*-*-*-*' -nf '#AFAFAF' -nb '#000000' -sf '#F4F4F4' -sb '#3030AF'

# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop

# change focus
bindsym $mod+a focus left
bindsym $mod+s focus down
bindsym $mod+w focus up
bindsym $mod+d focus right


# move focused window
bindsym $mod+Shift+a move left
bindsym $mod+Shift+w move down
bindsym $mod+Shift+s move up
bindsym $mod+Shift+d move right

# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move container to workspace prev; workspace prev
bindsym $mod+Shift+Right move container to workspace next; workspace next


# split in horizontal orientation
bindsym $mod+h split h

# split in vertical orientation
bindsym $mod+v split v

# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen

# change container layout (stacked, tabbed, toggle split)
bindsym $mod+q layout stacking
bindsym $mod+e layout tabbed
bindsym $mod+r layout toggle split

# toggle tiling / floating
bindsym $mod+t floating toggle

# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle

# focus the parent container
#bindsym $mod+a focus parent

# focus the child container
#bindsym $mod+c focus child

# switch to workspace
bindsym $mod+Left workspace prev
bindsym $mod+Right workspace next
bindsym $mod+0 workspace 0
bindsym $mod+1 workspace 1
bindsym $mod+2 workspace 2
bindsym $mod+3 workspace 3
bindsym $mod+4 workspace 4
bindsym $mod+5 workspace 5
bindsym $mod+6 workspace 6
bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8
bindsym $mod+9 workspace 9


# move focused container to workspace
bindsym $mod+Shift+0 move container to workspace 0
bindsym $mod+Shift+1 move container to workspace 1
bindsym $mod+Shift+2 move container to workspace 2
bindsym $mod+Shift+3 move container to workspace 3
bindsym $mod+Shift+4 move container to workspace 4
bindsym $mod+Shift+5 move container to workspace 5
bindsym $mod+Shift+6 move container to workspace 6
bindsym $mod+Shift+7 move container to workspace 7
bindsym $mod+Shift+8 move container to workspace 8
bindsym $mod+Shift+9 move container to workspace 9


#workspace screen bindings
workspace 0 output $display_main
workspace 1 output $display_main
workspace 2 output $display_main
workspace 3 output $display_main
workspace 4 output $display_main
workspace 5 output $display_ext
workspace 6 output $display_ext
workspace 7 output $display_ext
workspace 8 output $display_ext
workspace 9 output $display_ext
# Reload The Configuration File
bindsym $mod+Shift+c reload

# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart

# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"

# resize window (you can also use the mouse for that)
mode "resize" {
        # These bindings trigger as soon as you enter the resize mode

        # Pressing left will shrink the s width.
        # Pressing right will grow the s width.
        # Pressing up will shrink the s height.
        # Pressing down will grow the s height.
        bindsym j resize shrink width 10 px or 10 ppt
        bindsym k resize grow height 10 px or 10 ppt
        bindsym l resize shrink height 10 px or 10 ppt
        bindsym semicolon resize grow width 10 px or 10 ppt

        # same bindings, but for the arrow keys
        bindsym Left resize shrink width 10 px or 10 ppt
        bindsym Down resize grow height 10 px or 10 ppt
        bindsym Up resize shrink height 10 px or 10 ppt
        bindsym Right resize grow width 10 px or 10 ppt

        # back to normal: Enter or Escape
        bindsym Return mode "default"
        bindsym Escape mode "default"
}

bindsym $mod+m mode "resize"

# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
    colors {
    	     statusline #009EE0
				}
				font pango:Terminus 14px
        status_command  i3blocks
	position top
}

Link to Logfile

Additional information:

- Linux Distribution & Version: Arch Linux 5.3.0-arch1-1-ARCH
- Exceed TurboX Proxy Version 11.5.2
- gnome-terminal is window 0x1c00402 and profile editor is 0x01c00f87

Screenshots

Clicking tabs in floating window will select line in gnome-terminal behind instead of tabs in the front.
gnome-terminal-floating

In a horizontal split without overlap clicking works fine
gnome-terminal-hsplit

@i3bot

This comment has been minimized.

Copy link

commented Sep 22, 2019

I don’t see a link to logs.i3wm.org. Did you follow https://i3wm.org/docs/debugging.html? (In case you actually provided a link to a logfile, please ignore me.)

@i3bot i3bot added the 4.17 label Sep 22, 2019
@Airblader

This comment has been minimized.

Copy link
Member

commented Sep 22, 2019

Generally speaking we do not support closed source software, but I also somewhat doubt that this is actually an i3 issue. The decision to which client a mouse click is routed lies with the X server, not the window manager.

Would be interesting to know if other window managers like awesome or Openbox work fine or have similar issues.

@user9234

This comment has been minimized.

Copy link
Author

commented Sep 22, 2019

Would be interesting to know if other window managers like awesome or Openbox work fine or have similar issues.

The default XFCE WM and stumpwm do not have this issue.

Update: It works fine with Openbox 3.6.1 but I have the same issues with awesome v4.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.