Page MenuHome

UI: Redesign of the progress bar.
ClosedPublic

Authored by Kévin Dietrich (kevindietrich) on Jan 11 2016, 11:31 AM.

Details

Summary

This is the patch for T42004. This patch and the task kinda rot, so at last I upload this patch in order to perhaps get things going here.

Here's a screenshot:

Diff Detail

Repository
rB Blender
Branch
progress_bar

Event Timeline

Kévin Dietrich (kevindietrich) retitled this revision from to UI: Redesign of the progress bar..
Kévin Dietrich (kevindietrich) updated this object.
  • Cleanup, make item color lighter.
Brecht Van Lommel (brecht) requested changes to this revision.Jan 16 2016, 7:34 PM
Brecht Van Lommel (brecht) added inline comments.
source/blender/editors/interface/interface_templates.c
3352–3382

For render progress timing we already have BLI_timecode_string_from_time_simple(). This new format is easier to understand, but I think we should try to be consistent.

If we want to make an easier to understand time format that can be done as a separate task for Blender as a whole. For backwards compatibility that might have to wait for 2.8 though, some scripts might be parsing the time format from logs.

source/blender/editors/interface/interface_widgets.c
1857

This theme color change will not affect existing user preferences.

We should version patch this in init_userdef_do_versions().

source/blender/editors/render/render_internal.c
948–949 ↗(On Diff #5805)

Not sure why this change was done, but if we do it then "Sequence Render"` should be changed too.

source/blender/windowmanager/intern/wm_jobs.c
279

Use sizeof(wm_job->text) instead of 128.

This revision now requires changes to proceed.Jan 16 2016, 7:34 PM
Kévin Dietrich (kevindietrich) edited edge metadata.
Kévin Dietrich (kevindietrich) marked 4 inline comments as done.
  • Address review points
  • use PIL_time
  • de-duplicate "start_time" property from wmJob struct
source/blender/editors/render/render_internal.c
948–949 ↗(On Diff #5805)

This was to align with the mockup I used, iirc. It does make sense since technically at this point Blender, or rather the render engine, is "rendering". I would say that if we do it, then we should be total grammar nazis and rework all of the other job names to be like that (i.e. "Fluid Simulation" -> "Simulating Liquid" (smoke/gas is a fluid too!)). Then with D1731, we'd also have to associate the correct cache name with the job instead of simply "Point Cache". Anyway, that out of the scope of this patch I guess, so I'm gonna revert this little change.

Brecht Van Lommel (brecht) requested changes to this revision.Jan 16 2016, 9:47 PM
Brecht Van Lommel (brecht) edited edge metadata.

Looks good to me now except one thing, when rendering is see "Rend" instead of "Render" as the text, not sure where those characters get cut off.

This revision now requires changes to proceed.Jan 16 2016, 9:47 PM
Kévin Dietrich (kevindietrich) edited edge metadata.
  • Fix name being cutoff by a few characters.
Brecht Van Lommel (brecht) edited edge metadata.

Looks good now.

This revision is now accepted and ready to land.Jan 16 2016, 10:45 PM

Subversion bump needs update for master, apart from that it compiles fine. I am fine with it.

This revision was automatically updated to reflect the committed changes.