Chromium >=94 window move_frame gets wrong position

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
MyPhyja
Level 1
Level 1
Posts: 2
Joined: Thu Sep 10, 2020 11:01 pm

Chromium >=94 window move_frame gets wrong position

Post by MyPhyja »

I think this is a bug, but I'm not sure what it's a bug in. Is it a Chromium bug, a Cinnamon bug, or something else? Any help narrowing down where the problem is is greatly appreciated.

For context, I noticed this because the gTile extension started tiling my Chromium windows incorrectly.

It started in Chromium 94, and I tried the beta channel of Chrome 95 and this issue exists there as well.

Here's how to reproduce it:
  1. Open Chromium and go to Settings -> Appearance and make sure "Use system title bar and borders" is turned off
  2. Make sure the Chromium window is not maximized
  3. Open Melange (Super+L)
  4. Go to the "Windows" tab in Melange and see what window Chromium is (e.g. mine right now is w(28))
  5. In the evaluate box in Melange, enter w(28).move_frame(true, 0, 0) (replacing w(28) with your window)
After doing this you'll see that the Chromium window does not actually move to the top left like it should using (0, 0). There's a space above and to the left. The window seems to be 8 pixels too low and 15 pixels too far to the right.

Image

I tried reproducing this in Ubuntu (using Looking Glass instead of Melange), but the problem did not happen there.

This happens on both my desktop and laptop computers, but the specs below are for my desktop. I'm running Linux Mint 20.2 64-bit Cinnamon. Here's the detailed info:

Code: Select all

System:
  Kernel: 5.4.0-89-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 5.0.6 wm: muffin 5.0.2 dm: LightDM 1.30.0 
  Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal 
Machine:
  Type: Desktop System: Dell product: Precision 3630 Tower v: N/A 
  serial: <filter> Chassis: type: 3 serial: <filter> 
  Mobo: Dell model: 0Y2K8N v: A02 serial: <filter> UEFI: Dell v: 2.10.0 
  date: 07/12/2021 
Battery:
  Device-1: hidpp_battery_0 model: Logitech MK700 serial: <filter> 
  charge: 70% (should be ignored) rechargeable: yes status: Discharging 
  Device-2: hidpp_battery_1 
  model: Logitech Marathon Mouse/Performance Plus M705 serial: <filter> 
  charge: 55% (should be ignored) rechargeable: yes status: Discharging 
CPU:
  Topology: 8-Core model: Intel Core i7-9700 bits: 64 type: MCP 
  arch: Kaby Lake rev: D L2 cache: 12.0 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 48000 
  Speed: 800 MHz min/max: 800/4700 MHz Core speeds (MHz): 1: 800 2: 800 
  3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 
Graphics:
  Device-1: Intel UHD Graphics 630 vendor: Dell driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:3e98 
  Device-2: AMD Lexa XT [Radeon PRO WX 3200] vendor: Dell driver: amdgpu 
  v: kernel bus ID: 01:00.0 chip ID: 1002:6981 
  Display: x11 server: X.Org 1.20.11 driver: amdgpu,ati,modesetting 
  unloaded: fbdev,vesa resolution: 3440x1440~60Hz 
  OpenGL: renderer: AMD Radeon Pro WX 3200 Series (POLARIS12 DRM 3.35.0 
  5.4.0-89-generic LLVM 12.0.0) 
  v: 4.6 Mesa 21.0.3 direct render: Yes 
Audio:
  Device-1: AMD Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X] 
  vendor: Dell driver: snd_hda_intel v: kernel bus ID: 01:00.1 
  chip ID: 1002:aae0 
  Device-2: Logitech HD Webcam C910 type: USB driver: snd-usb-audio,uvcvideo 
  bus ID: 1-11:6 chip ID: 046d:0821 serial: <filter> 
  Sound Server: ALSA v: k5.4.0-89-generic 
Network:
  Device-1: Intel Ethernet I219-LM vendor: Dell driver: e1000e v: 3.2.6-k 
  port: efa0 bus ID: 00:1f.6 chip ID: 8086:15bb 
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  IF-ID-1: docker0 state: down mac: <filter> 
  IF-ID-2: gpd0 state: down mac: N/A 
  IF-ID-3: virbr0 state: down mac: <filter> 
  IF-ID-4: virbr0-nic state: down mac: <filter> 
Drives:
  Local Storage: total: 1.38 TiB used: 290.81 GiB (20.6%) 
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: PC601A NVMe 512GB 
  size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 80001111 
  scheme: GPT 
  ID-2: /dev/sda vendor: Crucial model: CT1000MX500SSD1 size: 931.51 GiB 
  speed: 6.0 Gb/s serial: <filter> rev: 023 scheme: GPT 
Partition:
  ID-1: / size: 329.10 GiB used: 260.59 GiB (79.2%) fs: ext4 
  dev: /dev/nvme0n1p5 
Sensors:
  System Temperatures: cpu: 49.0 C mobo: N/A gpu: amdgpu temp: 58 C 
  Fan Speeds (RPM): cpu: 1675 fan-2: 922 gpu: amdgpu fan: 2106 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list 
  1: deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable
  Active apt repos in: /etc/apt/sources.list.d/filebot.list 
  1: deb [arch=all] https://get.filebot.net/deb/ universal main
  Active apt repos in: /etc/apt/sources.list.d/google-chrome-beta.list 
  1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
  1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/libretro-stable-focal.list 
  1: deb http://ppa.launchpad.net/libretro/stable/ubuntu focal main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb https://mirrors.xmission.com/linuxmint uma main upstream import backport
  2: deb http://mirrors.xmission.com/ubuntu focal main restricted universe multiverse
  3: deb http://mirrors.xmission.com/ubuntu focal-updates main restricted universe multiverse
  4: deb http://mirrors.xmission.com/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
  Active apt repos in: /etc/apt/sources.list.d/slack.list 
  1: deb https://packagecloud.io/slacktechnologies/slack/debian/ jessie main
  Active apt repos in: /etc/apt/sources.list.d/vscode.list 
  1: deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main
  Active apt repos in: /etc/apt/sources.list.d/yannubuntu-boot-repair-focal.list 
  1: deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal main
Info:
  Processes: 361 Uptime: 10h 08m Memory: 15.50 GiB used: 5.07 GiB (32.7%) 
  Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash 
  v: 5.0.17 running in: gnome-terminal inxi: 3.0.38 
Thanks.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Software & Applications”