Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#25471] UI glitch - image editor scopes resize to negative height (+patch)

Date:
2011-01-03 11:48
Priority:
3
State:
Closed
Submitted by:
M.G. Kishalmi (lmg)
Assigned to:
Xavier Thomas (xat)
Category:
Interface
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
UI glitch - image editor scopes resize to negative height (+patch)
Detailed description
attaching screenshot showing:
problem: scope resized to negative height (before)
patch result: scopes limited to 20px height (after)

attaching patch with possible fix
BUT the patch has a strange side effect: the 4th panel 'sample line' initializes with only 20px height,
as opposed to the others that init with 100.
it's the same template as histogram, so maybe something is (undesirably) interconnected?

further research needed.

r34029 @ linux64, system python 3.1.2

Followup

Message
  • Date: 2011-01-03 23:09
  • Sender: Thomas Dinges
  • Ton, your commit 34046 doesnt fixe the starting size of Sample Line.It is still small.
  • Date: 2011-01-04 04:56
  • Sender: Xavier Thomas
  • I will look into it. I think I already fixed this but maybe it was in a patch that did not went into trunk (updating scope in a background job).
  • Date: 2011-01-04 05:22
  • Sender: Xavier Thomas
  • In fact current trunk code is ok. If you create a new uv/imge editor then it is initialized with a height of 100. However opening the default startup .blend which have a scope height of 0 will result in a height of 20.

    I am not sure if the best way to correct this is in readifle.c (line 4934) by forcing the height to 100 if the saved file had a height inferior, or by recreating a startup blend file.
  • Date: 2011-01-04 05:57
  • Sender: Xavier Thomas
  • I realized that do version is a much better place. I committed a fix in r34052.
 

Attached Files:

Name Date Download
svn_diff_interface_templates.c 2011-01-03 11:48 Download
img-ed-scopes.png 2011-01-03 11:48 Download

Changes:

Field Old Value Date By
status_idOpen2011-01-04 05:57xat
close_dateNone2011-01-04 05:57xat
assigned_tolmg2011-01-04 05:57xat
StatusReopened2011-01-04 05:57xat
status_idClosed2011-01-03 23:09dingto
close_date2011-01-03 13:132011-01-03 23:09dingto
StatusFixed / Closed2011-01-03 23:09dingto
status_idOpen2011-01-03 13:13ton
close_dateNone2011-01-03 13:13ton
assigned_tonone2011-01-03 13:13ton
StatusNew2011-01-03 13:13ton
File Added14351: img-ed-scopes.png2011-01-03 11:48lmg
File Added14352: svn_diff_interface_templates.c2011-01-03 11:48lmg