Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ship drag image gets stuck #479

Closed
blitzmann opened this issue Dec 18, 2015 · 5 comments
Closed

Ship drag image gets stuck #479

blitzmann opened this issue Dec 18, 2015 · 5 comments
Labels
bug Confirmed to be a bug fixed This issue has been fixed! Oh joy!

Comments

@blitzmann
Copy link
Collaborator

Someone messaged me:

http://puu.sh/lYXFa/2adce3df8e.png http://puu.sh/lYXJs/0f9c932637.png
This happens alot. Ussualy can fix it by going back to pyfa, but now It's staying on my screen.

I don't really know how to reproduce this, but I've had the issue as well. As soon as I can reproduce consistently, I can start looking into the issue

@Ebag333
Copy link
Contributor

Ebag333 commented Oct 16, 2016

Solution: don't use wxPython.

(Can we close this now @blitzmann? :D )

@blitzmann
Copy link
Collaborator Author

I'm going to keep this open. I was able to reproduce it, just never got around to posting about it. I got it to reproduce when right clicking during a drag. It should be a matter of canceling the drag on right click.

However, the drag, IIRC, only really is needed for fleet booster support, which is going away soon. It might also work with the projection pane, dunno yet. I'm going to tag this as such so that I can look at it again when that happens and verify.

@Ebag333
Copy link
Contributor

Ebag333 commented Oct 17, 2016

It probably happens with all drags, modules, ships, etc. Like dragging them to the projection tab.

@blitzmann
Copy link
Collaborator Author

It probably happens with all drags, modules, ships, etc. Like dragging them to the projection tab.

No, only with fit drags. Other drags don't create a drag image. Also, confirmed that fits can be dragged to projection view, so this bug will have to be fixed eventually.

@blitzmann
Copy link
Collaborator Author

Got a fix for it. For documentation, this was the exception happening:

Traceback (most recent call last):
  File "C:\Users\Ryan\Sync\Git\blitzmann\Pyfa\gui\shipBrowser.py", line 1554, in OnContextMenu
    self.PopupMenu(menu, pos)
  File "C:\Users\Ryan\Sync\WinPython-32bit-2.7.10.1\python-2.7.10\lib\site-packages\wx-3.0-msw\wx\_core.py", line 11144, in PopupMenu
    return _core_.Window_PopupMenu(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "Assert failure" failed at ..\..\src\common\wincmn.cpp(3346) in DoNotifyWindowAboutCaptureLost(): window that captured the mouse didn't process wxEVT_MOUSE_CAPTURE_LOST

@blitzmann blitzmann added fixed This issue has been fixed! Oh joy! bug Confirmed to be a bug and removed Remove Fleet Boosters labels Oct 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed to be a bug fixed This issue has been fixed! Oh joy!
Projects
None yet
Development

No branches or pull requests

2 participants