Xubutnu xfwm4 window tiling shortcuts not working as expected

Bug #1968506 reported by Daniel Papp
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
xfwm4 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Testing Xubuntu 22.04, using xfwm4 4.16.1-1. It's a regression from Xubutnu 21.10. It can be easily reproduced with a livecd. Altough window tiling shortcuts are seemingly correct in window manager settings a few act weirdly. Precisely:
Super + Up does nothing
Super + right does nothing
Super + down (numeric) moves the window UP (most weird)
Super + left (numeric) does nothing
Super + up (numeric) does nothing
All other tiling shortcuts works as expected. (Super +left, Super + down, Super + numeric right, super + numeric 1,3,7,9)

Another weird thing, if I edit the shortcut "Tile window to the top" to Super + Up, so same as before, it starts working, but the fix seems not permanent.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu80
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.468
CurrentDesktop: XFCE
DistroRelease: Ubuntu 22.04
LiveMediaBuild: Xubuntu 22.04 LTS "Jammy Jellyfish" - Daily amd64 (20220411)
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
Package: xfwm4 4.16.1-1
PackageArchitecture: amd64
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30
Tags: jammy
Uname: Linux 5.15.0-25-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True

Revision history for this message
Chris Guiver (guiverc) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

apport-collect 1968506

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

tags: added: jammy
Revision history for this message
Daniel Papp (pdaniel) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Daniel Papp (pdaniel) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Sebastian Benvenuti (sebastianbenvenuti) wrote :

The same happened to mi brand new xubuntu installation. Looks like the default shortcuts on the Window Manager Keyboard Settings are conflicting.
At first Tiling only worked to super+left and super+down, but not right or up.
While checking the shortcuts, I noticed the Numeric Pad ones are backwards:
Super+(Right arrow) and Super+(Numeric Pad Left arrow) are used for the same
Also with down arrow and up numeric pad.

The fix is easy and permanent, just reconfigure the shortcuts and remove the conflict.

checking /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml all seems fine, only arrows and corner KP_{1,3,7,9} are assigned, thats odd!

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xfwm4 (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastian Benvenuti (sebastianbenvenuti) wrote :
Download full text (7.3 KiB)

It seems to me that these files in /etc/xdg are concatenated to create the user config, creating conflicting duplicates. Plus, a couple are upside-down.

Either clearing the conflicting lines in one of them, preferably the /etc/xdg/xfce4 one so we keep the Xubuntu customization intact, or using a script to combine them with prioritized de-duplication in mind should do the trick.

In any case, there are wrongly assigned keys (up per down and viceversa)

That's why manually changing the shortcuts is a permanent (per user) fix.

Let's make Xubuntu better together! :-)

grep -i super /etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
--- OK ---
      <property name="&lt;Super&gt;l" type="string" value="xflock4"/>
      <property name="&lt;Super&gt;p" type="string" value="xfce4-display-settings --minimal"/>
      <property name="&lt;Super&gt;w" type="string" value="exo-open --launch WebBrowser"/>
      <property name="&lt;Super&gt;m" type="string" value="exo-open --launch MailReader"/>
      <property name="&lt;Super&gt;f" type="string" value="exo-open --launch FileManager"/>
      <property name="&lt;Super&gt;F1" type="string" value="xfce4-find-cursor"/>
      <property name="&lt;Super&gt;t" type="string" value="exo-open --launch TerminalEmulator"/>
      <property name="&lt;Super&gt;r" type="string" value="xfrun4"/>
      <property name="&lt;Super&gt;e" type="string" value="exo-open --launch FileManager"/>
      <property name="&lt;Super&gt;KP_1" type="string" value="tile_down_left_key"/>
      <property name="&lt;Super&gt;Down" type="string" value="tile_down_key"/>
      <property name="&lt;Super&gt;KP_3" type="string" value="tile_down_right_key"/>
      <property name="&lt;Super&gt;Left" type="string" value="tile_left_key"/>
      <property name="&lt;Super&gt;Right" type="string" value="tile_right_key"/>
      <property name="&lt;Super&gt;KP_7" type="string" value="tile_up_left_key"/>
      <property name="&lt;Super&gt;Up" type="string" value="tile_up_key"/>
      <property name="&lt;Super&gt;KP_9" type="string" value="tile_up_right_key"/>
      <property name="&lt;Super&gt;d" type="string" value="show_desktop_key"/>
      <property name="&lt;Super&gt;Tab" type="string" value="switch_window_key"/>
--- OK ---

grep -i super /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
--- BAD CONFIG ---
      <property name="&lt;Super&gt;p" type="string" value="xfce4-display-settings --minimal"/>
      <property name="&lt;Super&gt;e" type="string" value="thunar"/>
      <property name="&lt;Super&gt;r" type="string" value="xfce4-appfinder -c">
      <property name="&lt;Super&gt;Tab" type="string" value="switch_window_key"/>
      <property name="<Super>KP_Left" type="string" value="tile_left_key"/>
      <property name="<Super>KP_Right" type="string" value="tile_right_key"/>
BAD LINE <property name="<Super>KP_Up" type="string" value="tile_down_key"/>
BAD LINE <property name="<Super>KP_Down" type="string" value="tile_up_key"/>
      <property name="<Super>KP_Page_Up" type="string" value="tile_up_right_key"/>
      <property name="<Super>KP_Home" type="string" value="tile_up_left_key"/>
      <...

Read more...

Revision history for this message
Sebastian Benvenuti (sebastianbenvenuti) wrote :

      <property name="&lt;Super&gt;KP_1" type="string" value="tile_down_left_key"/>
      <property name="&lt;Super&gt;KP_2" type="string" value="tile_down_key"/>
      <property name="&lt;Super&gt;KP_Down" type="string" value="tile_down_key"/>
      <property name="&lt;Super&gt;Down" type="string" value="tile_down_key"/>
      <property name="&lt;Super&gt;KP_3" type="string" value="tile_down_right_key"/>
      <property name="&lt;Super&gt;KP_4" type="string" value="tile_left_key"/>
      <property name="&lt;Super&gt;KP_Left" type="string" value="tile_left_key"/>
      <property name="&lt;Super&gt;Left" type="string" value="tile_left_key"/>
      <property name="&lt;Super&gt;KP_6" type="string" value="tile_right_key"/>
      <property name="&lt;Super&gt;KP_Right" type="string" value="tile_right_key"/>
      <property name="&lt;Super&gt;Right" type="string" value="tile_right_key"/>
      <property name="&lt;Super&gt;KP_7" type="string" value="tile_up_left_key"/>
      <property name="&lt;Super&gt;KP_8" type="string" value="tile_up_key"/>
      <property name="&lt;Super&gt;KP_Up" type="string" value="tile_up_key"/>
      <property name="&lt;Super&gt;Up" type="string" value="tile_up_key"/>
      <property name="&lt;Super&gt;KP_9" type="string" value="tile_up_right_key"/>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.