Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. AT-SPI not working when launched with Xvfb

AT-SPI not working when launched with Xvfb

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 348 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    trowlett0
    wrote on last edited by
    #1

    I am attempting to launch kcalc, or really any Qt application inside of Xvfb and view the app with accerciser. I can view this app when launched normally, however when it is assigned a virtual display with Xvfb, ATSPI fails to work. It does not show up on accerciser. Could this be an issue with the ATSPI bridge?

    Looking at log differences between the two I see this line when I launch the app normally, and can view it in accerciser.

    qt.accessibility.atspi: AtSpiAdaptor::applicationInterface  "/org/a11y/atspi/accessible/root" QAccessibleInterface(0x5c7ae018a0c0 name="kcalc" role=Application childc=1 obj=QApplication(0x7ffe0721aa50)rect=QRect(0,0 0x0)) "GetApplicationBusAddress"
    

    However, nothing like this appears inside the logs when I launch with Xvfb. I made sure to set the display plugin to xcb for both scenarios. I do still see accessibility.cache logs when using Xvfb, but I don't see accessibility.atspi logs.

    I've tried launching the at-spi-bus / at-spi2-registryd after launching and exporting the virtual display, but this changes nothing.

    For a comparison GTK based apps work normally and in xvfb with accerciser with no issues.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Which Linux distribution are you using ?
      Which version of Qt ? KDE ?
      Can you provide a minimal guide to setup a system like yours ? (e.g. install the applications/utilities you are using, how you are setting things up for starting atspi, kcalc, xvfb, etc.)

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved