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. setAccessibleDescription() on tooltip window

setAccessibleDescription() on tooltip window

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 341 Views
  • 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.
  • A Offline
    A Offline
    AndyBrice
    wrote on 28 Dec 2021, 14:15 last edited by
    #1

    I have a BalloonTip class derived from QWidget. The constructor looks like this:

    BalloonTip::BalloonTip( QWidget* parent, const QString& title, const QString& message )
    : QWidget( parent, Qt::ToolTip )
    {
    ...
    }
    

    I pop this windows up at certain points to provide guidance first time Easy Data Transform users. However this window does not work well with the Mac VoicerOver application used by some non-sighted and partially sighted users. It just says 'new window' when the balloon window appears. Calling setAccessibleDescription() or setAccessibleName() makes no difference. It works better if I pass Qt::Dialog instead of Qt:ToolTip in the constructor. But then it looks all wrong. Any ideas?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AndyBrice
      wrote on 28 Dec 2021, 14:33 last edited by AndyBrice
      #2

      Also 'New Window' (with no description) seems to appear whenever a standard tooltip appears, which is really unhelpful for people using VoiceOver.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 28 Dec 2021, 19:30 last edited by
        #3

        Hi,

        Which version of Qt are you using ?
        Can you provide a minimal compilable example that shows this behaviour ?

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

        A 1 Reply Last reply 29 Dec 2021, 09:16
        0
        • S SGaist
          28 Dec 2021, 19:30

          Hi,

          Which version of Qt are you using ?
          Can you provide a minimal compilable example that shows this behaviour ?

          A Offline
          A Offline
          AndyBrice
          wrote on 29 Dec 2021, 09:16 last edited by
          #4

          Hi @SGaist
          I am on Qt 5.15.2 and testing on macOS 10 and 11. Just Press Cmd-f5 to enter voice over mode and hover over any QWidget with tooltip text (e.g. a QPushButton). It just says 'new window' when the tooltip window appears. This is not helpful for users. It should probably say nothing.

          1 Reply Last reply
          0

          3/4

          28 Dec 2021, 19:30

          • Login

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