FG Spreadshirt Swag
  1. #1
    Xarxus's Avatar
    Join Date
    Mar 2019
    Location
    Rome (Italy)
    Posts
    262

    Windowlistitems outside the subwindow

    I have a strange problem with the windowlists. Sometimes, not always, when I open a window that contains a windowlist in
    a subwindow, it happens that the windowlistitems can also be seen outside of the window itself, overlapping what is underneath.
    If I change tabs, the problem is resolved. Do you have any idea what I could look at to understand where the problem might be?
    FGU ULTIMATE License
    Click here for RPG Music or here for Dwarves songs on Spotify

  2. #2
    Xarxus's Avatar
    Join Date
    Mar 2019
    Location
    Rome (Italy)
    Posts
    262
    Immagine.png

    Here is an example
    FGU ULTIMATE License
    Click here for RPG Music or here for Dwarves songs on Spotify

  3. #3
    I've seen it from time-to-time, and fixed a couple instances of it happening in the past. I have not seen it recently in a recreate-able scenario.

    Regards,
    JPG

  4. #4
    Xarxus's Avatar
    Join Date
    Mar 2019
    Location
    Rome (Italy)
    Posts
    262
    How did you fix it? It seems it happens when items are loaded in onInit before the windowlist is drawn.
    Is there an event that is fired after the window where the windowlist is is drawn?
    FGU ULTIMATE License
    Click here for RPG Music or here for Dwarves songs on Spotify

  5. #5
    Xarxus's Avatar
    Join Date
    Mar 2019
    Location
    Rome (Italy)
    Posts
    262
    Is there a way to tell the windowlist or the entire window to redraw itself? When I have that
    effect and switch tabs, then return to where the windowlist is, that strange effect disappears
    FGU ULTIMATE License
    Click here for RPG Music or here for Dwarves songs on Spotify

  6. #6
    No, I would need a reproduceable test case to be able to investigate in the client.

    JPG

  7. #7
    Xarxus's Avatar
    Join Date
    Mar 2019
    Location
    Rome (Italy)
    Posts
    262
    I’m still struggling to understand the problem and I’ve noticed that it only happens with
    “button” objects. Consider that the link on the left is also a button. This is their definition.

    Left button
    Code:
    <template name="controlbutton_itemlink">
    	<buttoncontrol>
    		<anchored width="20" height="20" />
    		<icon normal="button_link" pressed="button_link_down" empty="button_link_empty" />
    		<script file="common/scripts/controlbutton_itemlink.lua" />
    	</buttoncontrol>
    </template>
    Right button
    Code:
    <template name="controlbutton_t">
    	<buttonfield>
    	<anchored width="20" height="20" />
    		<state icon="button_e" tooltipres="tooltip_e" />
    		<state icon="button_n" tooltipres="tooltip_n" />
    		<state icon="button_o" tooltipres="tooltip_o" />
    		<state icon="button_r" tooltipres="tooltip_r" />
    		<state icon="button_s" tooltipres="tooltip_s" />
    		<state icon="button_z" tooltipres="tooltip_z" />
    	</buttonfield>
    </template>
    Immagine.png
    Last edited by Xarxus; May 7th, 2024 at 20:30. Reason: Better image
    FGU ULTIMATE License
    Click here for RPG Music or here for Dwarves songs on Spotify

  8. #8
    It's a client issue with the clipping based on scroll views. As I mentioned above, it doesn't happen very often, and I haven't been able to get a consistent, reproduceable set of code to track it down.

    Regards,
    JPG

  9. #9
    Xarxus's Avatar
    Join Date
    Mar 2019
    Location
    Rome (Italy)
    Posts
    262
    Here is a small project. At the link I put below, you can download 2 files, one with the project, the other with the campaign. Once you have compiled the project, let it access the campaign and try the Test function. To me, occasionally, but often, it ends up showing me the list as you see in the image, or even worse. The error only occurs with the “buttons”.

    What’s wrong with the project?
    Download project and campaign
    Attached Images Attached Images
    FGU ULTIMATE License
    Click here for RPG Music or here for Dwarves songs on Spotify

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Product Walkthrough Playlist

Log in

Log in