Code Monkey home page Code Monkey logo

Comments (2)

nickdowell avatar nickdowell commented on June 26, 2024

Update: this is a regression introduced in release 4.11

Using git bisect I have tracked it down to commit e0acde7

e0acde7fef744eae9010713a0de2c4ad72712b4f is the first bad commit
commit e0acde7fef744eae9010713a0de2c4ad72712b4f
Author: scheffle <[email protected]>
Date:   Sat Apr 24 17:59:09 2021 +0200

    new mouse event handling

 vstgui/lib/cframe.cpp                              | 269 +++++++++++----------
 vstgui/lib/cframe.h                                |  10 +-
 vstgui/lib/cview.cpp                               | 105 ++++++++
 vstgui/lib/cview.h                                 |  14 +-
 vstgui/lib/cviewcontainer.cpp                      | 195 ++++++++-------
 vstgui/lib/cviewcontainer.h                        |  11 +-
 vstgui/lib/events.h                                | 245 ++++++++++++++++++-
 vstgui/lib/platform/iplatformframecallback.h       |   3 -
 vstgui/lib/platform/mac/cocoa/nsviewframe.mm       |  81 ++++---
 vstgui/lib/platform/win32/win32frame.cpp           | 105 ++++----
 vstgui/lib/vstguifwd.h                             |   5 +
 .../examples/standalone/resource/resources.uidesc  |   2 +-
 .../examples/standalone/resource/test.uidesc       |  12 +-
 vstgui/tests/unittest/lib/cframe_test.cpp          |  91 ++++---
 vstgui/tests/unittest/lib/csplitview_test.cpp      |  68 +++---
 vstgui/tests/unittest/lib/cview_test.cpp           |   9 +-
 vstgui/tests/unittest/lib/cviewcontainer_test.cpp  |  58 +++--
 vstgui/tests/unittest/unittests.cpp                |   6 +
 vstgui/tests/unittest/unittests.h                  |   2 +-
 19 files changed, 874 insertions(+), 417 deletions(-)

from vstgui.

nickdowell avatar nickdowell commented on June 26, 2024

The root cause is that Win32Frame::proc is calling SetCapture when handling WM_XBUTTONDOWN for option menus. COptionMenu returns kMouseDownEventHandledButDontNeedMovedOrUpEvents so this wasn't the case before the offending commit. Pull Request with fix incoming!

from vstgui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.