1. This forum is for bug reporting of current Player Test Environment (QA Server) issues ONLY.
    Be sure to follow the format below, it will help us out greatly in responding. If you do not, your report may not be entered into the system.

    Read BEFORE submitting your first bug: Reporting Bugsā€¦ QA 101 Document
    • Search for your bug in all likely categories before posting in order to avoid duplicate reports.
    • Be sure to provide details of what the issue is and how to re-produce it, but keep your bug report factual.
    • Only report oneissue per thread, additional issues may be ignored.
    • Do not add, include or modify the thread moderator tags in the title of the thread. (indicators in the [])
    • Reply to an existing thread if you have additional information for the reported bug.
      Do not use this forum for commentary, your post will be deleted and you may be moderated, suspended or banned if the activity continues.
    • There is no need to submit crash logs. Crash data we require is automatically logged.
    NOTE: Important information including your location and system specs are automatically put into your clipboard when using /devbug in the game (DO NOT add additional system specs unless requested). When starting your post, just use <CTRL>-V to insert the data and fill in the entries with no data.

    Please include Screenshots if possible. Images can be saved on our SotA Discord Server here

    If the clipboard does not work, use and fill in this Bug Report Template:
    1. Title:
    2. Reproducible?
    3. Blocker?
    4. Details:
    5. Steps to Reproduce:
    6. User Specs: (RAM, CPU, GPU and Operating System only)

Button tooltip does not show anything on hover

Discussion in 'Lua API' started by Tirrag, Oct 9, 2021.

Thread Status:
Not open for further replies.
  1. Tirrag

    Tirrag Avatar

    Messages:
    857
    Likes Received:
    1,825
    Trophy Points:
    93
    Location:
    Iowa, USA
    10/09/2021 10:31
    Title: Button tooltip doesnt show when mouse over button
    Reproduction Rate: 100%
    Blocker? No
    Details: When using the mouse to hover over a button with a tooltip, the tooltip never shows.
    Steps to Reproduce: Create a button with a tooltip and then hover your mouse over it.
    User Specs:
    OS: Windows 10 (10.0.0) 64bit
    CPU: Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz (4) System RAM: 16295
    GPU: NVIDIA GeForce GTX 1050 GPU RAM: 1977
    SotA.QA.Win.64.1264.Date.10.06.21
    Area: POT_forest_metropolis_02_template/Maiden's Blush
    Area Display Name: Maiden's Blush
    Loc: (-258.9, 44.0, -180.9)
    Debug: UE9UX2ZvcmVzdF9tZXRyb3BvbGlzXzAyX3RlbXBsYXRlfE1haWRlbidzIEJsdXNofCgtMjU4LjkwMSwgNDQuMDAxLCAtMTgwLjk0NSl8KDAsIC0wLjA5MSwgMCwgLTAuOTk2KXwxMC40MDU5OHwzNC45MjA1MnwxOA==

    Code:
    local tex = nil 
    local client_width = 0
    local client_height = 0
    function ShroudOnStart() 
        tex = ShroudLoadTexture("tiny.png", true)
        client_width = ShroudGetScreenX()
        client_height = ShroudGetScreenY()
    end
    function ShroudOnConsoleInput(type, src, msg) end
    function ShroudOnGUI() 
        if ShroudButton(client_width/2 - 100 , client_height/2 - 100, 200, 200, tex, "Click me 1!", "Test Tooltip 1") == true then
            ConsoleLog("Button 1 clicked!")
        end
    end
    function ShroudOnUpdate() end
    
     
Thread Status:
Not open for further replies.