I've had two Dell XPS laptops (a 13" 2015 model and a 15" 2-in-1 2018 model). Both had significant touchpad issues: not sure if that's a driver thing or a hardware thing, but both would sometimes act as if there was a phantom touch somewhere on the trackpad which messed with my actual input. One of them had a keyboard where key caps of frequently used keys (super, shift, ctrl) would split in two after a ~year of use; this was not fixed under warranty, I paid out of pocket after a year of ownership, another year later it happened again.
After those two Dell XPS laptops, I got a MacBook Pro 2021 with an M1 Pro instead of getting the keyboard fixed again. No issues. Linux support isn't great, but at least macOS is a relatively competent UNIX so it's fine.
I might consider another non-Mac laptop in the future. But it's not gonna be a Dell.
Mostly Arch Linux at the time, though I've had Elementary OS on it as well. I used to run i3 (and eventually Sway) on it, which worked well since I could have a keyboard-centric workflow and not rely o bc the trackpad.
Interestingly, the touch screen of the 2-in-1 worked really well! I often relied on the touch screen to do light web browsing when the trackpad was acting up.
After those two Dell XPS laptops, I got a MacBook Pro 2021 with an M1 Pro instead of getting the keyboard fixed again. No issues. Linux support isn't great, but at least macOS is a relatively competent UNIX so it's fine.
I might consider another non-Mac laptop in the future. But it's not gonna be a Dell.