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 342 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.
  • AndyBriceA Offline
    AndyBriceA Offline
    AndyBrice
    wrote on 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
    • AndyBriceA Offline
      AndyBriceA Offline
      AndyBrice
      wrote on 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
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on 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

        AndyBriceA 1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

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

          AndyBriceA Offline
          AndyBriceA Offline
          AndyBrice
          wrote on 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

          • Login

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