Skip to content

Fix log entry timestamps#159

Merged
NejcS merged 1 commit intomainfrom
fix/log_entry_timestamps_subtract_pause_time
Apr 29, 2026
Merged

Fix log entry timestamps#159
NejcS merged 1 commit intomainfrom
fix/log_entry_timestamps_subtract_pause_time

Conversation

@NejcS
Copy link
Copy Markdown
Contributor

@NejcS NejcS commented Apr 14, 2026

This PR fixes the log entries in the log view that had wrong timestamps in case the user paused rendering. This PR changes so that the pause time is not included in the timestamps.

@NejcS NejcS requested a review from zanjonke April 14, 2026 11:51
@NejcS NejcS self-assigned this Apr 14, 2026
@pedjaradenkovic pedjaradenkovic requested review from pedjaradenkovic and removed request for zanjonke April 15, 2026 11:30
@NejcS NejcS force-pushed the fix/log_entry_timestamps_subtract_pause_time branch from ca50f78 to 6c4dac4 Compare April 16, 2026 08:32
@NejcS NejcS changed the title Fix post render console output and log entry timestamps Fix log entry timestamps Apr 16, 2026
@NejcS
Copy link
Copy Markdown
Contributor Author

NejcS commented Apr 17, 2026

@pedjaradenkovic this is ready for review. Essentially, the change from your previous review is that TuiLoggingHandler doesn't receive the RunState anymore but now the RunState receives the EventBus. I could untie the RunState and the EventBus simply by calling

self.event_bus.publish(RenderTimeSet(render_time_accumulated=self.run_state.render_time_accumulated))

where

self.run_state.add_to_render_time()

is called but that's suboptimal as well.

@NejcS NejcS force-pushed the fix/log_entry_timestamps_subtract_pause_time branch from 850813b to 91657bd Compare April 22, 2026 05:41
@NejcS
Copy link
Copy Markdown
Contributor Author

NejcS commented Apr 22, 2026

@pedjaradenkovic I updated with the naming change we talked about.

Copy link
Copy Markdown
Contributor

@pedjaradenkovic pedjaradenkovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@NejcS NejcS force-pushed the fix/log_entry_timestamps_subtract_pause_time branch from 8b67be4 to 6f2d47a Compare April 29, 2026 07:09
@NejcS NejcS merged commit afff3b1 into main Apr 29, 2026
10 checks passed
@NejcS NejcS deleted the fix/log_entry_timestamps_subtract_pause_time branch April 29, 2026 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants