bugBattle for Wesnoth - Bugs: bug #22176, GUI2 tooltips may cause map labels...

Show feedback again

bug #22176: GUI2 tooltips may cause map labels and chat lines to be drawn over a GUI2 dialog

Submitted by:  Ignacio R. Morelle <shadowmaster>
Submitted on:  Wed 11 Jun 2014 03:27:40 AM UTC  
Category: BugSeverity: 2 - Minor
Priority: 5 - NormalItem Group: User Interface
Status: NonePrivacy: Public
Assigned to: Mark de Wever <mordante>Open/Closed: Open
Release: 1.11.15+dev, 1.13.0-devOperating System: Any?

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Sat 16 Jul 2016 10:17:00 AM UTC, comment #2:

While testing bug #24532 I noticed this one was still occurring. It also occurs with notifications like 'planning mode activated/deactivated', etc.

Wedge009 <wedge009>
Thu 19 Jun 2014 06:44:14 AM UTC, comment #1:

It's worth noting that this affects gui2::tchat_log's Previous/Next page buttons and their tooltips, which aren't commented out. I may opt for #ifdef'ing out the tooltips if you consider fixing this bug unfeasible for 1.12.

Ignacio R. Morelle <shadowmaster>
Project Administrator
Wed 11 Jun 2014 03:27:40 AM UTC, original submission:

If a GUI2 widget has a tooltip associated to it, on mouse-over the tooltip may cause all visible map labels and console/chat backlog lines to glitch through the dialog's contents. They also disappear from view once the tooltip does. Additionally, if the dialog doesn't occupy the entire screen and there are labels or chat lines outside the dialog frame, triggering and dismissing the tooltip repeatedly will cause labels and chat lines to be overpainted outside the frame.

This may be reproduced by editing the Gamestate Inspector dialog definition to apply a tooltip to the Copy-to-clipboard button. Enable the commented-out tooltip attribute around line 242 of data/gui/default/window/gamestate_inspector.cfg:

Then launch Wesnoth on the test scenario (`wesnoth -dt`), use the :inspect console command to display the Inspector dialog, and move the mouse pointer over the button with the Copy icon near the inspect contents panel.

The attached screenshot shows an example of the situation when the dialog takes up the whole screen.

Ignacio R. Morelle <shadowmaster>
Project Administrator


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by wedge009 (Posted a comment)
  • -unavailable- added by shadowmaster (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 11 Jun 2014 03:27:40 AM UTCshadowmasterAttached File-=>Added wesnoth-1.13.0-gui2-tooltips-bug.png, #20979
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup