[yakuake] [Bug 411681] Yakuake always shown on second monitor on wayland

2021-09-26 Thread Oded Arbel
https://bugs.kde.org/show_bug.cgi?id=411681

--- Comment #17 from Oded Arbel  ---
(In reply to Damian Kaczmarek from comment #15)
> So web browsers already solved this. Any website can ask for permission to
> use the camera, record audio, etc. I imagine KWin perhaps having a DBus API
> for requesting permission to get the "current screen", user then allows
> Yakuake to use it and voilà.

There is an API, its called KWindowSystem. Unfortunately, it is completely
unimplemented for Wayland - see bug 442662.

-- 
You are receiving this mail because:
You are watching all bug changes.

[yakuake] [Bug 411681] Yakuake always shown on second monitor on wayland

2021-09-26 Thread Damian Kaczmarek
https://bugs.kde.org/show_bug.cgi?id=411681

--- Comment #16 from Damian Kaczmarek  ---
Alternatively installed application could register their permissions. Maybe
there could be some /etc/kwin.d directory where a file
/etc/kwin.d/40-yakuake.conf would whitelist the permission to query for current
screen or cursor position.

-- 
You are receiving this mail because:
You are watching all bug changes.

[yakuake] [Bug 411681] Yakuake always shown on second monitor on wayland

2021-09-26 Thread Damian Kaczmarek
https://bugs.kde.org/show_bug.cgi?id=411681

--- Comment #15 from Damian Kaczmarek  ---
So web browsers already solved this. Any website can ask for permission to use
the camera, record audio, etc. I imagine KWin perhaps having a DBus API for
requesting permission to get the "current screen", user then allows Yakuake to
use it and voilà.

Of course it's not a quick fix. Such API would need to be designed, UI for
confirming permissions would need to be written and then backends for x11 and
Wayland added. I imagine X11 could use QCursor::pos()

-- 
You are receiving this mail because:
You are watching all bug changes.

[yakuake] [Bug 411681] Yakuake always shown on second monitor on wayland

2021-09-26 Thread Valerii Malov
https://bugs.kde.org/show_bug.cgi?id=411681

--- Comment #14 from Valerii Malov  ---
>From what I gather, spectacle doesn't do anything under Wayland, instead it
makes dbus calls to KWin asking it to take a screenshot with desired parameters

-- 
You are receiving this mail because:
You are watching all bug changes.

[yakuake] [Bug 411681] Yakuake always shown on second monitor on wayland

2021-09-18 Thread Oded Arbel
https://bugs.kde.org/show_bug.cgi?id=411681

Oded Arbel  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|CONFIRMED   |RESOLVED
 CC||o...@geek.co.il

--- Comment #13 from Oded Arbel  ---


*** This bug has been marked as a duplicate of bug 440825 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[yakuake] [Bug 411681] Yakuake always shown on second monitor on wayland

2021-09-14 Thread Infanta Xavier
https://bugs.kde.org/show_bug.cgi?id=411681

Infanta Xavier  changed:

   What|Removed |Added

 CC||xavier8...@yahoo.com

--- Comment #12 from Infanta Xavier  ---
Spectacle screenshot application is able to figure out the "current screen",
but requires me to click the screen though.

-- 
You are receiving this mail because:
You are watching all bug changes.

[yakuake] [Bug 411681] Yakuake always shown on second monitor on wayland

2021-07-23 Thread Valerii Malov
https://bugs.kde.org/show_bug.cgi?id=411681

Valerii Malov  changed:

   What|Removed |Added

 CC||jazzv...@gmail.com
 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

--- Comment #11 from Valerii Malov  ---
I've looked into Yakuake code, if the target screen is not fixed, it checks
global cursor position to determine where to open the console.

This relies on QCursor::pos(), which is explicitly unavailable on Wayland (see
https://community.kde.org/Guidelines_and_HOWTOs/Wayland_Porting_Notes#Drop_Menus).
It constantly returns (0,0) so yakuake picks top left screen. I cannot find an
alternative API to this, I assume wayland clients are not supposed to have
access to global cursor position :/

-- 
You are receiving this mail because:
You are watching all bug changes.

[yakuake] [Bug 411681] Yakuake always shown on second monitor on wayland

2021-06-21 Thread Alexandre Sicard
https://bugs.kde.org/show_bug.cgi?id=411681

Alexandre Sicard  changed:

   What|Removed |Added

 CC||bugs@chezmandre.net

-- 
You are receiving this mail because:
You are watching all bug changes.

[yakuake] [Bug 411681] Yakuake always shown on second monitor on wayland

2021-06-16 Thread Alexey
https://bugs.kde.org/show_bug.cgi?id=411681

--- Comment #10 from Alexey  ---
Same here.

Excerpt from screenfetch:
> OS: Gentoo testing
> Kernel: x86_64 Linux 5.12.10-gentoo-skobkin
> Resolution: No X Server
> DE: KDE 5.83.0 / Plasma 5.22.1
> WM: KWin
> GPU: AMD Radeon RX 6800 XT (SIENNA_CICHLID, DRM 3.40.0, 
> 5.12.10-gentoo-skobkin, LLVM 12.0.0)

$ yakuake --version
yakuake 21.04.2

Answers for questions in the thread:

> Do you happen to have scaling enabled?

No. I have 3 displays with 100% scaling.
>From left to right: 1920x1080, 2560x1080, 1920x1080.

> I am having the issue, clicking in the desktop or a window in the desired 
> display will allow yakuake to pop up there. Did you try ? It doesn't follow 
> mouse, but just use active display?

Doesn't work for me. Clicking on the desktop or on the window on different
display doesn't help to show yakuake after hiding on different display.

But if I choose "Screen" -> "Screen X" in the menu it'll show on that screen
next time I press the hotkey after hiding it.

-- 
You are receiving this mail because:
You are watching all bug changes.

[yakuake] [Bug 411681] Yakuake always shown on second monitor on wayland

2021-06-16 Thread Alexey
https://bugs.kde.org/show_bug.cgi?id=411681

Alexey  changed:

   What|Removed |Added

 CC||skobkin...@ya.ru

-- 
You are receiving this mail because:
You are watching all bug changes.

[yakuake] [Bug 411681] Yakuake always shown on second monitor on wayland

2021-05-25 Thread Dmitry Misharov
https://bugs.kde.org/show_bug.cgi?id=411681

Dmitry Misharov  changed:

   What|Removed |Added

 CC||quarcks...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[yakuake] [Bug 411681] Yakuake always shown on second monitor on wayland

2021-04-25 Thread Ashark
https://bugs.kde.org/show_bug.cgi?id=411681

--- Comment #9 from Ashark  ---
I have found a workaround (not working for me) here:
https://www.reddit.com/r/kde/comments/hh99xb/workaround_for_yakuake_in_wayland/
The idea is to add "env QT_QPA_PLATFORM=xcb" before "yakuake".
I have launched it, can confirm that it runs under x, because extramaus red
cursor is moving. But still it ignores the option "Screen -> where is mouse".

Also, possibly the same mechanism should work with alt+f2 menu, but it also
appears not at screen with mouse, but at left most.

P.S. I have several monitors attached, one of them is UHD. If I can do any
testing to help developing this, just ask ;)

-- 
You are receiving this mail because:
You are watching all bug changes.

[yakuake] [Bug 411681] Yakuake always shown on second monitor on wayland

2021-04-25 Thread Ashark
https://bugs.kde.org/show_bug.cgi?id=411681

Ashark  changed:

   What|Removed |Added

 CC||ash...@linuxcomp.ru

-- 
You are receiving this mail because:
You are watching all bug changes.

[yakuake] [Bug 411681] Yakuake always shown on second monitor on wayland

2021-04-13 Thread Sefa Eyeoglu
https://bugs.kde.org/show_bug.cgi?id=411681

Sefa Eyeoglu  changed:

   What|Removed |Added

 CC||cont...@scrumplex.net

-- 
You are receiving this mail because:
You are watching all bug changes.

[yakuake] [Bug 411681] Yakuake always shown on second monitor on wayland

2021-04-10 Thread ipha
https://bugs.kde.org/show_bug.cgi?id=411681

ipha  changed:

   What|Removed |Added

 CC||iph...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[yakuake] [Bug 411681] Yakuake always shown on second monitor on wayland

2021-03-21 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=411681

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[yakuake] [Bug 411681] Yakuake always shown on second monitor on wayland

2021-03-01 Thread rekriux
https://bugs.kde.org/show_bug.cgi?id=411681

--- Comment #8 from rekriux  ---
I must add that it will only open once in the desired display, on the second
time it will be back to main display even if the mouse didn't move.

-- 
You are receiving this mail because:
You are watching all bug changes.

[yakuake] [Bug 411681] Yakuake always shown on second monitor on wayland

2021-03-01 Thread rekriux
https://bugs.kde.org/show_bug.cgi?id=411681

rekriux  changed:

   What|Removed |Added

 CC||jonathanri...@gmail.com

--- Comment #7 from rekriux  ---
I am having the issue, clicking in the desktop or a window in the desired
display will allow yakuake to pop up there. Did you try ? It doesn't follow
mouse, but just use active display?

On a 3 display, I can have it on any display, but the window doesn't resize
properly to the display, it always keeps the size of main display.

-- 
You are receiving this mail because:
You are watching all bug changes.

[yakuake] [Bug 411681] Yakuake always shown on second monitor on wayland

2021-02-17 Thread Damian Kaczmarek
https://bugs.kde.org/show_bug.cgi?id=411681

Damian Kaczmarek  changed:

   What|Removed |Added

 CC||rus...@gmail.com

--- Comment #6 from Damian Kaczmarek  ---
I just tried a plasma wayland session and having the issue of Wayland always
opening on my left-most monitor when Screen is set to "At mouse location".

» yakuake  --version
yakuake 20.12.2
» plasmashell --version
plasmashell 5.21.0

Please let me know if I can add any more details.

-- 
You are receiving this mail because:
You are watching all bug changes.

[yakuake] [Bug 411681] Yakuake always shown on second monitor on wayland

2021-02-16 Thread George Diamantopoulos
https://bugs.kde.org/show_bug.cgi?id=411681

George Diamantopoulos  changed:

   What|Removed |Added

 CC||georged...@gmail.com

--- Comment #5 from George Diamantopoulos  ---
I'm also having this issue. I'm on Gentoo, Plasma 5.21, Frameworks 5.79,
Yakuake 20.12.2, Wayland 1.19. Here's what I've found so far:

 - Everything works fine under X11.
 - I have two 4K monitors, one is HDMI, the other is DP.
 - For these tests, scaling in kscreen was set to 100% (thus, no scaling) for
both.
 - The following relevant environment variables are set:
   - PLASMA_USE_QT_SCALING=1
   - QT_AUTO_SCREEN_SCALE_FACTOR=0

Results:
* Yakuake will open on screen 1, if set to always open on screen 1
* Yakuake will open on screen 2, if set to always open on screen 2
* If configured to open at mouse location, pressing the open/retract yakuake
keyboard shortcut will always result in the app appearing on the last screen on
which it was last active, regardless of mouse location

Hope it helps.

-- 
You are receiving this mail because:
You are watching all bug changes.

[yakuake] [Bug 411681] Yakuake always shown on second monitor on wayland

2020-09-02 Thread Claudius Ellsel
https://bugs.kde.org/show_bug.cgi?id=411681

--- Comment #4 from Claudius Ellsel  ---
So you don't use scaling to make contents bigger/smaller on the screens?

-- 
You are receiving this mail because:
You are watching all bug changes.

[yakuake] [Bug 411681] Yakuake always shown on second monitor on wayland

2020-09-01 Thread cacarry
https://bugs.kde.org/show_bug.cgi?id=411681

--- Comment #3 from cacarry  ---
Both monitors are FullHD. Happens only on wayland.

-- 
You are receiving this mail because:
You are watching all bug changes.

[yakuake] [Bug 411681] Yakuake always shown on second monitor on wayland

2020-09-01 Thread Claudius Ellsel
https://bugs.kde.org/show_bug.cgi?id=411681

--- Comment #2 from Claudius Ellsel  ---
Or related to bug 343434.

-- 
You are receiving this mail because:
You are watching all bug changes.

[yakuake] [Bug 411681] Yakuake always shown on second monitor on wayland

2020-09-01 Thread Claudius Ellsel
https://bugs.kde.org/show_bug.cgi?id=411681

--- Comment #1 from Claudius Ellsel  ---
Do you happen to have scaling enabled? Might be related to bug 383555.

-- 
You are receiving this mail because:
You are watching all bug changes.

[yakuake] [Bug 411681] Yakuake always shown on second monitor on wayland

2020-09-01 Thread Claudius Ellsel
https://bugs.kde.org/show_bug.cgi?id=411681

Claudius Ellsel  changed:

   What|Removed |Added

 CC||claudius.ell...@live.de
   Keywords||wayland

-- 
You are receiving this mail because:
You are watching all bug changes.