https://bugs.winehq.org/show_bug.cgi?id=44794
Jim Mussared jim.mussared@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jim.mussared@gmail.com
--- Comment #6 from Jim Mussared jim.mussared@gmail.com --- This also applies to Cut2d, another program from Vectric. (I'm using v9.5 but it also applied to 9.0). I'm using Wine 3.16 (Arch Linux), and also can repro with Wine built from source.
I've added another screenshot -- this also applies to the main layer list, not just the popup.
As already mentioned, there's a free trial for these programs, but for background, the items in the list are
[visibility bulb][colour swatch][icon][text ][menu]
- The bulb should toggle layer visibility on mouse up. (And the bulb should change from yellow to grey) - The colour swatch should pop up a floating colour picker on mouse up. (And the swatch should update to reflect the layer colour) - If you click on the text or the icon, you can edit the layer name. (i.e. the default listview behaviour works) - Clicking on the menu icon (mouse up) is supposed to bring up the context menu (seems like a weird feature, but that's what the app does!). - Right-clicking works (and shows the context menu), but only if you do it over the icon or text.
Also, if a layer visibilty change happens elsewhere in the program, the bulb doesn't update. (In the screenshot I added, the third layer is actually invisible). If you force a repaint (e.g. by undocking the layer list) then they do update.
The list is implemented as a comctl32 listview, the bulb/swatch/menu icons are subitems.
So: - Listview hit testing for mouse up events doesn't seem to account for subitems. - The subitems don't seem to invalidate for painting.
I have a patch for this - will send to wine-devel to discuss.