Giter Club home page Giter Club logo

Comments (6)

kbumsik avatar kbumsik commented on August 15, 2024 1

@cristianopimentel Hi, it sounds like that it's caused by my poor implementation for detecting the main screen. Could you tell me what's your position of the virtual screen relative to the main screen (e.g. left, right, top, below...)?

If you have time, could you also try creating the virtual screen in various positions and you still have the same problem?

from virtscreen.

kbumsik avatar kbumsik commented on August 15, 2024

This is because of HiDPI screen.
Now, I use Qt.application.screens[0] object to get resolutions and positions of each monitor. Also using Qt.application.screens[0].devicePixelRatio solves problem with QCursor's absolute position scaling problem.

from virtscreen.

kbumsik avatar kbumsik commented on August 15, 2024

Fixed in 0d01fa0.

from virtscreen.

cristianopimentel avatar cristianopimentel commented on August 15, 2024

I @kbumsik, I'm also facing this problem using a DELL 7460 running Fedora 29.
As soon as the Virtual Screen is created, the app's UI goes to the Virtual Screen.
Any tip?

from virtscreen.

kbumsik avatar kbumsik commented on August 15, 2024

@cristianopimentel As a note, VirtScreen currently decides the position of the UI window using the position of the mouse at the moment you click the system tray icon. You might have the problem if you click the system tray icon in the virtual screen, not in the main screen.

from virtscreen.

cristianopimentel avatar cristianopimentel commented on August 15, 2024

Hi @kbumsik, here are my findings as you requested:

  1. VirtualDisplay on RIGHT of main display:
  • App moved to VirtualDisplay once created;
  • Context menu in the trayicon works;
  1. VirtualDisplay on BOTTOM of main display:
  • App moved to VirtualDisplay once created;
  • Context menu in the trayicon works;
  1. VirtualDisplay on LEFT of main display:
  • App moved to VirtualDisplay once created;
  • Context menu does not work;
  1. VirtualDisplay on LEFT of main display:
  • App moved to VirtualDisplay once created;
  • Context menu does not work;

Worth mention I'm using GNOME 3.30.2 with custom Topicons extension. The menu bar does not extent to the virtualdisplay so the tray icons does not appear in it.

Let me know if you need more test from my side.

Thanks.

from virtscreen.

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.