Giter Site home page Giter Site logo

Comments (7)

steveway avatar steveway commented on September 3, 2024 1

Mhh, while experimenting with this using the Linux on Windows solution of Windows 10 I can get it to crash when resizing.
Interestingly it does not crash on maximize.
Also using the sides or corners resizes without crash.
But if I use the QSizeGrip on the bottom right to resize then it crashes.
And, I think I found the line which causes this by using the -m trace option of python...
In the WaveformViewRewrite, if I uncomment the QtCore.QCoreApplication.processEvents() line at the end of the resizeEvent then this does not seem to crash anymore.
I'm not sure if anything else is broken by this.
But this also seems to fix the sporadic crashes at startup mentioned in #77

from papagayo-ng.

steveway avatar steveway commented on September 3, 2024 1

After some more research this seems to be related to this:
https://bugreports.qt.io/browse/QTBUG-31524
It looks like calling processevents from inside an event is not recommended.

from papagayo-ng.

steveway avatar steveway commented on September 3, 2024

Mhh, I can't reproduce this crash here on Windows 10 nor in a Ubuntu 20.04 VM.
Is this reproducible or does this only happen sometimes?
A Segmentation Fault normally happens from the underlying libraries, so in this case QT is likely the culprit.
But without being able to reproduce this I can't even begin to analyse if we can do something against it.

from papagayo-ng.

dadoprom avatar dadoprom commented on September 3, 2024

Is this reproducible or does this only happen sometimes?

Yes, It happens almost all the time... sometimes you can maximize once and then on demaximize there the crash happens (segmentation fault)

from papagayo-ng.

steveway avatar steveway commented on September 3, 2024

That is strange, are you sure that you are using the current commit?
I can't replicate this on my Ubuntu VM at all, it nicely maximizes and de-maximizes here.
The cause could be a multitude of things, maybe the graphics-card/driver combo is problematic or the window manager does strange things.
Here on a standard Ubuntu 20.04 I can't replicate this.

from papagayo-ng.

dadoprom avatar dadoprom commented on September 3, 2024

perhaps try it with KDE neon 5.19 (18.04) in VM

from papagayo-ng.

steveway avatar steveway commented on September 3, 2024

Should be fixed in this: #94

from papagayo-ng.

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.