Cannot delete labels/gauges/miniconsoles/etc

Bug #1096051 reported by Garagoth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mudlet
Opinion
Wishlist
Unassigned

Bug Description

Please add methods to delete (as in: remove from existence and forget that it ever existed) UI elements. Hiding them is insufficient at they pile up in memory.

Creating a dynamic UI without this is veeery troublesome.

Mudlet version: 2.0
OS: Win 7

Tags: gui
Revision history for this message
Vadim Peretokin (vperetokin) wrote : Re: [Mudlet-makers] [Bug 1096051] [NEW] Cannot delete labels/gauges/miniconsoles/etc

What kind of a use case do you have where elements keep getting created and
aren't reused?

Heiko (koehnheiko)
Changed in mudlet:
importance: Undecided → Wishlist
Revision history for this message
Garagoth (garagoth) wrote :

I am trying to create scripts that display various elements on screen as reaction to mud output.
These elements size / placement / labels texts /etc are not known until mud output comes and are removed after either some time or when specific line arrives from mud.

Right now I implemented this using a pool of labels and gauges that are moved to correct place and shown there and once not needed they are hidden and returned to pool. (if there are no more elements in pool they are created and added to it)

Not a perfect solution and a very messy one.

Revision history for this message
Heiko (koehnheiko) wrote : Re: [Mudlet-makers] [Bug 1096051] Re: Cannot delete labels/gauges/miniconsoles/etc

OK. This will be added in the future as it's a fairly popular request.

Am 05.01.2013 02:22, schrieb Garagoth:
> I am trying to create scripts that display various elements on screen as reaction to mud output.
> These elements size / placement / labels texts /etc are not known until mud output comes and are removed after either some time or when specific line arrives from mud.
>
> Right now I implemented this using a pool of labels and gauges that are
> moved to correct place and shown there and once not needed they are
> hidden and returned to pool. (if there are no more elements in pool they
> are created and added to it)
>
> Not a perfect solution and a very messy one.
>

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Yeah, true enough.

Garagoth (garagoth)
tags: added: gui
Stephen Lyons (slysven)
Changed in mudlet:
status: New → Triaged
Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Migrating issues to Github, please follow the new discussion here: https://github.com/Mudlet/Mudlet/issues/662

This issue needs to be closed and there is no appropriate status, so will set it to "Opinion" just for migration purposes.

Changed in mudlet:
status: Triaged → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.