-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AIM messages usually aren't printed to sidebar until it's closed #63368
Comments
I had noticed this, too. The messages not showing up at time of transfer makes it difficult to track what you have already transferred -- I can't think of any specific examples off of the top of my head of when this has mattered, but I know I have noticed this issue and have in the moment wished that it would be reverted to the old, correct behavior. So, thanks for the write-up, @Kamayana! |
I can't reproduce but it's probably related to screen size/overlap between the AIM and side panel. Can you try this change? diff --git a/src/advanced_inv.cpp b/src/advanced_inv.cpp
index a8e0b7bd7c..37af774f30 100644
--- a/src/advanced_inv.cpp
+++ b/src/advanced_inv.cpp
@@ -1635,6 +1635,7 @@ void advanced_inventory::display()
if( ui ) {
ui->invalidate_ui();
+ g->invalidate_main_ui_adaptor();
ui_manager::redraw_invalidated();
}
|
That worked! I'll make a PR for it, thanks! |
@Kamayana PR in wrong repo |
Is it? The PR message looks correct to me:
Am I missing something? |
You made the PR in your own fork (Kamayana/Cataclysm-DDA) and not the upstream here (CleverRaven/Cataclysm-DDA) |
Oh, Whoops! Thanks for pointing that out! |
Describe the bug
When moving individual items around using the AIM, messages are printed in the message box at the top of the AIM but not printed in the sidebar. When the AIM is closed, the sidebar is suddenly filled with all those messages at once. This does not occur when using Move All or when moving to All Surrounding Squares. It also doesn't occur if there's a nearby interruption, like an enemy, which thankfully makes this bug pretty minor.
This looks to be an unintended consequence of #62400 - it doesn't show up in the release immediately before that PR was merged.
Steps to reproduce
Expected behavior
I'd expect the sidebar to always update as things are moved.
Screenshots
No response
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Portal Storms Ignore NPCs [personal_portal_storms],
No Fungal Growth [no_fungal_growth],
Bionic Professions [package_bionic_professions]
]
Additional context
No response
The text was updated successfully, but these errors were encountered: