FydeOS / chromium_os-raspberry_pi

Build your Chromium OS for Raspberry Pi 4B, Pi400 and the latest Raspberry Pi 5

Home Page:https://chromiumos.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Issue report] Tablet gestures not working with official Raspberry Pi Touch Display

cletusw opened this issue · comments

Describe the bug or issue
Tablet Mode gestures (except swipe from left to go back) not working.

Describe your setup

  • Raspberry Pi 4B with 2GB RAM
  • Chromium OS r96 r1
  • Pi connected via DSI + 5V + GND to an official Raspberry Pi Touch Display
    • This required switching from KMS to FKMS in config.txt: dtoverlay=vc4-fkms-v3d

To Reproduce

  1. Enter Tablet Mode
    1. Enable "Debugging keyboard shortcuts" flag
    2. Click the Restart button
    3. Press Ctrl + Alt + Shift+ T to switch to Tablet Mode
  2. Open an app
  3. Swipe up from the bottom -- tried long, short, swipe + hold

Expected behaviour
OS should show Home or Pinned apps or All open app windows, respectively.

Actual behavior
A regular scroll happens

Note swiping in from the left edge of the screen to go back works fine, so I don't think it's a hardware issue.

Also any pointers on booting into Tablet Mode would be great since I don't intend to have a physical keyboard connected once set up, thanks!

Edit: https://source.chromium.org/chromium/chromium/src/+/master:ash/wm/tablet_mode/tablet_mode_controller.cc;l=1300-1318;drc=6fa3b54df432518a2966cfab92bed34ba95c6363 is probably what I'm looking for. Just have to find the best way to make one of these branches always evaluate to true.

commented

This is a known limitation to Chromium OS, as the Chromium OS we released believes you are having a "Chromebox", not a Chrometablet. At this moment we do not have any intention to change this behaviour and it is thus outside the scope of this project.

You are welcome to modify the chromium source and build the OS yourself to meet your needs, this is exactly one of the reasons that this project exists.