Page MenuHome

Vertex painting: Sampling color opens empty options window in viewport
Closed, ResolvedPublic

Description

System Information
Operating system: Windows 10 Pro
Graphics card: GeForce 1080 Ti

Blender Version
Broken: Blender 2.8 RC2
Worked: (optional)

Short description of error

Exact steps for others to reproduce the error

  1. Create a UV sphere.
  2. Switch to Vertex paint
  3. Paint with any color, red e.g.
  4. Press S-key now to sample a color.

-> After sampling a color, an empty options window appear at the left bottom corner.
A click on the empty window let it disappear. Nothing happen here. That's not really a bug but not nice.

Event Timeline

The problem is that the properties of PAINT_OT_sample_color only show up when invoked in the 3D Viewport in Texture Paint mode. While the operator itself is working in 3D Viewport in Vertex Paint mode and Image Editor in Paint mode.

Making sample_color_poll always return true, makes the properties appear properly.

@Sebastian Parborg (zeddb) You were the last one to touch sample_color_poll. Are you able to figure out what the problem is?

Sebastian Parborg (zeddb) lowered the priority of this task from Needs Triage by Developer to Confirmed, Medium.

I can confirm this issue.

I've posted a fix here: D5361

Thanks for the research into this matter @matc (matc)! It made this fix so much easier.

Thank you.

The fix is not in the master yet, right?

But when I sample a vertex color in the current master, then there is still an empty options window appearing. Do I misunderstand something?

It works for me, are you building yourself or are you using the bulid bots?

I explain it better here in this video: https://youtu.be/8lvYYMZgMRU
Hope it is clear now.

If possible, don't show any information in the bottom left area if the user just sampling a color. An empty window communicate a bug. The user expects something, that is not shown.

I have solved this issue and I can no longer reproduce it on my end.

Please answer my questions. It seems like you are still using an older build.

This is strange. So I've done the following:

  1. Completely uninstalled Blender from my system.
  2. Deleted my user folder to avoid old user prefs problems.
  3. Downloaded the current official release and installed it again to my system.
  4. Restarted the new install and tested to sample vertex colors from a sphere.

-> All the same. I get a small window at the bottom left corner after sampling.

I've no idea what to do more. Maybe an graphics card driiver issue? But this can't be the reason actually.

Here another video capture how it looks after my described fresh Blender reinstall.
https://youtu.be/yjlBkv6sq6c

Best wishes
Chris

That is not the latest version.
You need to use the build from here: https://builder.blender.org/download/

All right. Then all is fine.
I thought your fix is in the current official master.

Thank you
Chris

That on IS the current official master. Master refers to the master branch. The current stable release is not the master branch. It is in its own 2.80 branch (that will only get critical fixes for a 2.80a release).