URL:
  <http://gna.org/bugs/?22176>

                 Summary: GUI2 tooltips may cause map labels and chat lines to
be drawn over a GUI2 dialog
                 Project: Battle for Wesnoth
            Submitted by: shadowmaster
            Submitted on: Tue 10 Jun 2014 11:27:40 PM CLT
                Category: Bug
                Severity: 2 - Minor
                Priority: 5 - Normal
              Item Group: User Interface
                  Status: None
                 Privacy: Public
             Assigned to: mordante
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.11.15+dev, 1.13.0-dev
        Operating System: Any?

    _______________________________________________________

Details:

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:


# FIXME: tooltips cause weird interactions with map
#        labels while running a GUI2 dialog, so let's
#        not use a tooltip yet.
#tooltip = _ "Copy this report to clipboard"


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.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 10 Jun 2014 11:27:40 PM CLT  Name:
wesnoth-1.13.0-gui2-tooltips-bug.png  Size: 285kB   By: shadowmaster

<http://gna.org/bugs/download.php?file_id=20979>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?22176>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to