! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Dragging xfce4-terminal to screen borders, doesn't work as expected
Status:
RESOLVED: MOVED
Product:
Xfce4-terminal
Component:
General

Comments

Description Riccardo Torre 2019-09-02 10:50:36 CEST
Created attachment 8979 
xfce4-terminal doesn't attach to screen borders automatically

If I drag xfce4-terminal to a screen border, it doesn't fit well attached. There's a little space as reported in the image linked below. This happens every time in all the borders of the screen, not only in the right upper corner. 


Some info:
System:
  Host: riccardo-pc Kernel: 5.2.11-arch1-1-ARCH x86_64 bits: 64 
  compiler: gcc v: 9.1.0 Desktop: Xfce 4.14.1 
  Distro: ArcoLinuxB-xfce-bare v19.07.9 
Machine:
  Type: Laptop System: Hewlett-Packard product: HP ProBook 450 G2 
  v: A3009DD10303 serial: <filter> 
  Mobo: Hewlett-Packard model: 2248 v: KBC Version 67.24 serial: <filter> 
  BIOS: Hewlett-Packard v: M74 Ver. 01.09 date: 01/26/2015 
Battery:
  ID-1: BAT0 charge: 24.2 Wh condition: 29.2/29.2 Wh (100%) 
  model: Hewlett-Packard Primary status: Charging 
CPU:
  Topology: Dual Core model: Intel Core i7-4510U bits: 64 type: MT MCP 
  arch: Haswell rev: 1 L2 cache: 4096 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 20761 
  Speed: 798 MHz min/max: 800/3100 MHz Core speeds (MHz): 1: 798 2: 798 
  3: 799 4: 799 
Graphics:
  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Hewlett-Packard 
  driver: i915 v: kernel bus ID: 00:02.0 
  Display: x11 server: X.Org 1.20.5 driver: intel resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa DRI Intel Haswell Mobile v: 4.5 Mesa 19.1.5 
  direct render: Yes 
Audio:
  Device-1: Intel Haswell-ULT HD Audio vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus ID: 00:03.0 
  Device-2: Intel 8 Series HD Audio vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Sound Server: ALSA v: k5.2.11-arch1-1-ARCH 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: kernel port: 4000 bus ID: 08:00.0 
  IF: enp8s0 state: down mac: <filter> 
  Device-2: Realtek RTL8723BE PCIe Wireless Network Adapter 
  vendor: Hewlett-Packard driver: rtl8723be v: kernel port: 3000 
  bus ID: 09:00.0 
  IF: wlo1 state: up mac: <filter> 
Drives:
  Local Storage: total: 353.99 GiB used: 12.29 GiB (3.5%) 
  ID-1: /dev/sda vendor: Toshiba model: MQ01ABD032 size: 298.09 GiB 
  ID-2: /dev/sdb vendor: Dogfish model: SSD 60G size: 55.90 GiB 
Partition:
  ID-1: / size: 54.77 GiB used: 8.79 GiB (16.1%) fs: ext4 dev: /dev/sdb1 
  ID-2: /home size: 283.55 GiB used: 3.50 GiB (1.2%) fs: ext4 dev: /dev/sda2 
  ID-3: swap-1 size: 9.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda1 
Sensors:
  System Temperatures: cpu: 43.0 C mobo: 0.0 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 189 Uptime: 1h 03m Memory: 7.66 GiB used: 1.63 GiB (21.2%) 
  Init: systemd Compilers: gcc: 9.1.0 Shell: bash v: 5.0.9 inxi: 3.0.35
Comment 1 Igor editbugs 2019-09-03 20:18:00 CEST
Hi Riccardo, I cannot reproduce the issue here.

I assume you have "Window snapping" to screen borders enabled, correct?
Does this only happen with xfce4-terminal? What about other terminal emulators, e.g. gnome-terminal?
Comment 2 Riccardo Torre 2019-09-04 09:23:57 CEST
Looking at the settings through xfconf, I found snap_to_border  enabled and snap_to_windows disabled.
So I tried the following steps:

1) I tried with gnome-terminal and it has the same behaviour. On the other hand, Termite (another terminal emulator) doesn't seem to have that problem, and it snaps to the window correctly. 
2)I tried disabling snap_to_border and enabling snap_to_windows, but the issue remains. 
2.1)I tried enabling both but same as 2)
3) I tried disabling the window compositor (I don't use other wm, only xfwm4) and the result is the same as 2), 2.1) and 1).

Notice that this happens to me only with the terminal emulator of Gnome and Xfce. But the strangest thing is that the other applications don't present that problem.
Comment 3 Igor editbugs 2019-09-04 21:06:18 CEST
What is your xfwm4 version?

Another idea - have you tried any other gtk theme? For example, could you try Adwaita or Greybird?
Comment 4 Riccardo Torre 2019-09-05 09:15:25 CEST
I tried both themes, but nothing changed.
Comment 5 Riccardo Torre 2019-09-05 12:27:58 CEST
The command below gives

 xfwm4 --version

	This is xfwm4 version 4.14.0 (revision ed87ef663) for Xfce 4.14
	Released under the terms of the GNU General Public License.
	Compiled against GTK+-3.24.10, using GTK+-3.24.10.

	Build configuration and supported features:
	- Startup notification support:                 Yes
	- XSync support:                                Yes
	- Render support:                               Yes
	- Xrandr support:                               Yes
	- Xpresent support:                             Yes
	- Embedded compositor:                          Yes
	- Epoxy support:                                Yes
	- KDE systray proxy (deprecated):               No
Comment 6 Igor editbugs 2019-09-05 14:53:00 CEST
This is weird. I guess I'll have to try it myself.
Based on the system info you posted (thanks for that!) I assume you're using "arcolinuxb-xfce-bare-v19.07.9.iso" - is that correct?
Comment 7 Igor editbugs 2019-09-05 15:24:34 CEST
Seems to work fine for me (under VirtualBox)... https://i.imgur.com/9NrG7sR.png
Comment 8 Riccardo Torre 2019-09-06 09:53:06 CEST
(In reply to Igor from comment #6)
> This is weird. I guess I'll have to try it myself.
> Based on the system info you posted (thanks for that!) I assume you're using
> "arcolinuxb-xfce-bare-v19.07.9.iso" - is that correct?

Dear Igor, yes, of course, I'm using that distro. But the same issue appears on Arch Linux. (Because of Arcolinux derivates from Arch Linux)

I want to ask you, just to confirm, what happens if you try on the real hardware using the live image of Arcolinux? 

Please try this for me, I'll really appreciate.
Comment 9 Igor editbugs 2019-09-09 20:49:51 CEST
I've been using Arch Linux on my home machine for 10+ years and cannot recall any problem with snapping windows to window borders.

I will look into running Arcolinux on a real HW but cannot promise anything.
Meanwhile, do you have any other machine to try the distro on?
Comment 10 Riccardo Torre 2019-09-10 09:24:20 CEST
Fortunately yes, I'll try booting the live system (Arcolinux) on my brother's laptop. Thank you Igor :))))
Comment 11 Riccardo Torre 2019-09-23 17:31:23 CEST
Hi Igor, finally I tried the live USB on my brother's PC. (I had to unlock the safety boot lock)

Unfortunately, the issue appears here too.

His HW info is:

[manjaro@manjaro ~]$ inxi -Fxz
System:
  Host: manjaro Kernel: 5.2.11-1-MANJARO x86_64 bits: 64 
  compiler: gcc v: 9.1.0 Desktop: Xfce 4.14.1 
  Distro: Manjaro Linux 
Machine:
  Type: Laptop System: Acer product: Aspire ES1-531 v: V1.11 
  serial: <filter> 
  Mobo: Acer model: Aspire ES1-531 v: V1.11 serial: <filter> 
  UEFI: Insyde v: 1.11 date: 07/21/2015 
Battery:
  ID-1: BAT0 charge: 15.2 Wh condition: 29.6/37.8 Wh (78%) 
  model: SMP-SDI3320 AC14B18J status: Discharging 
CPU:
  Topology: Quad Core model: Intel Pentium N3700 bits: 64 
  type: MCP arch: Airmont rev: 3 L2 cache: 1024 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 12805 
  Speed: 480 MHz min/max: 480/2400 MHz Core speeds (MHz): 
  1: 657 2: 512 3: 518 4: 503 
Graphics:
  Device-1: Intel Atom/Celeron/Pentium Processor 
  x5-E8000/J3xxx/N3xxx Integrated Graphics 
  vendor: Acer Incorporated ALI driver: i915 v: kernel 
  bus ID: 00:02.0 
  Display: x11 server: X.Org 1.20.5 driver: intel 
  unloaded: modesetting resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 405 (Braswell) 
  v: 4.5 Mesa 19.1.5 direct render: Yes 
Audio:
  Device-1: Intel Atom/Celeron/Pentium Processor 
  x5-E8000/J3xxx/N3xxx Series High Definition Audio 
  vendor: Acer Incorporated ALI driver: snd_hda_intel 
  v: kernel bus ID: 00:1b.0 
  Sound Server: ALSA v: k5.2.11-1-MANJARO 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit 
  Ethernet 
  vendor: Acer Incorporated ALI driver: r8169 v: kernel 
  port: 1000 bus ID: 01:00.0 
  IF: enp1s0 state: down mac: <filter> 
  Device-2: Qualcomm Atheros QCA9565 / AR9565 Wireless Network 
  Adapter 
  vendor: Foxconn driver: ath9k v: kernel port: 1000 
  bus ID: 02:00.0 
  IF: wlp2s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 465.76 GiB used: 51.3 MiB (0.0%) 
  ID-1: /dev/sda vendor: Western Digital 
  model: WD5000LPCX-21VHAT0 size: 465.76 GiB 
Partition:
  ID-1: / size: 2.76 GiB used: 51.3 MiB (1.8%) fs: overlay 
  source: ERR-102 
Sensors:
  System Temperatures: cpu: 48.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 175 Uptime: 9m Memory: 3.68 GiB 
  used: 677.6 MiB (18.0%) Init: systemd Compilers: gcc: 9.1.0 
  Shell: bash v: 5.0.9 inxi: 3.0.36 


I leave this report opened, hoping that devs I'll solve the problem as soon as possible, even if it is not a security issue or something dangerous... So I don't give it too much importance :D
Comment 12 Git Bot editbugs 2020-05-24 23:45:31 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/apps/xfce4-terminal/-/issues/38.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #15915

Reported by:
Riccardo Torre
Reported on: 2019-09-02
Last modified on: 2020-05-24

People

CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information