Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 865746 Details for
Bug 1067366
Screen keyboard accessibility does not work in non-gtk applications
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch to qt-at-spi packaging
0001-Fix-return-type-of-GetCharacterExtents.patch (text/plain), 3.35 KB, created by
David King
on 2014-02-20 22:34:26 UTC
(
hide
)
Description:
patch to qt-at-spi packaging
Filename:
MIME Type:
Creator:
David King
Created:
2014-02-20 22:34:26 UTC
Size:
3.35 KB
patch
obsolete
>From 4ae30ca90997c87ecea3b8c081d5a1f8761803d5 Mon Sep 17 00:00:00 2001 >From: David King <amigadave@amigadave.com> >Date: Thu, 20 Feb 2014 21:53:39 +0000 >Subject: [PATCH] Fix return type of GetCharacterExtents > >The type should be "iiii" but becuase a QVariant<QRect> is passed to >QDBusMessage it is "(iiii)". Without this patch, Caribou (the GNOME >on-screen keyboard) could not be used to input text in the text fields >of Qt applications. > >https://bugzilla.redhat.com/show_bug.cgi?id=1067366 >--- > qt-at-spi-fix-get-character-extents-return-type.patch | 17 +++++++++++++++++ > qt-at-spi.spec | 7 ++++++- > 2 files changed, 23 insertions(+), 1 deletion(-) > create mode 100644 qt-at-spi-fix-get-character-extents-return-type.patch > >diff --git a/qt-at-spi-fix-get-character-extents-return-type.patch b/qt-at-spi-fix-get-character-extents-return-type.patch >new file mode 100644 >index 0000000..70b4049 >--- /dev/null >+++ b/qt-at-spi-fix-get-character-extents-return-type.patch >@@ -0,0 +1,17 @@ >+diff -urN qt-at-spi-qt-at-spi.old/src/atspiadaptor.cpp qt-at-spi-qt-at-spi/src/atspiadaptor.cpp >+--- qt-at-spi-qt-at-spi.old/src/atspiadaptor.cpp 2012-04-13 14:28:57.000000000 +0100 >++++ qt-at-spi-qt-at-spi/src/atspiadaptor.cpp 2014-02-20 21:52:05.560634651 +0000 >+@@ -1830,7 +1830,11 @@ >+ } else if (function == "GetCharacterExtents") { >+ int offset = message.arguments().at(0).toInt(); >+ int coordType = message.arguments().at(1).toUInt(); >+- connection.send(message.createReply(getCharacterExtents(interface, offset, coordType))); >++ // There is probably a better way to create the list from the rect. >++ QRect rect = getCharacterExtents(interface, offset, coordType); >++ QList<QVariant> variantList = QList<QVariant>(); >++ variantList << rect.x() << rect.y() << rect.width() << rect.height(); >++ connection.send(message.createReply(variantList)); >+ } else if (function == "GetDefaultAttributeSet" || function == "GetDefaultAttributes") { >+ // GetDefaultAttributes is deprecated in favour of GetDefaultAttributeSet. >+ // Empty set seems reasonable. There is no default attribute set. >+Binary files qt-at-spi-qt-at-spi.old/src/.atspiadaptor.cpp.swp and qt-at-spi-qt-at-spi/src/.atspiadaptor.cpp.swp differ >diff --git a/qt-at-spi.spec b/qt-at-spi.spec >index d0e96c5..7fd282a 100644 >--- a/qt-at-spi.spec >+++ b/qt-at-spi.spec >@@ -1,7 +1,7 @@ > > Name: qt-at-spi > Version: 0.3.1 >-Release: 5%{?dist} >+Release: 6%{?dist} > Summary: Qt plugin that bridges Qt's accessibility API to AT-SPI2 > > License: LGPLv2+ >@@ -14,6 +14,7 @@ Source0: qt-at-spi-%{snap}.tar.xz > # https://gitorious.org/qt-at-spi/qt-at-spi/archive-tarball/v%{version} > Source0: qt-at-spi-qt-at-spi-v%{version}.tar.gz > %endif >+Patch0: qt-at-spi-fix-get-character-extents-return-type.patch > BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) > > Source1: qt-at-spi.sh >@@ -39,6 +40,7 @@ BuildArch: noarch > %prep > %setup -q -n %{name}-%{name} > >+%patch0 -p1 > install -m644 -p %{SOURCE1} . > > >@@ -68,6 +70,9 @@ make install INSTALL_ROOT=%{buildroot} > > > %changelog >+* Thu Feb 20 2014 David King <dking@redhat.com> 0.3.1-6 >+- 0.3.1, fixes accessing invalid objects >+ > * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-5 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild > >-- >1.8.5.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1067366
: 865746