View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0006269 | The Dark Mod | GUI | public | 11.03.2023 13:34 | 06.12.2026 13:15 |
| Reporter | Frost_Salamander | Assigned To | nbohr1more | ||
| Priority | normal | Severity | normal | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | TDM 2.11 | ||||
| Target Version | TDM 2.15 | Fixed in Version | TDM 2.15 | ||
| Summary | 0006269: Disabled pop-up message GUIs still briefly appear | ||||
| Description | This is referring to this feature: https://wiki.thedarkmod.com/index.php?title=Popup_messages If you disable a message using atdm:target_message_disable and then trigger the message, you briefly see the GUI flicker on the screen. | ||||
| Steps To Reproduce | 1. Add a atdm:gui_message entity to a map and fill in some message text 2. Set up a trigger_multiple which targets the atdm:gui_message entity 3. Set up atdm:target_message_disable entity which also targets the atdm:gui_message entity 4. Set up a trigger_once that targets the atdm:target_message_disable entity 5. launch the map, and walk through the trigger_once that disables the message 6. now walk through the trigger_multiple. The GUI portion of the message will briefly flicker on the screen. | ||||
| Additional Information | This isn't a problem if you just have a single pop-up triggered by a single trigger_once. But anything more complicated than that it's an issue. In my setup (which I imagine isn't that uncommon), I have a message that's displayed only once when you get to a certain location, but there are multiple entry points to that location (so multiple triggers for the message). After it's displayed once I disable it (using trigger_relays). If you then run over one of the other triggers, you get the GUI flicker. | ||||
| Tags | popup messages | ||||
| duplicate of | 0006117 | closed | Popup message in upper-left corner fade in has wrong first frame |
| Rev 11387 | |
|
I have some issue with this... The logic for this fix is tied to the script class name "tdm_gui_message". So what would happen if someone creates his custom script for messages? Will it have the same issue? in general, it looks more like a hack to suppress specific failure than fixing the root issue. Can we find some better fix? |
|
|
ent->Activate(activator) already handles the script side no? The fix is to prevent all attached guis from forcing a 2nd activate operation since they are hard-coded to do that. I suppose the check could be done in the gui attachment parsing? |
|
|
I understand that you activation is harmful here because the GUI is logically disabled but for some reason not transparent. Maybe it's better to ensure GUI is transparent while disabled? Maybe it is possible to detect trigger on GUI side and block it's effect in the specific GUI? I see that triggering all GUIs is the hardcoded logic. For less confusion, it's better to either leave it like that, or at least drop triggers based on something configurable on case-by-case basis. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 11.03.2023 13:34 | Frost_Salamander | New Issue | |
| 05.12.2023 20:20 | Daft Mugi | Relationship added | duplicate of 0006117 |
| 24.01.2024 07:55 | Fiver | Tag Attached: popup messages | |
| 05.12.2026 02:50 | nbohr1more | Note Added: 0017413 | |
| 05.12.2026 02:51 | nbohr1more | Assigned To | => nbohr1more |
| 05.12.2026 02:51 | nbohr1more | Status | new => resolved |
| 05.12.2026 02:51 | nbohr1more | Resolution | open => fixed |
| 05.12.2026 02:51 | nbohr1more | OS | Windows => |
| 05.12.2026 02:51 | nbohr1more | OS Version | 11 => |
| 05.12.2026 02:51 | nbohr1more | Platform | PC => |
| 05.12.2026 02:51 | nbohr1more | Fixed in Version | => TDM 2.15 |
| 05.12.2026 02:51 | nbohr1more | Target Version | => TDM 2.15 |
| 06.12.2026 12:28 | stgatilov | Note Added: 0017424 | |
| 06.12.2026 12:51 | nbohr1more | Note Added: 0017426 | |
| 06.12.2026 12:52 | nbohr1more | Note Edited: 0017426 | |
| 06.12.2026 13:14 | stgatilov | Note Added: 0017430 | |
| 06.12.2026 13:15 | stgatilov | Note Edited: 0017430 |