Hi,
I've been using sway for a couple of weeks. Great work :).
I have a Lenovo Yoga 3 14'', which has a touchscreen. It seems to be supported with different X desktops like LXDE, Unity, i3, but not on sway. It can scroll and sometimes pinch and zoom, but the focused element is usually wrong. I can't tap on any button because of this focus issue.
I just installed Weston, and it seems like touch works pretty well on weston-terminal, but I opened pcmanfm and I couldn't even hit the close button (pretty much what happens on sway). However, a weston-terminal window in sway doesn't work well.
Anyway, I'm not sure who has to work on touch support (Wayland? WLC? Sway?), so I'm posting this here as a starting point.
Thanks,
MartÃn.
Probably best for this to go into wlc. It provides us some touch stuff but it doesn't work well.
@tinchou I'm going to take a look at this, could you explain in very descriptive detail what's going wrong, why you think it's happening, and what you expect to be happening?
I'm having trouble with my Arch installation at the moment. Will let you
know when I can test this!
On Fri, Dec 23, 2016, 04:18 Gregory Mullen notifications@github.com wrote:
@tinchou https://github.com/tinchou I'm going to take a look at this,
could you explain in very descriptive detail what's going wrong, why you
think it's happening, and what you expect to be happening?—
You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub
https://github.com/SirCmpwn/sway/issues/721#issuecomment-268950052, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABeg9L8r5Fct2KJXdKeyvHS7R-iyojoqks5rK3XWgaJpZM4I7EQF
.
Hi, I'm back :).
Let's start with a very simple feature: I want to be able to touch buttons!
My primary use case is Google Chrome, but even with a native app like pcmanfm I can't touch them.
But that is very weird because scrolling and zooming kind of works. With Chrome, I am able to scroll the page, but the behavior is very weird:
So work on it?
That's a great idea, but I haven't found the time yet. @GrayHatter seems to be interested in working on this, so I'm trying to help in some way.
Yeah, I'm planning to put a little work in to touchscreen on sway when I get a few other projects cleaned up.
Hi!
Any progress on this? I just started with sway, as it seemed to be the only option for my yoga notebook with a second screen (not hidpi). Is there some way I could help?
Thanks
I'd love to see a tiling window manager with solid touchscreen support. Maybe I'm wrong, but from my experience tiling window managers always seem to lack touch support entirely, and even have poor mouse support. While being keyboard-friendly is an advantage of TWMs, that doesn't mean mouse or touch support should be abandoned. A good use case for this in my opinion would be hybrid tablets/laptops. People often recommend TWMs on laptops to make use of the limited screen space and be more effective with a keyboard, but as soon as you switch it to tablet mode you need to rely on touch input only.
I managed to calibrate my touchscreen accuracy following this article. It seems that both the status bar (i3status) and the window title bar introduce an offset of 40 px in my setup. Now it works rather well with certain programs. It is not the case of Firefox/Chrome; I think it also depends on the software support for touch interaction.
Window focus and screen splitting are still problematic.
Example configuration for the aforementioned guide.
total_width = 1366
total_height = 768
touch_area_x_offset = 0
touch_area_y_offset = -40
touch_area_width = total_width
touch_area_height = total_height
For anyone finding this page while searching touchscreen issues, I'll just note that my touchscreen on my Dell Latitude E7250 works great after I configured it with:
input 1003:35459:Atmel map_to_output eDP-1
See man 5 sway-input for the setting.
Most helpful comment
I'd love to see a tiling window manager with solid touchscreen support. Maybe I'm wrong, but from my experience tiling window managers always seem to lack touch support entirely, and even have poor mouse support. While being keyboard-friendly is an advantage of TWMs, that doesn't mean mouse or touch support should be abandoned. A good use case for this in my opinion would be hybrid tablets/laptops. People often recommend TWMs on laptops to make use of the limited screen space and be more effective with a keyboard, but as soon as you switch it to tablet mode you need to rely on touch input only.