Giter Site home page Giter Site logo

Comments (10)

bordaigorl avatar bordaigorl commented on July 4, 2024

Hi, I cannot really reproduce the issue, but the only thing I could think could go wrong is that there is some unwanted sharing of the image buffers.
Could you try replacing the cloneViewer function at src/rmview/rmview.py line 342 with the following code:

  def cloneViewer(self):
    img = self.viewer.image()
    img = QPixmap.fromImage(img)
    img.detach()
    v = QtImageViewer()
    v.setImage(img)
    v.show()

To try it out you will need to reinstall rmview with pip install ..
If you are unsure what this all means let me know (including what installation method and OS you used) and I'll try to help.

from rmview.

vale981 avatar vale981 commented on July 4, 2024

It's happening to me too on the Rm2. The closing does not seem to be deterministic...

from rmview.

bordaigorl avatar bordaigorl commented on July 4, 2024

Have you tried the devel branch? the above mentioned commit 50137db could be a solution to this...

from rmview.

vale981 avatar vale981 commented on July 4, 2024

yes, it is still happening

from rmview.

vale981 avatar vale981 commented on July 4, 2024

but way less frequently

from rmview.

vale981 avatar vale981 commented on July 4, 2024

Ok cool, it did not happen for a long while now.

from rmview.

bordaigorl avatar bordaigorl commented on July 4, 2024

@vale981 could you tell me which OS and RM2 firmware version you are using?
Also: which installation method for rmview are you using? Can you share the non-private bits of your configuration?
(You can obtain that by running rmview -v)

from rmview.

vale981 avatar vale981 commented on July 4, 2024
  • OS :: NixOS
  • Firmware :: 2.7.0.51
  • Config
    {
        "ssh": {
            "address": [
                "10.11.99.1"
            ],
            "key": "~/.ssh/id_rsa"
        },
        "orientation": "auto",
        "pen_size": 15,
        "pen_color": "red",
        "pen_trail": 200
    }

Installation through nixpkgs and through cloned git repo.

The issue just reappeared: After not touching the tablet for a while, the cloned frames disappear upon writing on the tablet.

from rmview.

vale981 avatar vale981 commented on July 4, 2024

nvm, fixed it
PR incoming

from rmview.

bordaigorl avatar bordaigorl commented on July 4, 2024

@vale981 great to hear!!! Very curious to see what the bug was

from rmview.

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.