Fwd: [orca-list] KDE Plasma 5.15 Task switcher

Chrys chrys at linux-a11y.org
Wed Apr 10 17:11:09 BST 2019


Howdy List
FYI:
I forward this from orca mailing list to keep you up to date.

Cheers chrys


Anfang der weitergeleiteten Nachricht:

> Von: chrys at linux-a11y.org
> Datum: 10. April 2019 um 17:57:43 MESZ
> An: Joanmarie Diggs <jdiggs at igalia.com>
> Kopie: orca-list at gnome.org
> Betreff: Aw:⁨ [orca-list] KDE Plasma 5.15 Task switcher⁩
> 
> Howdy Joanie,
> 
> for the key event issue:
> i just picked up this again. i remembered that Kate has the same issue by interrupting. Frederik wired up some experimental code what should fix it in Kate. Maybe it improves the situation here too:
> https://codereview.qt-project.org/#/c/245319/
> its still in review currently.
> 
> as for the filler role, i understand. sounds like something i would be able to change. if it is a "icon" i stay in same trouble as i added the desktop icons accessibility. QT seems not to offer a "Icon" role.
> https://doc.qt.io/qt-5/qaccessible.html#Role-enum
> for the destkop icons i used "canvas" but its also not the best solution i think. maybe this needs to get added in QT? Or maybe QAccessible::listItem? the docu says also
> QAccessible::Graphic "A graphic or picture, e.g. an icon."
> what sounds wrong somehow? not sure whats the best. but whatever we use, i will sync it up with the desktop icons, as it currently says "Icon Name Canvas" (german lainwand) whats not so elegant as well.
> 
> cheers chrys
> Zitat von Joanmarie Diggs <jdiggs at igalia.com>:
> 
>> Hey again.
>> 
>> I just created an initial script for kwin based on the new switcher
>> script I created. It improves the situation regarding interrupting
>> presentation.
>> 
>> That said: One of the things which causes Orca to interrupt presentation
>> is keyboard events. We aren't seeing them from kwin. In other words,
>> when you're in kwin, Orca has no clue that you have pressed any keys. At
>> least not in my environment (which admittedly is Fedora 29 in which I
>> installed Plasma packages and dependencies from Fedora 30 which isn't
>> shipping yet). I believe that if we start getting input events from
>> kwin, presentation by Orca would be further improved.
>> 
>> Beyond that, "filler" is a rather unfortunate role for the thing in the
>> switcher emitting focus-change events. Right now, Orca is looking for
>> that role in its heuristic for identifying events from the switcher
>> container for kwin. Any chance we could get another, better role for it?
>> If so, I'll immediately update the heuristic. :)
>> 
>> If you look at
>> https://developer.gnome.org/atk/unstable/AtkObject.html#AtkRole, you'll
>> see the definition of ATK_ROLE_FILLER is "A object that fills up space
>> in a user interface". And while the thing on the screen getting
>> highlighted is arguably an object filling up space in a user interface,
>> I believe that the closest equivalent in Gtk+ is GtkAlignment ("A widget
>> which controls the alignment and size of its child"). Fillers are
>> normally things to be ignored by Orca. To me, the selected thing in kwin
>> looks more like an icon. And there is an ATK_ROLE_ICON.... I'd entertain
>> other proposals as well. :)
>> 
>> Please let me know what you, Frederik, and other members of the KDE
>> community think about the role change. And also please let me know if
>> what's in Orca master does indeed make things better with respect to
>> kwin presentation.
>> 
>> Thanks!
>> --joanie
>> 
>>> On 3/13/19 10:45 AM, chrys at linux-a11y.org wrote:
>>> Howdy Joanie,
>>> 
>>>> Let's start with a debug.out
>>> ok i will create one as i get back to my computer.
>>> 
>>>> assuming I would need to build the
>>>> switcher to get Frederik's fix.
>>> the fix already landed in Plasma Stable (5.15 from january)
>>> but i will create a debug out first.
>>> 
>>> cheers + thx!
>>> chrys
>>> Zitat von Joanmarie Diggs <jdiggs at igalia.com>:
>>> 
>>>> Hey Chrys.
>>>> 
>>>> Let's start with a debug.out -- assuming I would need to build the
>>>> switcher to get Frederik's fix.
>>>> 
>>>> --joanie
>>>> 
>>>>> On 3/13/19 6:48 AM, chrys at linux-a11y.org wrote:
>>>>> Howdy Joanie,
>>>>> 
>>>>> i would need your help. As i currently test the KWin taskswitcher fixed
>>>>> by Frederik (thanks man!), i found it works quite fine at first look.
>>>>> But orca doesnt interrupt the previouse spoken entry when switching to
>>>>> another one. what makes it very hard to use as you have to wait all is
>>>>> spoken.
>>>>> 
>>>>> can you take a look at this? or will it help if i send you an debug?
>>>>> does this provide all information?
>>>>> 
>>>>> Reproduce:
>>>>> Open Plasma 5.15
>>>>> Start orca
>>>>> open multible windows
>>>>> press alt + Tab to switch windows
>>>>> 
>>>>> expected result:
>>>>> Same as in gnome
>>>>> 
>>>>> current result:
>>>>> no interruption when entry is changed.
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> orca-list mailing list
>>>>> orca-list at gnome.org
>>>>> https://mail.gnome.org/mailman/listinfo/orca-list
>>>>> Orca wiki: https://wiki.gnome.org/Projects/Orca
>>>>> Orca documentation: https://help.gnome.org/users/orca/stable/
>>>>> GNOME Universal Access guide:
>>>>> https://help.gnome.org/users/gnome-help/stable/a11y.html
>>>>> Log bugs and feature requests at http://bugzilla.gnome.org
>>>>> 
>>> 
>>> 
>>> 
>>> 
> 
> 
> 
> _______________________________________________
> orca-list mailing list
> orca-list at gnome.org
> https://mail.gnome.org/mailman/listinfo/orca-list
> Orca wiki: https://wiki.gnome.org/Projects/Orca
> Orca documentation: https://help.gnome.org/users/orca/stable/
> GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html
> Log bugs and feature requests at http://bugzilla.gnome.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-accessibility/attachments/20190410/7fcfe5dd/attachment.html>


More information about the kde-accessibility mailing list