ImaginarySense / Imaginary-Teleprompter

Easy to use, free software, teleprompter app.
http://imaginary.tech/teleprompter
GNU General Public License v3.0
267 stars 53 forks source link

External prompt on wrong monitor #97

Open videosmith opened 2 years ago

videosmith commented 2 years ago

When arranging the monitor order in Raspberry Pi 4 (latest updates) so that monitor 2 is to the left of monitor 1 with the same settings for external monitor prompting as the default arrangement of monitor 1 on the left, the external prompt window apparently opens in the same monitor (1) as the in-line window (see pics). 20211017_121744 ) 20211017_121818 20211017_121841

Cuperino commented 2 years ago

Imaginary Teleprompter is always suppose to place the External Prompter at the first monitor in which the editor is not placed at. This sounds like bug. It may be platform specific. I'll test this week and see if I can replicate.

Are you using the Wayland display server by any chance, or are you using Xorg, Raspberry Pi OS' default display server? If you're using Wayland, the bug may be related to that.

videosmith commented 2 years ago

I believe Wayland since I use KDE Plasma instead of Gnome.

Cuperino commented 2 years ago

Hmm... Both Gnome and KDE Plasma have decent support for Wayland at this point... Could you run these commands to confirm that the display server is Wayland?

This command gets you the ID of the current user session. Copy the first of the numbers it returns. loginctl

This command returns whether the session is X11 based or Wayland. Replace SESSION_ID with the number copied from the previous program's output: loginctl show-session <SESSION_ID> -p Type

videosmith commented 2 years ago

20211017_225714

videosmith commented 2 years ago

Perhaps I was mistaken.

Cuperino commented 2 years ago

You were but that is a good thing because this increases the chances you've found a bug in Imaginary Teleprompter.

Cuperino commented 2 years ago

I confirm, you've found a bug @videosmith.

Cuperino commented 2 years ago

I'll wait for @va2ron1 to publish his changes before tackling this bug, to avoid duplicating efforts.

marga-personal commented 2 years ago

Hi! I'm facing this issue myself. Any hopes of getting it fixed?

Cuperino commented 2 years ago

Hi @margamanterola, Thank you for writing. I apologize, I had forgotten about this bug... va2ron1 did eventually publish his changes, but there's about a month of his work that needs polish before it can be incorporated. I've been postponing this work while fixing bugs and adding internationalization to QPrompt teleprompter app, which I'm expecting to release an update early this summer.

I could try to ship Imaginary Teleprompter 4 in tandem with QPrompt 1.1. While I haven't yet tested muti-screen support in v4.0, this bug should still be present because 4.0 is based off 2.x, with updated libraries and new customization options.

If anyone were willing to take a look at the code and attempt to fix this or any other bug, v4.0 is the branch I would go for. The beta-v branch has that extra month of work by va2ron1, but I'm seriously considering dropping it due to the amount of time that it would take for me to polish the new file manager, and to fix the things that broke.