Webconverger / webc

Webconverger's curated chroot from which updates originate
https://webconverger.org/upgrade/
73 stars 37 forks source link

Why not build in function Grab and Drag in the distribution Webconverger #155

Closed nek-v closed 11 years ago

nek-v commented 11 years ago

Sorry for the horrible English. Why not build in function Grab and Drag in the distribution Webconverger? I adapted Webconverger for a terminal with touch screen, using the addon of Grab and Drag. Really miss this functionality.

kaihendry commented 11 years ago

I don't actually have a touch screen, so I've relied on contributions to document how to do "touch screen support". http://webconverger.org/touch_screen_calibration/

"Grab&Drag" looks interesting. It would be good if you could try document how you use it.

What is the hardware that you use exactly?

nek-v commented 11 years ago

Touch Monitor GeneralTouch DTL193 rotated 90 ° Webconverger launched with options xrandr-all=--rotate%20left chrome=webcfullscreen The distribution is integrated xinput-calibrator repository of Ubuntu. The configuration screen: ~/Debian-Live-config/webconverger/chroot/usr/share/X11/xorg.conf.d# cat 99-calibration.conf

Section "InputClass"
        Identifier      "calibration"
        MatchProduct    "USB Touchscreen 0dfc:0001"
        Option  "Calibration" "775 2112 605 2262"
        Option "SwapAxes" "1"
EndSection
kaihendry commented 11 years ago

Would be interesting if you took a photo or better a video of the interaction. :)

I should think how to offer an xorg API.

nek-v commented 11 years ago

Photo running a terminal?

kaihendry commented 11 years ago

A photo of the setup, not a terminal.

nek-v commented 11 years ago

I'm sorry, I do not really do not understand. Would you like to see the process of building and installing distribution or operating a screenshot of the terminal?

kaihendry commented 11 years ago

Building & installing would be interesting, though I was thinking more of a photograph/video of the machine in use. It's not important.

The important thing is to ensure Webconverger is a good base for supporting touch screen hardware and the tweaks it needs to support touch screen interaction with Web pages. So it would be great to some patches and experience of your work to help others.

kaihendry commented 11 years ago

Hi @nek-v, how did you set the defaults upon the extension? grabdrag

nek-v commented 11 years ago

I commented out the call to these dialogs in the file chroot/opt/firefox/extensions/{477c4c36-24eb-11da-94d4-00e08161165f}/chrome/grabanddrag/content/grabanddrag/grabanddrag.js

function gadShowOptions(intro) {
        if (intro) {
        //      window.openDialog("chrome://grabanddrag/content/gadIntro.xul", "gadIntro", "chrome=yes,dialog=yes,resizable=yes");
        } else {
        //      window.openDialog("chrome://grabanddrag/content/gadPrefs.xul", "gadPrefs", "chrome=yes,dialog=yes,resizable=yes");
        }
}
kaihendry commented 11 years ago

So without the dialog, the defaults are OK?

nek-v commented 11 years ago

In my case, yes.

kaihendry commented 11 years ago

Could you please take a look at: https://github.com/Webconverger/webc/commit/9d8b326ebca9dc80316e468855b594c5490b12f8

Which is activated by the API 'grabdrag'. I just tested it and it seems fine. Do you think it's alright to merge to master? I.e. you will find it useful and other people using touch screens @nek-v ? :-)

kaihendry commented 11 years ago

Hi @nek-v, do you think this is useful? I won't commit to master until at least one person might use this feature. :)

nek-v commented 11 years ago

Sorry, I am unable to test this feature at this time. Access to the platform on which it will be possible to test the new features will get until early next week.

kaihendry commented 11 years ago

Hey there, do you have any time in the near future to test this please @nek-v ? :-) Many thanks,

SergeevN commented 11 years ago

Hi! This is very useful feature. Waiting in master version.

SergeevN commented 11 years ago

On the my kiosk all working.

kaihendry commented 11 years ago

Hi @SergeevN, so you've tested my commit IIUC?

SergeevN commented 11 years ago

HI. Yes I'm tested this, and all working fine. Grabdrag with touchscreen is what was missing in Webconverger.

kaihendry commented 11 years ago

Thank you for verifying this, I will work on merging it shortly. :)