bugMyPaint - Bugs: bug #20302, [GTK]Not known tablets get skipped...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #20302: [GTK]Not known tablets get skipped without notice

Submitted by:  Lukas Weber <laochailan>
Submitted on:  Sat 17 Nov 2012 09:44:13 AM UTC  
 
Severity: 3 - NormalPriority: 5 - Normal
Status: ConfirmedPrivacy: Public
Assigned to: NoneOpen/Closed: Open
Release: gitPlanned Release: None
Operating System: Arch Linux

(Jump to the original submission Jump to the original submission)

Tue 18 Dec 2012 07:48:44 PM UTC, comment #8:

We could fetch a list from the web, maybe. Either way, it's a huuuge hack around a GTK+ bug.

Martin Renold <martinxyz>
Project Administrator
Tue 18 Dec 2012 06:18:43 PM UTC, comment #7:

Looks like we need to recognise "UC-LOGIC TWA60" too: see bug #20377. Notable for not having anything other than a make and model number in its name :(

Gah. We need some sort of override for the whitelist/blacklist system to cope with new unrecognised tablets, clearly.

Andrew Chadwick <achadwick>
Project Administrator
Fri 23 Nov 2012 08:08:39 PM UTC, comment #6:

We already did recognize "Tablet", but only as a whole word. Should be fixed in git now to match anywhere in the string.

Martin Renold <martinxyz>
Project Administrator
Fri 23 Nov 2012 04:10:25 AM UTC, comment #5:

My tablet isn no longer working out of the box.

Hope this helps.

Bus 007 Device 002: ID 5543:0042 UC-Logic Technology Corp. Tablet PF1209

Device " TabletPF1209" has a pressure axis
Skipping " TabletPF1209" (not in the list of known tablets)
Device " TabletPF1209" has a pressure axis
Skipping " TabletPF1209" (not in the list of known tablets)
Device " TabletPF1209" has a pressure axis
Skipping " TabletPF1209" (not in the list of known tablets)

No pressure sensitive devices found.
device change: TabletPF1209 <enum GDK_SOURCE_MOUSE of type GdkInputSource>

This is the exact tablet that I am using (great value!)
http://www.monoprice.com/products/product.asp?c_id=108&cp_id=10841&cs_id=1084101&p_id=6815&seq=1&format=2

Cheers

Todd McCullough <tamccullough>
Thu 22 Nov 2012 07:11:04 PM UTC, comment #4:

The main problem that I see (also in the bugreport title) is that the average user gets no hint that something has gone wrong. We cannot really fix that without annoying many other users with silly questions. The number of mouse vendors is endless, better chance to list all the tablets.

The current workaround is to use the GTK device dialog at startup. It is very hard to discover (hidden in the help menu, where I guess users would serach in the settings first). This at least could be fixed.

But IMO it's not worth the effort to do much more (of course, absolutely no objection if someone wants to do it). It was a workaround for a GTK+ bug to start with, better invest the time to check if it's fixed in GTK 3.x, if not, fix it there.

Martin Renold <martinxyz>
Project Administrator
Thu 22 Nov 2012 12:41:43 PM UTC, comment #3:

Looking at the bug title, this looks like an ongoing thing; I've set it back to Confirmed so we don't accidentally close it or mark it fixed before we've addressed the underlying problems.

Martin: would a combination of good tested heuristics like the ones we have right now, plus user overrides for the (hopefully rare) occasions when the whitelist and blacklist get it wrong strike the right balance? I want it to Just Work out of the box too, and it should for common devices; but given that we're always at the mercy of gtk libs, xorg drivers, and distributors' wacom_drv udev/xorg.conf.d whims, we could do with a simple way of overriding the heuristics some of the time.

Andrew Chadwick <achadwick>
Project Administrator
Thu 22 Nov 2012 11:28:33 AM UTC, comment #2:

works for me now.

Lukas Weber <laochailan>
Sat 17 Nov 2012 10:59:06 AM UTC, comment #1:

I have added Aiptek to the list of known tablets. Please tell if you know of more names that we should add. I'm not happy that we have to maintain a list, neither.

For reference, the list is here:

https://gitorious.org/mypaint/mypaint/blobs/master/gui/application.py#line448

MyPaint is supposed to just work (including pressure) at first startup, not ask the user "this logitech receiver device might be a tablet, do you want to enable it? It may break random things if you do." You start this program to paint, not to read about GTK+ bugs that may or may not affect you.

If you want to make a more friendly way to enable un-detected tablets permanently, for example in the preferences, you're of course welcome to submit a patch. But I think the current way of detecting tablets with whitelist/blacklist is the best we can do given how GTK+ 2.x behaves. (Maybe it will be better once we switch to GTK+ 3.x.)

Martin Renold <martinxyz>
Project Administrator
Sat 17 Nov 2012 09:44:13 AM UTC, original submission:

Since some time ago my Aiptek tablet started not getting recognized by mypaint anymore. First I thought something is wrong with the driver, then I checked the console output:

Although my tablet works just fine. Adding "Aiptek" to the list of known tablets (whereever it is written) would solve it for me, but I think this needs a notification popup and a checkbox "[x] use it anyway". Because now the only way to make it work is to go to Debug > GTK Input Device Dialog every time I start mypaint.

Lukas Weber <laochailan>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jonnor (Updated the item)
  • -unavailable- added by achadwick
  • -unavailable- added by tamccullough (Posted a comment)
  • -unavailable- added by achadwick (Updated the item)
  • -unavailable- added by martinxyz (Posted a comment)
  • -unavailable- added by laochailan (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 05 Jan 2013 01:15:50 PM UTCjonnorSummarynot known tablets get skipped without notice=>[GTK]Not known tablets get skipped without notice
    Tue 18 Dec 2012 06:19:27 PM UTCachadwickCarbon-Copy-=>Added americo
    Thu 22 Nov 2012 12:41:43 PM UTCachadwickStatusReady For Test=>Confirmed
    Thu 22 Nov 2012 04:44:58 AM UTCachadwickStatusNone=>Ready For Test
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup