#6581 closed enhancement (fixed)

Flickering tooltip for user report button

Reported by: Langbart Owned by:
Priority: If Time Permits Milestone: Alpha 26
Component: UI – In-game Keywords:
Cc: Patch:

Description

The issue was reported by max_torch

to reproduce

  • Open 0 A.D.
  • Move the cursor above the Enable Feedback button in the bottom right corner
  • See GIF below for more clarity

possible solution

  • Remove the tooltip or make use of the pgToolTip object.
    • binaries/data/mods/public/gui/pregame/userreport/userreport.xml

      a b  
      77
      88    <object type="text" name="userReportText" style="userReportText" size="2 2 100%-2 100%-40"/>
      99
      10     <object type="button" name="userReportEnableButton" style="StoneButton" size="8 100%-36 151 100%-8"/>
       10    <object type="button" name="userReportEnableButton" style="StoneButton" tooltip_style="pgToolTip" size="8 100%-36 151 100%-8"/>
      1111    <object type="button" name="userReportTermsButton" style="StoneButton" size="100%-151 100%-36 100%-8 100%-8"/>
      1212
      1313</object>

reproducible

The poor positioning of the tooltip has been there since A23b, but the severe flickering started with A25b. There was NO flickering in A24b. Why does it flicker?

related discussion

IRC 0ad-dev 15/May/22

20:31 <@Stan> Someone reported that the userreporter flickers on macos
[...]
20:32 <@Stan> I think it triggers some z fighting with macos widgets

Attachments (2)

tooltip_button.gif (183.8 KB ) - added by Langbart 22 months ago.
toolME.jpg (54.2 KB ) - added by Langbart 22 months ago.
The tooltip is moved to the upper right corner to match all other buttons in the main menu. [[Image(...)]]

Download all attachments as: .zip

Change History (4)

by Langbart, 22 months ago

Attachment: tooltip_button.gif added

comment:1 by Stan, 22 months ago

Hey Langbart,

Care to explain how it fixes it to use that style? I don't see what helps in gui/common/setup.xml:L24

Otherwise if it works I will commit it.

by Langbart, 22 months ago

Attachment: toolME.jpg added

The tooltip is moved to the upper right corner to match all other buttons in the main menu. The tooltip is moved to the upper right corner to match all other buttons in the main menu. [[Image(toolME.jpg, 600px, center)]]

comment:2 by Stan, 22 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.