Feed Advanced Search

Oct 31 2018

gladhorn added a comment to T7034: Accessibility in KWin window switcher.

My plan was not to change anything regarding x11/wayland at all. It can be done purely on the accessibility level - faking it completely.

Oct 31 2018, 8:19 AM · Plasma Accessibility
gladhorn added a comment to T7034: Accessibility in KWin window switcher.

My only concern is that if I implement a (virtual) window for accessibility only for the task switcher, Orca would probably read the window before reading the focus inside it. But that may be fine.
"task switcher" -> "firefox window". I'll try writing it in the near future and let others play with it. In the worst case we can then use Orca scripts, if people find announcing the tab switcher window to be a nuisance.

Oct 31 2018, 7:45 AM · Plasma Accessibility
gladhorn added a comment to D16479: Use override for tabbox classes.

So far I always said no to such changes as it doesn't really offer advantages for done code and just clutters the commit history.

I do think there is a bit advantage: When refactoring and a base classes' function gets renamed, any overriding virtuals will stop compiling, so this kind of change makes the code more future-proof.

I fully understand the advantage of override. I do add it to new code. I'm questioning the advantage of adding it to old and done code. Nobody has touched these classes for years and there won't be any reason to do so for years. And even if one would touch it, it's as simple as doing the change to add override then.

My point against such a change is that we either need to do this for all of KWin or not at all. And for all of KWin I think it's a bad idea as it introduces a commit breaking any git blame. Would you +1 such a change in Qt changing all overriding methods to override?

Oct 31 2018, 7:41 AM · KWin

Oct 30 2018

gladhorn added a comment to D16383: Add accessibility information to tabbar in dash starter.

Nice, this looks good to me. I don't know the code though, so it would be great to hear what people more familiar with it say.

Oct 30 2018, 8:48 AM · Plasma Accessibility

Oct 29 2018

gladhorn added a comment to D16479: Use override for tabbox classes.

So far I always said no to such changes as it doesn't really offer advantages for done code and just clutters the commit history.

Oct 29 2018, 8:47 AM · KWin

Oct 28 2018

gladhorn added a comment to T9878: Default application starter menu is missing a11y Labels.

@chempfling let's chat about Qt Quick focus indeed, it's complicated. The problem comes mostly from the fact that initially Qt Quick provided only basic primitives, which were not on the right semantic level for accessibility. We tried some experiments to automatically give every text element an accessible name, but that was not really the way to go as for example buttons should have more properties and would contain the text as child. Therefore the level to implement accessibility became a duty for those building on top of the primitives. Which makes it hard to enforce it. I agree we should try to write rules. There is movement in the human interface guidelines department for KDE, maybe they should be extended. For a long time nobody was pushing to fix these issues, so they have been spreading. On the other hand nowadays things have become much more stable, so making an effort is certainly worth it and appreciated by everyone. Some of the plasmoid code is very old and has simply grown before the standard components were available.

Oct 28 2018, 12:33 PM · Plasma Accessibility
gladhorn added a comment to D16383: Add accessibility information to tabbar in dash starter.

@chempfling what do you think? Would it be possible to label the buttons inside the tab bar instead?

Oct 28 2018, 12:28 PM · Plasma Accessibility
gladhorn moved T7038: System settings: keyboard navigation in the sidebar from In progress to Todo on the Plasma Accessibility board.
Oct 28 2018, 12:21 PM · Plasma Accessibility
gladhorn added a comment to T7038: System settings: keyboard navigation in the sidebar.

I don't think there's any ongoing progress, @mart any plans about this?

Oct 28 2018, 12:21 PM · Plasma Accessibility
gladhorn moved T7033: Improve NetworkManager applet navigation from In progress to Todo on the Plasma Accessibility board.
Oct 28 2018, 12:20 PM · Plasma Accessibility
gladhorn updated subscribers of T7033: Improve NetworkManager applet navigation.

@davidedmundson do you have plans about this? @chempfling did you play with the network settings? Is there even any way to open the plasmoid at this point in time? I'll put this back to todo for now.

Oct 28 2018, 12:20 PM · Plasma Accessibility
gladhorn added a comment to T7031: Panel focus on shortcut.

Hmm, deviating too much from what sighted users see is always a problem because it will not be maintained when the other code changes. The flexibility of plasma is hard here in many ways - we cannot make assumptions what kind of panels there will be etc.
On the other hand I'd really try to get the defaults to work first. So assuming there is one panel, making sure that can be navigated with the keyboard and we can get the relevant information conveyed to blind users would be my starting point.

Oct 28 2018, 12:18 PM · Plasma Accessibility
gladhorn requested review of D16481: Remove unused captures from lambdas.
Oct 28 2018, 11:55 AM · KWin
gladhorn requested review of D16480: Remove dead default branches.
Oct 28 2018, 11:55 AM · KWin
gladhorn requested review of D16479: Use override for tabbox classes.
Oct 28 2018, 11:54 AM · KWin
gladhorn committed R108:951dfd10366b: Minor grammar fixup in comment (authored by gladhorn).
Minor grammar fixup in comment
Oct 28 2018, 11:53 AM
gladhorn committed R108:7d1d28ea2cd5: Remove extra semicolon (authored by gladhorn).
Remove extra semicolon
Oct 28 2018, 11:53 AM
gladhorn claimed T7034: Accessibility in KWin window switcher.
Oct 28 2018, 9:45 AM · Plasma Accessibility
gladhorn added a comment to T7034: Accessibility in KWin window switcher.

My current thinking is:
KWin shows up as accessible application with no children.
Create an accessible window inside that application. This window has no relation to any other object but will probably make things less confusing for screen readers. It can also become the active window for screen reader purposes when interacting with KWin.

Oct 28 2018, 9:44 AM · Plasma Accessibility

Oct 27 2018

gladhorn added a comment to T7034: Accessibility in KWin window switcher.

Next to the window switching, there is also desktop switching (virtual desktops) which I consider secondary (but it may be fixed with the same change).

Oct 27 2018, 5:26 PM · Plasma Accessibility
gladhorn added a comment to T7034: Accessibility in KWin window switcher.

The common way is to use Alt-Tab to switch windows. Currently Orca does not react to alt-tab while alt is held, but once a new window gains focus, it is read.
So for me this would mostly about enabling the reading of window titles while alt is pressed.
My understanding is that there is luckily a centralized component in KWin which deals with this. kwin/tabbox seems like the relevant files.

Oct 27 2018, 5:24 PM · Plasma Accessibility
gladhorn triaged T9933: Lock Screen Password dialog as Normal priority.
Oct 27 2018, 5:21 PM · Plasma Accessibility

Oct 22 2018

gladhorn added a comment to T9869: Desktop Icons should have an a11y Label.

Congratulations :)

Oct 22 2018, 12:17 PM · Plasma Accessibility

Oct 19 2018

gladhorn added a comment to D16309: Add accessibility information to desktop icons.

I guess we can go with this for now, let's be pragmatic. Qt doesn't have icon or desktop_icon at the moment. I can add, if Joanie suggests doing that on the Orca mailing list.

Oct 19 2018, 2:58 PM · Plasma
gladhorn accepted D16309: Add accessibility information to desktop icons.
Oct 19 2018, 12:44 PM · Plasma

Oct 18 2018

gladhorn added a comment to T9878: Default application starter menu is missing a11y Labels.

I think the menus live in git://anongit.kde.org/plasma-desktop - there is all kinds of desktop related stuff - kicker and kickoff are subdirectories in applets in that repository.

Oct 18 2018, 7:00 PM · Plasma Accessibility
gladhorn added a comment to T9869: Desktop Icons should have an a11y Label.

We have some information on https://community.kde.org/Infrastructure/Phabricator - there are two options, uploading the file to https://phabricator.kde.org/differential/ or using a command line tool. Please add "gladhorn" and "hein" as reviewers so we can get it in quickly :)

Oct 18 2018, 11:32 AM · Plasma Accessibility
gladhorn added a comment to T9869: Desktop Icons should have an a11y Label.

Oh wow, this is super awesome! Yay!!!!
The next step is to get your patch in of course. Do you want to put it up for review on phabricator?

Oct 18 2018, 8:05 AM · Plasma Accessibility

Oct 17 2018

gladhorn added a comment to T9869: Desktop Icons should have an a11y Label.

@chempfling is that enough to get you started? I'm a bit short on time, so if you make progress alone that's perfect, but as soon as you are stuck in any way you can ask @hein and me for help. Please ask away. You can probably even modify the installed file to test changes directly and then just restart plasma-shell - to make quick iterations possible. Just be careful not to lose the changes when they work :)

Oct 17 2018, 2:01 PM · Plasma Accessibility
gladhorn updated subscribers of T9869: Desktop Icons should have an a11y Label.

OK, let's work on that! @hein will help as well.

Oct 17 2018, 1:51 PM · Plasma Accessibility

Oct 15 2018

gladhorn added a comment to T9870: Kicker "Application Overview" missing a11y Label for "apps and documentation" and "Miniprograms".

With kicker you mean the default start menu?

Oct 15 2018, 9:22 PM · Plasma Accessibility
gladhorn added a comment to T9869: Desktop Icons should have an a11y Label.

I don't even see how to keyboard focus the desktop. Do you manage that somehow?

Oct 15 2018, 9:19 PM · Plasma Accessibility
gladhorn added a comment to T7034: Accessibility in KWin window switcher.

I think this is one of the most important tasks for screen reader users. I assume we'll have to contact the KWin developers. Ideally after doing a bit of research how other window managers solve this.

Oct 15 2018, 9:16 PM · Plasma Accessibility
gladhorn moved T7030: Merge QtWayland support from In progress to Done on the Plasma Accessibility board.

https://codereview.qt-project.org/#/c/205728/ made it in :)

Oct 15 2018, 9:15 PM · Plasma Accessibility

Oct 14 2018

gladhorn committed R954:c5c3da805e62: Add Frederik's newer blog (authored by gladhorn).
Add Frederik's newer blog
Oct 14 2018, 12:27 PM
gladhorn added a comment to T7030: Merge QtWayland support.

https://codereview.qt-project.org/#/c/205728/ - @gladhorn needs to get this sorted out...

Oct 14 2018, 12:02 PM · Plasma Accessibility
gladhorn renamed T7033: Improve NetworkManager applet navigation from Improve NM applet navigation to Improve NetworkManager applet navigation.
Oct 14 2018, 12:01 PM · Plasma Accessibility

Sep 29 2018

gladhorn committed R37:3f7918c4c747: Fix warnings about implicit cast when using newer Vc (authored by gladhorn).
Fix warnings about implicit cast when using newer Vc
Sep 29 2018, 9:08 AM
gladhorn committed R37:dfdc8484b095: Remove unused local variable (authored by gladhorn).
Remove unused local variable
Sep 29 2018, 9:08 AM

Aug 24 2018

gladhorn accepted D14855: Add applet with screen layouts and presentation mode.

OK, let's do it :)

Aug 24 2018, 1:09 PM · Plasma

Aug 20 2018

gladhorn added a comment to T9451: Find a way to produce multiple Conan packages from a single repo.

Having a clean solution to this would indeed be great.

Aug 20 2018, 4:06 PM · Conan
gladhorn accepted D14950: Add screen to the keyword of kscreen KCM.

Yes please :)

Aug 20 2018, 3:52 PM · Plasma

Aug 17 2018

gladhorn added a comment to D14855: Add applet with screen layouts and presentation mode.

This looks generally nice, I like it. Since we're short on people maintaining this stuff, I'd like more of the code to be shared though.

Aug 17 2018, 11:13 AM · Plasma
gladhorn added a comment to F6196713: Screenshot_20180815_095827.png.

Looks nice, but I think it would be nice to have captions for the icons. The same is true for the normal OSD, there it shows some caption on hover at least.

Aug 17 2018, 10:58 AM

Aug 13 2018

gladhorn committed R110:13bc5bcd4bf4: EDID parsing: replace non-printable characters with '-' (authored by gladhorn).
EDID parsing: replace non-printable characters with '-'
Aug 13 2018, 3:43 PM
gladhorn closed D14549: EDID parsing: replace non-printable characters with '-'.
Aug 13 2018, 3:43 PM · Plasma

Aug 12 2018

gladhorn committed R110:0f32d126d73c: Fix some doc strings (authored by gladhorn).
Fix some doc strings
Aug 12 2018, 1:28 PM
gladhorn committed R110:50dcd973c1c7: Use reinterpret_cast instead of c-style cast (authored by gladhorn).
Use reinterpret_cast instead of c-style cast
Aug 12 2018, 1:28 PM
gladhorn requested review of D14764: Simplify XRandR::outputChanged.
Aug 12 2018, 12:06 PM · Plasma

Aug 2 2018

gladhorn committed R110:c9955376ed2d: testedid: make sure to use uint consistently (authored by gladhorn).
testedid: make sure to use uint consistently
Aug 2 2018, 1:55 PM
gladhorn closed D14548: testedid: make sure to use uint consistently.
Aug 2 2018, 1:55 PM · Plasma
gladhorn requested review of D14549: EDID parsing: replace non-printable characters with '-'.
Aug 2 2018, 9:25 AM · Plasma
gladhorn requested review of D14548: testedid: make sure to use uint consistently.
Aug 2 2018, 9:25 AM · Plasma

Jul 31 2018

gladhorn added a comment to D14514: Install the OSD icons to hicolor.

Why are they not in the Plasma theme, though?

Jul 31 2018, 4:45 PM · Plasma
gladhorn committed R104:a6929de88b89: QMLScreen: do not declare the engine a member (authored by gladhorn).
QMLScreen: do not declare the engine a member
Jul 31 2018, 4:44 PM
gladhorn closed D14476: QMLScreen: do not declare the engine a member.
Jul 31 2018, 4:44 PM · Plasma
gladhorn updated the diff for D14476: QMLScreen: do not declare the engine a member.

Remove more cruft

Jul 31 2018, 4:36 PM · Plasma
gladhorn requested review of D14514: Install the OSD icons to hicolor.
Jul 31 2018, 2:56 PM · Plasma
gladhorn abandoned D14353: Improve alignment of types.

seems like this is not wanted

Jul 31 2018, 2:40 PM · Plasma
gladhorn committed R104:ff717c0a9c4c: Do not leak all instances of QMLOutput when QMLScreen is destroyed (authored by gladhorn).
Do not leak all instances of QMLOutput when QMLScreen is destroyed
Jul 31 2018, 12:50 PM
gladhorn closed D14478: Do not leak all instances of QMLOutput when QMLScreen is destroyed.
Jul 31 2018, 12:50 PM · Plasma

Jul 30 2018

gladhorn added inline comments to D14476: QMLScreen: do not declare the engine a member.
Jul 30 2018, 7:42 AM · Plasma
gladhorn committed R104:749ab17d5e48: Do not leak Widget::ui (authored by gladhorn).
Do not leak Widget::ui
Jul 30 2018, 7:39 AM
gladhorn closed D14477: Do not leak Widget::ui.
Jul 30 2018, 7:39 AM · Plasma
gladhorn committed R104:098ae52e0086: Use nullptr instead of Q_NULLPTR (authored by gladhorn).
Use nullptr instead of Q_NULLPTR
Jul 30 2018, 7:12 AM
gladhorn requested review of D14478: Do not leak all instances of QMLOutput when QMLScreen is destroyed.
Jul 30 2018, 7:08 AM · Plasma
gladhorn requested review of D14477: Do not leak Widget::ui.
Jul 30 2018, 7:08 AM · Plasma
gladhorn requested review of D14476: QMLScreen: do not declare the engine a member.
Jul 30 2018, 7:07 AM · Plasma

Jul 28 2018

gladhorn added a comment to D14428: Define ownership of edid in output and do not leak it.

The alternative would be to deprecate this and add a new function. I think this is nonetheless sensible.

Jul 28 2018, 6:36 AM · Plasma

Jul 27 2018

gladhorn committed R104:49ea560a67b4: Fix typos (authored by gladhorn).
Fix typos
Jul 27 2018, 7:21 PM
gladhorn committed R110:15aa08f36561: Let edidDecodeFraction return float (authored by gladhorn).
Let edidDecodeFraction return float
Jul 27 2018, 7:07 PM
gladhorn closed D14368: Let edidDecodeFraction return float.
Jul 27 2018, 7:07 PM · Plasma
gladhorn added a comment to D14353: Improve alignment of types.
In D14353#299282, @zzag wrote:

I suggest to describe in the summary why data members are ordered from largest to smallest.

Jul 27 2018, 2:20 PM · Plasma
gladhorn added a comment to D14405: Use short pnp id as fallback when the DB file is not found.

I think the qml code should not do logic fiddling with the EDID :) but needs investigation.

Jul 27 2018, 2:16 PM · Plasma
gladhorn committed R110:b80bbeb2e419: Add test for edid parsing and fix reading gamma (authored by gladhorn).
Add test for edid parsing and fix reading gamma
Jul 27 2018, 2:09 PM
gladhorn closed D14418: Add test for edid parsing and fix reading gamma.
Jul 27 2018, 2:09 PM · Plasma
gladhorn committed R110:931cead9c138: Fix memory leak in test (authored by gladhorn).
Fix memory leak in test
Jul 27 2018, 1:51 PM
gladhorn updated the diff for D14428: Define ownership of edid in output and do not leak it.

Messed up merge :(

Jul 27 2018, 1:45 PM · Plasma
gladhorn updated the diff for D14428: Define ownership of edid in output and do not leak it.

Add note about the edid pointer becoming invalid

Jul 27 2018, 1:42 PM · Plasma
gladhorn requested review of D14428: Define ownership of edid in output and do not leak it.
Jul 27 2018, 1:41 PM · Plasma
gladhorn updated the diff for D14353: Improve alignment of types.

initializer order fixed

Jul 27 2018, 1:02 PM · Plasma
gladhorn updated the diff for D14353: Improve alignment of types.

Move two more members to the right spot

Jul 27 2018, 12:59 PM · Plasma
gladhorn updated the diff for D14418: Add test for edid parsing and fix reading gamma.

arc messup, it squashed another patch into this one

Jul 27 2018, 12:48 PM · Plasma
gladhorn updated the diff for D14368: Let edidDecodeFraction return float.

arc mangled two patches again :(

Jul 27 2018, 12:46 PM · Plasma
gladhorn updated the diff for D14418: Add test for edid parsing and fix reading gamma.

Updated commit message and rebased.

Jul 27 2018, 12:45 PM · Plasma
gladhorn updated the diff for D14418: Add test for edid parsing and fix reading gamma.

Sort edids in test rows. I still think this is completely pointless and a waste of time.

Jul 27 2018, 12:41 PM · Plasma
gladhorn added a comment to D14405: Use short pnp id as fallback when the DB file is not found.

Good catch, I'll have to look into it, right now I get an empty string for both.

Jul 27 2018, 12:38 PM · Plasma
gladhorn updated the diff for D14418: Add test for edid parsing and fix reading gamma.

Removed xfail, it was fixed by the string parsing fix

Jul 27 2018, 12:34 PM · Plasma
gladhorn committed R104:ed42cf46ae2c: Remove unused function (authored by gladhorn).
Remove unused function
Jul 27 2018, 12:25 PM
gladhorn closed D14361: Remove unused function.
Jul 27 2018, 12:25 PM · Plasma
gladhorn committed R104:f4b0d85fe061: Create m_saveTimer lazily (authored by gladhorn).
Create m_saveTimer lazily
Jul 27 2018, 12:24 PM
gladhorn closed D14359: Create m_saveTimer lazily.
Jul 27 2018, 12:24 PM · Plasma
gladhorn committed R110:7cbccda5a273: Make sure for loop does not detach (authored by gladhorn).
Make sure for loop does not detach
Jul 27 2018, 12:23 PM
gladhorn closed D14350: Make sure for loop does not detach.
Jul 27 2018, 12:23 PM · Plasma
gladhorn committed R110:106251461674: When handing out ownership, use Q_REQUIRED_RESULT - Edid::clone (authored by gladhorn).
When handing out ownership, use Q_REQUIRED_RESULT - Edid::clone
Jul 27 2018, 12:23 PM
gladhorn closed D14369: When handing out ownership, use Q_REQUIRED_RESULT - Edid::clone.
Jul 27 2018, 12:23 PM · Plasma
gladhorn updated the diff for D14369: When handing out ownership, use Q_REQUIRED_RESULT - Edid::clone.

Moved Q_REQUIRED_RESULT to the front

Jul 27 2018, 12:23 PM · Plasma
gladhorn added a comment to D14369: When handing out ownership, use Q_REQUIRED_RESULT - Edid::clone.

It's been there for ages, it's mentioned in the changelog at least... but actually it seems more common to put the attribute before the function, I'll update with that.

Jul 27 2018, 12:19 PM · Plasma
gladhorn added a comment to D14369: When handing out ownership, use Q_REQUIRED_RESULT - Edid::clone.

I'll check, if it's not public API, I'll make it. Thanks for the pointer.

Jul 27 2018, 12:17 PM · Plasma
gladhorn added a comment to D14410: EDID parsing: strings are up to 13 bytes.

Yes, my laptop screen uses all 13 bytes, that's how I noticed (the model had one character cut off and I happened to debug and see that it was there, so I did the math :)).

Jul 27 2018, 12:16 PM · Plasma