Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-12-06 12:59:26

castaway
Member
From: L America
Registered: 2019-12-06
Posts: 6

Apps are raised above Terms when Focus Follows Mouse onto sec monitor.

Hello everyone.

I have been using XFCE since 2011 and love it!

Now to the problem. I have set up a dual display desktop. The secondary display is a HDMI monitor.

I have set up Window Manager > Focus Follow Mouse (no delay). I shall post more configs shortly, but for now these are the important bits.

When XTerm or Xfce4-terminal are in full screen at one display and the mouse is moved to the second display, unfocused windows are raised above the full-screen terminal windows at the other display. For e.g., if there is a Firefox window opened but at the bottom layer, because I am running XTerm above it in full-screen, and I move the mouse to the secondary display do do something else, the Firefox window gets raised above the XTerm full screen.

What I expect is that Firefox or any other App window, like Mousepad, do not get raised above the full-screen terminal window when the mouse goes to another monitor.

When I unset Focus Follow Mouse, this problem does not occur.

What also solves this problem when Focus Follow Mouse is set is setting the terminal property 'Always on Top' at the window menu before going full-screen...

OK, so is there any other option I can try to change so that I can use Focus Follow Mouse without this problem I described?

I logged in with another user account which had mostly defaults configs and after setting Focus Follow Mouse, this problem happens in the same way.

More configs:

Arch Linux, extra/xfwm4 4.14.0-1

Window Manager > Focus >
    Focus Follow mouse, set, obviously
        Delay before window raises itself, none
    Automatically raise windows when they receive focus
        Delay before raising focused windows, at the short end
    Raise on clicking inside application window, set

Window Manager Tweaks > Focus >
    Activate focus stealing prevention, set
    Honour standard ICCCM focus hint, unset
    When a Window raises itself, do nothing

Window Manager Tweaks > Accessibility >
    raise windows when any mouse button is pressed, unset

Last edited by castaway (2019-12-06 13:49:37)

Offline

#2 2019-12-06 13:21:25

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,574

Re: Apps are raised above Terms when Focus Follows Mouse onto sec monitor.

Hello and welcome.

This might well be a bug. Can you try setting a short delay on focus follows mouse to see if it still happens?

Offline

#3 2019-12-06 13:48:53

castaway
Member
From: L America
Registered: 2019-12-06
Posts: 6

Re: Apps are raised above Terms when Focus Follows Mouse onto sec monitor.

Hey Toz.

I bumped up all delays and was testing, but it does not seem to help much.

Sometimes the other windows do not get raised above Terminal's full screen, but 9/10 times they do..

Last edited by castaway (2019-12-06 13:55:20)

Offline

#4 2019-12-06 16:50:59

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,574

Re: Apps are raised above Terms when Focus Follows Mouse onto sec monitor.

Can I see your xfwm4 configs?

xfconf-query -c xfwm4 -lv

Offline

#5 2019-12-06 17:28:59

castaway
Member
From: L America
Registered: 2019-12-06
Posts: 6

Re: Apps are raised above Terms when Focus Follows Mouse onto sec monitor.

Sure.

/general/activate_action                 none
/general/borderless_maximize             true
/general/box_move                        false
/general/box_resize                      false
/general/button_layout                   OCMHS|
/general/button_offset                   0
/general/button_spacing                  0
/general/click_to_focus                  false
/general/cycle_apps_only                 false
/general/cycle_draw_frame                true
/general/cycle_hidden                    false
/general/cycle_minimum                   true
/general/cycle_preview                   true
/general/cycle_raise                     false
/general/cycle_tabwin_mode               0
/general/cycle_workspaces                false
/general/double_click_action             maximize
/general/double_click_distance           5
/general/double_click_time               250
/general/easy_click                      Super
/general/focus_delay                     349
/general/focus_hint                      false
/general/focus_new                       true
/general/frame_border_top                0
/general/frame_opacity                   88
/general/full_width_title                true
/general/horiz_scroll_opacity            false
/general/inactive_opacity                88
/general/maximized_offset                0
/general/mousewheel_rollup               false
/general/move_opacity                    76
/general/placement_mode                  mouse
/general/placement_ratio                 47
/general/popup_opacity                   100
/general/prevent_focus_stealing          true
/general/raise_delay                     365
/general/raise_on_click                  true
/general/raise_on_focus                  false
/general/raise_with_any_button           false
/general/repeat_urgent_blink             true
/general/resize_opacity                  100
/general/scroll_workspaces               false
/general/shadow_delta_height             0
/general/shadow_delta_width              0
/general/shadow_delta_x                  0
/general/shadow_delta_y                  -3
/general/shadow_opacity                  50
/general/show_app_icon                   false
/general/show_dock_shadow                true
/general/show_frame_shadow               true
/general/show_popup_shadow               false
/general/snap_resist                     false
/general/snap_to_border                  false
/general/snap_to_windows                 false
/general/snap_width                      10
/general/theme                           Totem
/general/tile_on_move                    true
/general/title_alignment                 center
/general/title_font                      Roboto Heavy 10
/general/title_horizontal_offset         0
/general/titleless_maximize              false
/general/title_shadow_active             false
/general/title_shadow_inactive           false
/general/title_vertical_offset_active    0
/general/title_vertical_offset_inactive  0
/general/toggle_workspaces               false
/general/unredirect_overlays             true
/general/urgent_blink                    true
/general/use_compositing                 true
/general/vblank_mode                     auto
/general/workspace_count                 3
/general/workspace_names                 <<UNSUPPORTED>>
/general/wrap_cycle                      true
/general/wrap_layout                     true
/general/wrap_resistance                 10
/general/wrap_windows                    false
/general/wrap_workspaces                 false
/general/zoom_desktop                    true

Last edited by castaway (2019-12-06 17:29:32)

Offline

#6 2019-12-06 20:48:01

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,574

Re: Apps are raised above Terms when Focus Follows Mouse onto sec monitor.

I'm not seeing anything. You should create a bug report against the xfwm4 product and see what the developer says. Unfortunately, I don't have an external monitor currently available to verify your findings and the settings all look fine.

Offline

#7 2019-12-06 20:50:23

castaway
Member
From: L America
Registered: 2019-12-06
Posts: 6

Re: Apps are raised above Terms when Focus Follows Mouse onto sec monitor.

OK, ToZ. Thanks.
I will try filling a bug report soon and wait for next release.
We are in mid-cycle for next major release, so soon we should have some changes any ways.
Cheers!


UPDATE:
I found a workaround to this problem -->  Maximise the window instead of going full-screen.

You must use XFWM4 keyboard bindings. XFWM4 defaults binding is Alt+10.

If you are using XTerm and dual displays, though, you cannot just bind an action to a key combo in .Xresources, as this will resize the window horizontally to take both displays...

Last edited by castaway (2019-12-10 15:21:33)

Offline

#8 2020-04-25 11:13:04

addeps3
Member
Registered: 2019-02-04
Posts: 4

Re: Apps are raised above Terms when Focus Follows Mouse onto sec monitor.

I have this same issue with my multi-monitor set up. Im actually using triple heads and often have a full screen movie or game on one of them.

The issue occurs when one window is underneath the videoplayer or game, and the media-app is set to full screen. While maximized the window beneath respects the media window, but as soon as focus is shifted, during full screen, the app underneath immediately pops above, and I have to move the window by grabbing and pulling it to another workspace.

If there was anyway to tell xfce to respect full screen media, and never raise windows above them, it would make the experience for multi head users so much wore convenient.

Last edited by addeps3 (2020-04-25 11:16:34)

Offline

Board footer

Powered by FluxBB