Code Monkey home page Code Monkey logo

Comments (13)

bradallred avatar bradallred commented on August 19, 2024

probably something fairly simple. probably should be looking at the button "value" rather than its "id" in PortraitDragOp and Button::CompleteDragOperation i forget the details.

from gemrb.

bradallred avatar bradallred commented on August 19, 2024

if thats not it, a cursory glance suggests that we can simply swap the frames of the buttons (after SwapPCs) :)

from gemrb.

lynxlynxlynx avatar lynxlynxlynx commented on August 19, 2024

that's just dragging — like I said, no mouse interaction works.

from gemrb.

bradallred avatar bradallred commented on August 19, 2024

yes, but nobody has yet looked into what you mean by that yet :)

are you saying that Window::DispatchMouseMotion never creates a drag event? lots of possibilities on how it "doesn't work".

from gemrb.

lynxlynxlynx avatar lynxlynxlynx commented on August 19, 2024

I haven't looked at dragging at all, since that's so rarely used. I saw that clicking doesn't work and from there it was obvious to try rightclicking and dragging. Then I wrote the report and continued the exploration I was in the middle of. The window basically behaves like it had a painted background, not controls.

from gemrb.

bradallred avatar bradallred commented on August 19, 2024

ok, i'll investigate further.

from gemrb.

bradallred avatar bradallred commented on August 19, 2024

dragging works, but now there is a label over the button so it is getting dragged...
pretty sure that label has always been there so i'm not quite sure how this was working before (Im certain it was, it was the test case when this was developed)

from gemrb.

lynxlynxlynx avatar lynxlynxlynx commented on August 19, 2024

Ah. In master, all labels are like that, so you can default to it.

from gemrb.

lynxlynxlynx avatar lynxlynxlynx commented on August 19, 2024

Only right-clicking remains, but that is another victim of overzealous code removal on the py side.

from gemrb.

bradallred avatar bradallred commented on August 19, 2024

I prefer to label it as underzealous cleanup ;)

from gemrb.

lynxlynxlynx avatar lynxlynxlynx commented on August 19, 2024

I'll have time later today to look at it; the initial thing I found is unrelated.

from gemrb.

lynxlynxlynx avatar lynxlynxlynx commented on August 19, 2024

ok, it was the same rightclick binding bug (#33). That's just the first hurdle though, as the passed button has an insanely big ID. Checking what that's about ...

Looks like it's the default python object id, not what the function wants to get, which is the party id. Trivial to mend back.

from gemrb.

lynxlynxlynx avatar lynxlynxlynx commented on August 19, 2024

since it's from 961ef20, this likely affects item dragging to others. Crashy, so no quick test possible.

from gemrb.

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.