Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(483)

Issue 1028553003: Linux Aura accessibility is enabled only on GNOME desktops (Closed)

Created:
5 years, 9 months ago by k.czech
Modified:
5 years, 7 months ago
CC:
chromium-reviews, je_julie(Not used), plundblad+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Linux Aura accessibility is enabled only on GNOME desktops Linux Aura accessibility is not enabled on desktops different than GNOME2. GNOME3 has deprecated gconf in favor of gsettings and dconf. AT-SPI (cross-platform framework that provides communication between AT and application) bus launcher has a property called org.a11y.Bus.IsEnabled that could be easily read by dbus call. In generall this patch adds an additional check to enable accessibility. When gconf is available use gnome's accessibility key otherwise org.a11y.Bus.IsEnabled property. BUG=472183, 468989, 468112 TBR=stevenjb@chromium.org,jochen@chromium.org Committed: https://crrev.com/16e2d5a386e3ddd5be818a0d27610b1e9ee9c08e Cr-Commit-Position: refs/heads/master@{#328651}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Create a separate thread to run dbus callings #

Total comments: 6

Patch Set 3 : Separate thread for gconf, other suggestions #

Patch Set 4 : Applied suggestions #

Patch Set 5 : Just some correction #

Patch Set 6 : One more correction #

Total comments: 6

Patch Set 7 : Fixing some style issues #

Patch Set 8 : Just minor cleanup #

Total comments: 2

Patch Set 9 : Minor fixes and allowing IO calls, should be discussed #

Patch Set 10 : Rebase on top of the CL=1089003003. #

Patch Set 11 : gnome accessibility init should be done from UI thread #

Patch Set 12 : Minor fix, change method's name #

Total comments: 1

Patch Set 13 : call to gnome module from UI thread #

Total comments: 7

Patch Set 14 : just some cleanup #

Total comments: 3

Patch Set 15 : more cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -44 lines) Patch
M build/linux/system.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M ui/accessibility/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/accessibility/accessibility.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +11 lines, -1 line 0 comments Download
M ui/accessibility/platform/atk_util_auralinux.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +8 lines, -0 lines 0 comments Download
M ui/accessibility/platform/atk_util_auralinux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +149 lines, -43 lines 0 comments Download

Messages

Total messages: 76 (13 generated)
k.czech
5 years, 9 months ago (2015-03-20 17:09:43 UTC) #2
k.czech
On 2015/03/20 17:09:43, k.czech wrote: Dominic: I proposed a solution to have Aura Linux accessibility ...
5 years, 9 months ago (2015-03-20 17:15:25 UTC) #3
dmazzoni
+plundblad I know almost nothing about dbus. Peter, could you help me review this?
5 years, 9 months ago (2015-03-20 17:41:07 UTC) #5
Peter Lundblad
Hi, Have you looked at using the C++ dbus wrappers in //dbus? Also, some of ...
5 years, 9 months ago (2015-03-23 16:45:38 UTC) #6
k.czech
On 2015/03/23 16:45:38, Peter Lundblad wrote: > Hi, > > Have you looked at using ...
5 years, 9 months ago (2015-03-25 16:59:27 UTC) #7
dmazzoni
On Wed, Mar 25, 2015 at 9:59 AM, <k.czech@samsung.com> wrote: > Also, some of these ...
5 years, 9 months ago (2015-03-25 17:15:26 UTC) #8
Peter Lundblad
Dominic Mazzoni writes: > On Wed, Mar 25, 2015 at 9:59 AM, <k.czech@samsung.com> wrote: > ...
5 years, 9 months ago (2015-03-26 14:03:58 UTC) #9
lgombos
https://codereview.chromium.org/1028553003/diff/1/ui/accessibility/accessibility.gyp File ui/accessibility/accessibility.gyp (right): https://codereview.chromium.org/1028553003/diff/1/ui/accessibility/accessibility.gyp#newcode71 ui/accessibility/accessibility.gyp:71: '../../build/linux/system.gyp:dbus', Do we need to guard this dependency with ...
5 years, 9 months ago (2015-03-26 22:05:40 UTC) #11
k.czech
On 2015/03/26 14:03:58, Peter Lundblad wrote: > Dominic Mazzoni writes: > > On Wed, Mar ...
5 years, 8 months ago (2015-03-30 21:18:17 UTC) #12
Peter Lundblad
k.czech@samsung.com writes: > On 2015/03/26 14:03:58, Peter Lundblad wrote: > > Dominic Mazzoni writes: > ...
5 years, 8 months ago (2015-03-31 09:39:59 UTC) #13
dmazzoni
How about using base::WorkerPool? That seems to be a way to schedule a task on ...
5 years, 8 months ago (2015-03-31 16:12:02 UTC) #14
Peter Lundblad
dmazzoni@chromium.org writes: > How about using base::WorkerPool? That seems to be a way to schedule ...
5 years, 8 months ago (2015-04-01 11:03:09 UTC) #15
dmazzoni
OK. Rather than plumbing the message loop through, another idea would be that somewhere in ...
5 years, 8 months ago (2015-04-01 15:37:38 UTC) #16
k.czech
> > Running it in a separate thread sounds really cool. I'm wondering on one ...
5 years, 8 months ago (2015-04-08 13:50:52 UTC) #17
k.czech
5 years, 8 months ago (2015-04-15 09:40:19 UTC) #19
k.czech
Applied all suggestions. I followed Peter suggestions to run dbus callings in separate thread. Peter, ...
5 years, 8 months ago (2015-04-15 09:47:54 UTC) #20
dmazzoni
Thanks, this is looking really close! Where is the thread destroyed? It looks like the ...
5 years, 8 months ago (2015-04-15 16:48:35 UTC) #21
k.czech
On 2015/04/15 16:48:35, dmazzoni wrote: > Thanks, this is looking really close! > > Where ...
5 years, 8 months ago (2015-04-16 11:10:28 UTC) #22
k.czech
@Dominic, applied all the suggestions, thanks.
5 years, 8 months ago (2015-04-16 11:12:54 UTC) #24
Peter Lundblad
Hi, [Sorry for the unusual format of the comments below. I am using a script ...
5 years, 8 months ago (2015-04-16 14:27:48 UTC) #25
Peter Lundblad
Hi, [Sorry for the unusual format of the comments below. I am using a script ...
5 years, 8 months ago (2015-04-16 14:28:09 UTC) #26
k.czech
> Hi, > > [Sorry for the unusual format of the comments below. I am ...
5 years, 8 months ago (2015-04-16 21:58:40 UTC) #27
dmazzoni
On Thu, Apr 16, 2015 at 2:58 PM, <k.czech@samsung.com> wrote: > File ui/accessibility/platform/atk_util_auralinux.cc >> > ...
5 years, 8 months ago (2015-04-16 22:10:09 UTC) #28
Peter Lundblad
k.czech@samsung.com writes: > > Hi, > > > [Sorry for the unusual format of the ...
5 years, 8 months ago (2015-04-17 14:44:23 UTC) #29
k.czech
On 2015/04/16 22:10:09, dmazzoni wrote: > On Thu, Apr 16, 2015 at 2:58 PM, <mailto:k.czech@samsung.com> ...
5 years, 8 months ago (2015-04-20 10:40:27 UTC) #30
k.czech
Peter, Dominic I'm looking forward for your comments. Thanks
5 years, 8 months ago (2015-04-20 10:42:47 UTC) #31
dmazzoni
This is getting pretty close, mostly some style issues. https://codereview.chromium.org/1028553003/diff/100001/ui/accessibility/platform/atk_util_auralinux.cc File ui/accessibility/platform/atk_util_auralinux.cc (right): https://codereview.chromium.org/1028553003/diff/100001/ui/accessibility/platform/atk_util_auralinux.cc#newcode42 ui/accessibility/platform/atk_util_auralinux.cc:42: ...
5 years, 8 months ago (2015-04-20 16:33:22 UTC) #32
k.czech
On 2015/04/20 16:33:22, dmazzoni wrote: > This is getting pretty close, mostly some style issues. ...
5 years, 8 months ago (2015-04-21 08:47:02 UTC) #33
dmazzoni
lgtm OK with me to press "commit" after two more tiny issues and if trybots ...
5 years, 8 months ago (2015-04-21 22:32:42 UTC) #34
Peter Lundblad
lgtm Minor comments, just stle ======================================================================== File ui/accessibility/platform/atk_util_auralinux.cc ------------------------------------ Line 28: const char kAccessibilityEnabled[] = ...
5 years, 8 months ago (2015-04-22 11:11:59 UTC) #35
k.czech
On 2015/04/21 22:32:42, dmazzoni wrote: > lgtm > > OK with me to press "commit" ...
5 years, 8 months ago (2015-04-23 13:11:13 UTC) #36
dmazzoni
I looked into this some more. There's no good way to do this when creating ...
5 years, 8 months ago (2015-04-24 17:46:18 UTC) #37
k.czech
On 2015/04/24 17:46:18, dmazzoni wrote: > I looked into this some more. > > There's ...
5 years, 8 months ago (2015-04-27 14:10:36 UTC) #38
dmazzoni
Should be ready for you to rebase now On Mon, Apr 27, 2015 at 7:10 ...
5 years, 7 months ago (2015-04-28 17:00:49 UTC) #39
k.czech
On 2015/04/28 17:00:49, dmazzoni wrote: > Should be ready for you to rebase now > ...
5 years, 7 months ago (2015-04-29 14:07:36 UTC) #40
Peter Lundblad
Hi, ======================================================================== File ui/accessibility/platform/atk_util_auralinux.cc ------------------------------------ Line 169: scoped_refptr<base::TaskRunner> init_task_runner) { Not part of this CL< ...
5 years, 7 months ago (2015-04-29 15:00:17 UTC) #41
dmazzoni
On Wed, Apr 29, 2015 at 8:00 AM, <plundblad@chromium.org> wrote: > OK, so we're now ...
5 years, 7 months ago (2015-04-29 16:02:21 UTC) #42
k.czech
On 2015/04/29 15:00:17, Peter Lundblad wrote: > Hi, > > > ======================================================================== > File ui/accessibility/platform/atk_util_auralinux.cc ...
5 years, 7 months ago (2015-04-29 16:11:01 UTC) #43
k.czech
On 2015/04/29 15:00:17, Peter Lundblad wrote: > Hi, > > > ======================================================================== > File ui/accessibility/platform/atk_util_auralinux.cc ...
5 years, 7 months ago (2015-04-29 16:27:03 UTC) #44
dmazzoni
On Wed, Apr 29, 2015 at 9:27 AM, <k.czech@samsung.com> wrote: > On 2015/04/29 15:00:17, Peter ...
5 years, 7 months ago (2015-04-29 16:53:50 UTC) #46
Peter Lundblad
Dominic Mazzoni writes: > On Wed, Apr 29, 2015 at 9:27 AM, <k.czech@samsung.com> wrote: > ...
5 years, 7 months ago (2015-04-30 07:11:05 UTC) #47
k.czech
> Line 224: object_proxy->CallMethodAndBlock(&method_call, > Is there a drawback to using the nonblocking variant of ...
5 years, 7 months ago (2015-04-30 15:02:54 UTC) #48
dmazzoni
On Thu, Apr 30, 2015 at 8:02 AM, <k.czech@samsung.com> wrote: > Line 224: object_proxy->CallMethodAndBlock(&method_call, >> ...
5 years, 7 months ago (2015-04-30 15:12:57 UTC) #49
k.czech
On 2015/04/30 15:12:57, dmazzoni wrote: > On Thu, Apr 30, 2015 at 8:02 AM, <mailto:k.czech@samsung.com> ...
5 years, 7 months ago (2015-04-30 16:03:26 UTC) #50
k.czech
Dominic, Peter patch is ready to review. Following Dominic's suggestion I added two TODOs (one ...
5 years, 7 months ago (2015-05-04 11:31:03 UTC) #51
Peter Lundblad
Hi, I think this looks good now, just move the opening of the bridge module ...
5 years, 7 months ago (2015-05-04 12:20:25 UTC) #52
k.czech
On 2015/05/04 12:20:25, Peter Lundblad wrote: > Hi, > > I think this looks good ...
5 years, 7 months ago (2015-05-04 13:52:55 UTC) #53
dmazzoni
https://codereview.chromium.org/1028553003/diff/240001/ui/accessibility/platform/atk_util_auralinux.cc File ui/accessibility/platform/atk_util_auralinux.cc (right): https://codereview.chromium.org/1028553003/diff/240001/ui/accessibility/platform/atk_util_auralinux.cc#newcode32 ui/accessibility/platform/atk_util_auralinux.cc:32: gnome_accessibility_module_init accessibility_module_init = nullptr; nit: this is a global, ...
5 years, 7 months ago (2015-05-04 15:41:05 UTC) #54
k.czech
On 2015/05/04 15:41:05, dmazzoni wrote: > https://codereview.chromium.org/1028553003/diff/240001/ui/accessibility/platform/atk_util_auralinux.cc > File ui/accessibility/platform/atk_util_auralinux.cc (right): > > https://codereview.chromium.org/1028553003/diff/240001/ui/accessibility/platform/atk_util_auralinux.cc#newcode32 > ...
5 years, 7 months ago (2015-05-06 10:35:00 UTC) #55
Peter Lundblad
lgtm Now,we're down to minor things only. Please address and I am happy with this ...
5 years, 7 months ago (2015-05-06 11:36:44 UTC) #56
dmazzoni
lgtm too with Peter's comments addressed
5 years, 7 months ago (2015-05-06 14:23:04 UTC) #57
k.czech
On 2015/05/06 14:23:04, dmazzoni wrote: > lgtm too with Peter's comments addressed Done, thanks. Let's ...
5 years, 7 months ago (2015-05-06 15:17:24 UTC) #58
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1028553003/280001
5 years, 7 months ago (2015-05-06 15:20:01 UTC) #61
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/61470)
5 years, 7 months ago (2015-05-06 15:26:29 UTC) #63
k.czech
5 years, 7 months ago (2015-05-06 16:48:59 UTC) #65
k.czech
5 years, 7 months ago (2015-05-06 17:13:47 UTC) #67
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1028553003/280001
5 years, 7 months ago (2015-05-06 22:24:45 UTC) #69
commit-bot: I haz the power
Committed patchset #15 (id:280001)
5 years, 7 months ago (2015-05-06 23:21:56 UTC) #70
commit-bot: I haz the power
Patchset 15 (id:??) landed as https://crrev.com/16e2d5a386e3ddd5be818a0d27610b1e9ee9c08e Cr-Commit-Position: refs/heads/master@{#328651}
5 years, 7 months ago (2015-05-06 23:22:53 UTC) #71
shreeramk
@K.czech: I am getting following error while I execute ./tools/accessibility/dump_accessibility_tree_auralinux.py this script. desktop frame name="main" ...
5 years, 7 months ago (2015-05-07 11:51:06 UTC) #72
k.czech
On 2015/05/07 11:51:06, shreeramk wrote: > @K.czech: I am getting following error while I execute ...
5 years, 7 months ago (2015-05-07 23:39:01 UTC) #73
shatch
A revert of this CL (patchset #15 id:280001) has been created in https://codereview.chromium.org/1124173005/ by simonhatch@chromium.org. ...
5 years, 7 months ago (2015-05-12 14:44:30 UTC) #74
k.czech
5 years, 7 months ago (2015-05-12 15:06:46 UTC) #76
Message was sent while issue was closed.
Dominic, Peter, do you think posting task to the file thread could cause those
troubles with perf bots. If bots use use_gconf=0 flag in this case, we could
suspect that this is a reason of dbus.

Powered by Google App Engine
This is Rietveld 408576698