FS#47926 - [cantata] Please add -DENABLE_TOUCH_SUPPORT=ON to build options

Attached to Project: Community Packages
Opened by Bart De Vries (mogw_ai) - Thursday, 28 January 2016, 14:16 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 28 January 2016, 22:09 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Cantata has built-in support for touch screens (through Qt). By default, this option is switched off. It can be switched on through a setting in the options menu.
In previous versions (1.5.x), this option was available in the standard build (no particular precompiler flags needed), but switched off by default.

However, in the new 2.0.0 version, this capability has been moved behind a precompiler switch (ENABLE_TOUCH_SUPPORT). Without this switch, cantata will not show the touch-friendliness toggle button in the options menu. With this switch, it reverts to the old behaviour, i.e. touch support is off by default but can be switched on through the options menu.

So, this precompiler switch only adds functionality (which I was using in the old version) without impacting the default behaviour of the program. Could you, therefore, please add this precompiler flag to the PKGBUILD?

Additional info:
* package version(s): 2.0.0
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 28 January 2016, 22:09 GMT
Reason for closing:  Implemented
Additional comments about closing:  cantata 2.0.0-2
Comment by Antonio Rojas (arojas) - Thursday, 28 January 2016, 14:34 GMT
According to https://github.com/CDrummond/cantata/commit/5d7f2e this only works on Windows. Have you checked if it actually works?
Comment by Bart De Vries (mogw_ai) - Thursday, 28 January 2016, 14:40 GMT
It definitely worked on 1.5.x. I have been using that option on a Raspberry Pi2 with touchscreen for months. It's possible that not all the touch-friendly features are supported (I don't have a windows version to compare to), but it's definitely way better than with the touch support switched off. At least all the lists are flickable.

I suggest that I'll rebuild with this option switched on, and I'll then provide feedback on whether this is still the case with this 2.0.0 version?
Comment by Antonio Rojas (arojas) - Thursday, 28 January 2016, 18:35 GMT
Yes, please
Comment by Bart De Vries (mogw_ai) - Thursday, 28 January 2016, 20:17 GMT
I have rebuilt, and I can confirm that the touch support features work on Arch, just like they did in the 1.5.x versions.
As already mentioned, maybe not all of the features work, but the main ones do. Without this support, cantata is useless on touchscreen devices.

Loading...