/srv/irclogs.ubuntu.com/2012/04/03/#ubuntu-accessibility.txt

joanieTheMuso: you still around?00:00
TheMusojoanie: Yup.00:00
joaniehelp me brainstorm because I need to hack(ish) around unity-greeter for flat review00:00
TheMusoOk I'll do what I can...00:01
joaniethe problem seems to be related to the lack of window manager and how Orca draws flat review 00:01
joanieWhen Orca draws the line it's a GtkWindow00:01
TheMusoYup, with you so far.00:01
joanieand Orca just keeps it on top00:01
TheMusoAh.00:01
TheMusoI was wondering how that was done.00:01
joaniewell, for some reason unity-greeter doesn't like this00:01
TheMusoRight.00:02
joanieperhaps because it doesn't have a window manager00:02
TheMusoIt doesn't.00:02
joanieso combine that with the bug I filed earlier00:02
joanieit gives focus back to whatever00:02
TheMusoIt only does the bare minimum to make sure shutdown/restart dialogs are on top and get focus.00:02
joanieand events stop00:02
TheMusoYup.00:02
joanieso the "solution" (not exactly, but....) is "don't draw the outline"00:02
joanieso I need to detect this condition00:03
joaniein looking at the registry00:03
joaniewhen unity-greeter is running there are two accessible applications:00:03
joanieunity-greeter and Orca00:03
TheMusoRight. One thing I was trying to do recently was probe the unity-greeter X display to see what properties were set, to see if such a property was set that we could check for.00:03
joaniea non-hack would be awesme00:03
joanieawesome too :)00:03
TheMusoHowever I was not able to do so from a terminal with xprop etc.00:03
joaniein the meantime, with 3.4.1 approaching00:03
joaniewhen I look at any "normal" environment -- even minimal, there are bunches more than 2 apps counting Orca00:04
TheMusoRight.00:04
joaniewhat other apps might show up in unity-greeter00:04
joanieI'm thinking if there are not at least three (or insert number here) apps, do flat review but don't draw the rectangle00:05
TheMusoOnly onboard, but thats not likely to be running at the same time as orca.00:05
joaniebecause I see no way to ask "what's your window manager?"00:05
joanieI will google more00:05
joanieand to be honest, most Orca users cannot see the underline anyway00:06
TheMusoOk.00:06
TheMusoYup00:06
joanieso I'm not all that worried if my hack is too extreme00:06
TheMusoAnd flat review is not likely to be used in the greeter.00:06
joanieand fails to draw a line that no one is going to see00:06
joanieAttila tried it00:07
TheMusoYou're usually only there to log in/00:07
TheMusoHe would. :00:07
joanieand promptly discovered his system wouldn't respond00:07
TheMuso:)00:07
joanieAttila is my FAVORITE user.00:07
joanieseriously00:07
TheMusoI can understand that yeah.00:07
joaniehe's like having an employee00:07
joaniehe tests and tries all sorts of stuff00:07
joanieand gives crazy amounts of debug output00:07
joanieand hacks00:07
joanieand00:07
joanieok but back to my brainstorm00:08
joanieyou ok with this as a solution?00:08
TheMusoYpu I know what you mean, he is raising a lot of issues on the Ubuntu a11y list. At least he files bugs as well.00:08
TheMusoWorks for me.00:08
TheMusoMaybe longer term we could add an X property or some such to unity-greeter that you could check for.00:08
* joanie nods00:08
joaniefirst I'm going to see if I can figure out how Gtk+ sends those hints00:09
TheMusoOk.00:09
joanieoh hi gdk method00:18
joanieI might not have to hack00:18
* joanie tries00:18
joanieI love introspection bugs :-/01:41
joanieanyhoo, TheMuso at least in Fedora, and not counting the introspection bug I'm about to search for and file....01:41
joanieI can use Gdk to get the window manager's name01:42
joanieso that should be fine for the flat review unity-greeter bug01:42
joanie(in theory)01:42
TheMusoOk theories are good.01:42
joanieyeah ;)01:42
joanieI guess I should make sure it doesn't blow up in ubuntu01:43
joaniegot 'Metacity'. /me tries in greeter01:45
tallboy_2AlanBell:  Just wanted to let you know for future reference, 12.04 did not work.. still no 3D support for that Intel chip.  02:43
joanieTheMuso: fixed. https://bugzilla.gnome.org/show_bug.cgi?id=67339703:16
ubot2Gnome bug 673397 in general "Using flat review while in Unity Greeter makes Orca stop presenting screen contents." [Normal,Resolved: fixed]03:16
joanieTheMuso: While testing I noticed that there are some items in the unity-greeter that are apparently not being seen by Orca's flat review. At some point down the road I can look into that. BUT, I would bet cold, hard cash that it ain't an Orca bug. And unlike the thing I just fixed, I cannot hack objects which are not correctly reporting their location or existence into objects which are. ;)03:18
TheMusojoanie: Yeah there are GTK widgets at the core of unity-greeter, but some work has been done to make them look somewhat different, so I dare say there is something that changes the behavior of what originally is a standard GTK widget.03:45
yaili_hi all12:19
yaili_wondering if anyone is available to have a look at something we're working on?12:19
AlanBellhi yaili_ 14:29
AlanBellwhats up?14:29
yaili_AlanBell: hi!14:30
AlanBellare you going to UDS?14:31
yaili_AlanBell: no14:31
AlanBell:(14:31
yaili_AlanBell: maybe next time :)14:34
yaili_AlanBell: do you have a couple of minutes to have a look at a test page?14:34
AlanBellsure14:34
yaili_so we're looking into the hover on links on ubuntu.com, and just putting together as many variations we can think of14:35
yaili_here it is so far http://dl.dropbox.com/u/46219249/links/index.html14:35
yaili_your thoughts would be very welcome14:35
AlanBellnot sure I like the various underlines vanishing on hover14:37
AlanBelldotted underline is often used to indicate there is an on-hover tooltip so I wouldn't use that for an actual link14:38
AlanBellhttp://www.alistapart.com/articles/hattrick/14:39
AlanBellyaili_: and baconipsum is great :)14:44
yaili_AlanBell: indeed14:44
yaili_AlanBell: I like how bold doesn't rely on colour to indicate there's a difference, but not sure it's easy to understand14:45
AlanBellyeah, they don't look like links to me, plus what if you want to actually use *bold* for something in a run of text with bold links14:47
AlanBellbold Orange is OK14:47
yaili_AlanBell: true14:49
yaili_AlanBell: what if it was underlined and changed colour on hover?14:49
yaili_AlanBell: do you think the links being simply orange is enough?14:49
AlanBellI think people would work it out either way14:54
AlanBellpersonally I am fine with most of the options, arguably the orange with tinted background is low contrast, but only when you are actually hovering over it14:54
AlanBellI think orange links is fine, even on a monochrome display you can see the difference between Orange and black pretty easily14:55
yaili_cool14:56
yaili_we've had complaints about not having a hover style14:56
AlanBellyeah, I see it is pretty flat on the live site with no hover style14:57
yaili_AlanBell: yeah, so we kind of need to fix that15:13

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!