You are not logged in.
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
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?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
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
Can I see your xfwm4 configs?
xfconf-query -c xfwm4 -lv
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
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
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.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
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
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
Pretty much found a fix, thanks to help gotten here: https://gitlab.xfce.org/xfce/xfwm4/-/issues/471
Commented out the three invocations of clientAdjustFullscreenLayer in src/focus.c . That's it.
One side-effect i've encountered so far is that an auto-hide panel has a somewhat indeterministic behavior - sometimes it is obscured by the fullscreen window - and thus it does not pop out when you move your mouse to the edge - this is the behavior i expect, because the fullscreen window (a VM) contains it's own panel. And sometimes the 1px edge stays over the fullscreen window, thus moving your mouse to it pops up the host panel. But maybe this is just caused by me messing with some settings first. I've worked around it it by changing the host panel width for now - it sticks to the left side of screen now. Actually i like this behavior even more, because it allows me to trigger host-side keyboard shortcuts more easily,.
It's too early to judge, but this is definitely a relief over the non-patched version:)
Give it a try.
Offline
[ Generated in 0.010 seconds, 8 queries executed - Memory usage: 587.26 KiB (Peak: 604.1 KiB) ]