Code Monkey home page Code Monkey logo

Comments (10)

adriancs2 avatar adriancs2 commented on May 13, 2024 1

You can commit the changes to the repository

from ribbonwinforms.

RussKie avatar RussKie commented on May 13, 2024 1

from ribbonwinforms.

remy1995 avatar remy1995 commented on May 13, 2024 1

I can confirm that issue too on these specs :

  • MacBook Pro 2016 15"
  • Windows on virtual machine (Parallels Desktop with HiDPI ON)

Cliking on Combobox has no effect

from ribbonwinforms.

drony avatar drony commented on May 13, 2024

yes same problem here on my home pc. interestingly my office computer doesn't affected.

from ribbonwinforms.

PietF avatar PietF commented on May 13, 2024

AL-74
did yoy test clicking outside the ribbon yet? I think the dropdown is going to stay open.
You can replace e.Location by using the GetCursorPos API for a better solution.
GetCursorPos calculates the logical (scaled) location and that is just what we need.
As far as I can see you also have to alter HandleHookMouseDown in the Ribbon class for the same.

PietF

from ribbonwinforms.

Al-74 avatar Al-74 commented on May 13, 2024

PietF
actually you are right, with my changes clicking outside the dropdown is going to stay open.
My doubt on correcting the problem re-calculating the mouse position (eg. using GetCursorPos API) is that it should be done only if windows is 1803 version, not for other versions.
Morover this new behavior of windows should also be a temporary bug, that could be corrected on a next windows update, sooner or later.

from ribbonwinforms.

PietF avatar PietF commented on May 13, 2024

AL-74,
Using GetCursorPos calculates always the logical (scaled) location.
It also should work on older systems. (even when testing on my windows vista everything is okay)
I don't see that this should break it for everyone, tempory bug or not.

PietF

from ribbonwinforms.

Al-74 avatar Al-74 commented on May 13, 2024

PietF,
i have made some tests using GetCursorPos and actually it seems to work well in all situations.
adriancs2 I have created a pull request with the correct fix.
Thank you guys!

from ribbonwinforms.

DarkAnd avatar DarkAnd commented on May 13, 2024

I use ribbon in my projects since 2014, never gave a problem, but now with the update of windows 10, it is giving that CLick problem, which has already been reported, would you just update the ribbon35 dll without having to redo the project?

I tried replacing the Ribon dll just by giving rename, but it did not work

from ribbonwinforms.

adriancs2 avatar adriancs2 commented on May 13, 2024

Hi, this problem is fixed in latest version. You may try the nuget version.
Guide: How to add ribbon library via Nuget:
https://github.com/RibbonWinForms/RibbonWinForms/wiki

from ribbonwinforms.

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.