Page MenuHomePhabricator

Feedback contour is shifted in coronal window again the mouse cursor
Closed, WontfixPublic

Description

Somehow the green feedback contour is shifted in the coronal window. If you start drawn the contour is mapped somewhat above the position of the mouse cursor.

Related Objects

Event Timeline

Ok on the current master it seems to work fine...
-> Setting Bug to invalid

Reopen bug because it occurs again on MacOS with current master.

The feedback contour is drawn some pixels below the actual mouse pointer position. The issue occurs on rotated and non-rotated images as well but only in the coronal render window.

Steps to reproduce:

  1. Start workbench
  2. Open image
  3. Create new Segmentation
  4. Select Add Tool
  5. Draw something in the coronal window

What I figured out so far:

  1. Issue has gone:
    • change the size of the application window
    • close the project and open the same image again
  1. Issue remains:
    • zoom in or out
    • move the application window
    • perform a reinit or global-reinit on the image
    • only delete images in the datamanager and repeat steps above

Did you do something to reproduce this bug? Or is it present all the time without doing something special? On my Mac I was not able to reproduce it.

I'm able to reproduce this bug without any special treatment. I've just performed the steps above.
It still occurs after switching branches.

Current release is finished. Reseting target milestone...

The reason for this bug is that the size of the render windows is not set correctly after application start if the application window was resized previously.
Investigation showed that the qt resize event already has the wrong size information so this issue seems to be qt related.
Using Qt5 for building the application seems to solve this issue.

kislinsk added a project: Bulk Edit.
kislinsk removed a project: Bulk Edit.