[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2020-07-29 Thread Maximilian Schiller
https://bugs.kde.org/show_bug.cgi?id=396697

Maximilian Schiller  changed:

   What|Removed |Added

 CC||i...@coreja.com

--- Comment #26 from Maximilian Schiller  ---
*** Bug 424746 has been marked as a duplicate of this bug. ***

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2020-07-01 Thread Maximilian Schiller
https://bugs.kde.org/show_bug.cgi?id=396697

Maximilian Schiller  changed:

   What|Removed |Added

 CC||captainm...@gmail.com

--- Comment #25 from Maximilian Schiller  ---
*** Bug 416382 has been marked as a duplicate of this bug. ***

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2020-06-17 Thread Maximilian Schiller
https://bugs.kde.org/show_bug.cgi?id=396697

Maximilian Schiller  changed:

   What|Removed |Added

 CC||tassilo.schneider@outlook.c
   ||om

--- Comment #24 from Maximilian Schiller  ---
*** Bug 414322 has been marked as a duplicate of this bug. ***

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2020-06-13 Thread Maximilian Schiller
https://bugs.kde.org/show_bug.cgi?id=396697

Maximilian Schiller  changed:

   What|Removed |Added

 CC||xgd...@msn.com

--- Comment #23 from Maximilian Schiller  ---
*** Bug 401769 has been marked as a duplicate of this bug. ***

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2020-06-09 Thread Maximilian Schiller
https://bugs.kde.org/show_bug.cgi?id=396697

Maximilian Schiller  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/util
   ||ities/yakuake/commit/df1e72
   ||30410516816b3f3e5b93d463d77
   ||9fe3ae0
 Status|REPORTED|RESOLVED

--- Comment #22 from Maximilian Schiller  ---
commit df1e7230410516816b3f3e5b93d463d779fe3ae0
Author: Maximilian Schiller 
Date:   Sat May 30 21:52:54 2020 +0200

Fix yakuake not opening on multimonitor setups

Fixes yakuake not opening on one monitor when the panel is located on an
edge
between two monitors.

This patch corrects the ExtendedStruct calculations and then checks if
not only the strut intersects with the current monitor but also the
window frame. If the strut intersects but the window frame does not that
window is most likely some king of panel located on an edge between the
current
and the next screen. With this patch those struts and windows will now be
ignored.

12  7   app/mainwindow.cpp

https://invent.kde.org/utilities/yakuake/commit/df1e7230410516816b3f3e5b93d463d779fe3ae0

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2020-06-01 Thread Aleksey Titov
https://bugs.kde.org/show_bug.cgi?id=396697

--- Comment #21 from Aleksey Titov  ---
That works! Thanks Maximilian! 
I'am switching to that branch for now since i'am not noticing any regressions.

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2020-05-30 Thread Maximilian Schiller
https://bugs.kde.org/show_bug.cgi?id=396697

--- Comment #20 from Maximilian Schiller  ---
Just created a Merge Request which hopefully should fix this issue.

https://invent.kde.org/utilities/yakuake/-/merge_requests/6

Since multi-monitors bugs are kinda hard to confirm on every type of setup, it
would be great if a couple of people could test this mr if it fixes the issue
on their side and didn't introduce any regressions.

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2020-05-19 Thread Maximilian Schiller
https://bugs.kde.org/show_bug.cgi?id=396697

Maximilian Schiller  changed:

   What|Removed |Added

 CC||manim...@hotmail.de

--- Comment #19 from Maximilian Schiller  ---
I did a little bit of investigation and the problem seems to be that if you
have a panel on your right monitor attached to the left side, Plasma creates a
x11 strut area, which essentially spans over your entire left monitor. This
leaves no space for yakuake to open on that monitor.

Not 100% sure what the best way to handle this is, because using workArea with
the list argument - I think - is actually the correct implemented one.

As a quick fix you could set in your panel settings "Windows can go cover".

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2020-05-06 Thread Aleksey Titov
https://bugs.kde.org/show_bug.cgi?id=396697

Aleksey Titov  changed:

   What|Removed |Added

 CC||alex.jus...@gmail.com

--- Comment #18 from Aleksey Titov  ---
This bug may be connected to Panels somehow: 
I have almost the same layout as Ryan: two monitors side by side and vertical
panels on the left side on both monitors. 

What i've noticed:
1. If i move panel to the right side on my right monitor (primary), everything
works. 

Deeper investigation shows that the problem is possibly related with
KWindowSystem::workArea as Christoph noticed: with such monitors-panels-layout
it gives only right part of the desktop, but calling it without passing
offScreenWindows is not the best solution: it gives combined area of both
monitors restricted to only the most left panel, so on the left monitor yakuake
gets an offset from the panel while on the right it has no offset thus making
its  appearance non-consistent.

To summarize with KWindowSystem::workArea(offScreenWindows) if offScreenWindows
empty:
1. [vpanel| secondary monitor][vpanel| primary monitor] : gives only right part 
2. [vpanel| secondary monitor][primary monitor |vpanel] : gives full desktop
area

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2019-09-03 Thread Johnny Hauser
https://bugs.kde.org/show_bug.cgi?id=396697

Johnny Hauser  changed:

   What|Removed |Added

 CC||johnnyhau...@gmail.com

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2019-03-12 Thread Alexey
https://bugs.kde.org/show_bug.cgi?id=396697

Alexey  changed:

   What|Removed |Added

 CC||swe...@gmail.com

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2019-02-09 Thread Eike Hein
https://bugs.kde.org/show_bug.cgi?id=396697

--- Comment #17 from Eike Hein  ---
Investigation is half the battle, thanks for this! One of the reasons I've been
ignoring this issue for so long, to be honest, is that I moved 8500km and spent
the last three years with only a laptop - no multi-monitor. But over the last
few months I bought first a TV, and now a new laptop with a painfree-working
HDMI-out. I can finally test this now and will move it higher on my todo, sorry
for the wait!

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2019-02-09 Thread Jason Mancini
https://bugs.kde.org/show_bug.cgi?id=396697

Jason Mancini  changed:

   What|Removed |Added

 CC||jayrus...@hotmail.com

--- Comment #16 from Jason Mancini  ---
Eike, thanks for commenting -- this is why I didn't want to submit a patch.
Although I can see something is wrong, and could hack something to work on my
system, I don't know what the proper fix is.

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2019-02-08 Thread Eike Hein
https://bugs.kde.org/show_bug.cgi?id=396697

--- Comment #15 from Eike Hein  ---
This needs a bit more investigation - `KWindowSystem::workArea` shouldn't
return something different when passing in an empty list vs. passing in
nothing. The real fix might need to be done there.

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2019-01-27 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=396697

--- Comment #14 from Christoph Feck  ---
Eike is the yakuake developer. There is a bigger chance to get his attention if
you submit the patch for review to phabricator, see comment #11.

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2019-01-08 Thread Ariel Rosenfeld
https://bugs.kde.org/show_bug.cgi?id=396697

Ariel Rosenfeld  changed:

   What|Removed |Added

 CC||ariel.rosenfeld.750@gmail.c
   ||om

--- Comment #13 from Ariel Rosenfeld  ---
Can the assigned developer Eike Hein pass the suggested patch in comment 10 to
the yakuake developers please?

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2019-01-04 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=396697

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2018-11-26 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=396697

--- Comment #12 from Christoph Feck  ---
Jason, any luck with the links from comment #11?

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2018-11-09 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=396697

--- Comment #11 from Christoph Feck  ---
Thanks Jason for the investigation. Developers will review your patch if you
add it to https://phabricator.kde.org/differential/diff/create/

For more information, please see
https://community.kde.org/Get_Involved/development#Submit_your_patch

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2018-10-25 Thread JasonM
https://bugs.kde.org/show_bug.cgi?id=396697

--- Comment #10 from JasonM  ---
Yes, this is the correct solution, I see now.  Please apply this change!

if (offscreenWindows.isEmpty())
  return KWindowSystem::workArea().intersected(screenGeometry);
return KWindowSystem::workArea(offscreenWindows).intersected(screenGeometry);

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2018-10-25 Thread JasonM
https://bugs.kde.org/show_bug.cgi?id=396697

--- Comment #9 from JasonM  ---
This blog talks about some problems with having the KDE panel on a shared
screen edge and struts:
https://blog.martin-graesslin.com/blog/2016/08/panels-on-shared-screen-edges/

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2018-10-25 Thread JasonM
https://bugs.kde.org/show_bug.cgi?id=396697

--- Comment #8 from JasonM  ---
When I print out the values of KWindowSystem::workArea(offScreenWindow) it's
clear that width value is broken.  It says 1774 with the parameter, and 9600
without a parameter or -1 as the default parameter.  My desktop is 9600 wide
(3840+3840+1920).  Also the x value is wrong.  When I move the KDE taskbar to a
horizontal edge, then the values are good BUT there is also an offscreenWindow.

I think the solution might be:

if (offscreenWindows.isEmpty())
  return KWindowSystem::workArea().intersected(screenGeometry);
return KWindowSystem::workArea(offscreenWindows).intersected(screenGeometry);

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2018-10-25 Thread JasonM
https://bugs.kde.org/show_bug.cgi?id=396697

--- Comment #7 from JasonM  ---
A hack that worked for me, changing the one line to:

return
KWindowSystem::workArea(/*offScreenWindows*/).intersected(screenGeometry);

Allows yakuake to pop up on the monitors that it currently refuses to.  I don't
know what the proper fix is.  In my case, offScreenWindows is an empty list,
but it's also an empty list on the working monitors.  I don't really understand
what's going on in the code that's looking at "window struts".

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2018-10-25 Thread JasonM
https://bugs.kde.org/show_bug.cgi?id=396697

--- Comment #6 from JasonM  ---
The problem is that getDesktopGeometry returns 0,0,0,0 for width,height,x,y on
the offending monitors.  Looking at that function, I might actually figure it
out here.

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2018-10-23 Thread JasonM
https://bugs.kde.org/show_bug.cgi?id=396697

--- Comment #5 from JasonM  ---
I have a triple screen setup, so the description in Comment #3 is fairly
precise. Depending on where I move the vertical kde taskbar, it blocks Yakuake.
It seems that Yakuake assumes nothing can be beyond the edge where the kde
taskbar resides.

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2018-10-23 Thread Ryan
https://bugs.kde.org/show_bug.cgi?id=396697

--- Comment #4 from Ryan  ---
To clarify, my vertical task bar is on the right screen.

When my mouse or any window is active on my left monitor, Yakuake will not
open.  I have to click on a window on the right screen, then it will respond.

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2018-10-23 Thread JasonM
https://bugs.kde.org/show_bug.cgi?id=396697

--- Comment #3 from JasonM  ---
I suspect this bug is different and much simpler than bug 383555 that bug
sounds like scaling related.  This multi-monitor bug is just that Yakuake won't
pop up left of a screen with a vertical KDE taskbar panel on the left, and
won't pop up right of a screen with a vertical taskbar panel on the right.

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2018-10-23 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=396697

jmanc...@gmail.com changed:

   What|Removed |Added

 CC||jmanc...@gmail.com

--- Comment #2 from jmanc...@gmail.com ---
I have run into this same bug.

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2018-08-17 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=396697

--- Comment #1 from Christoph Feck  ---
Duplicate of bug 383555?

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

[yakuake] [Bug 396697] Does not open with multi monitor on left screen when panel located right screen

2018-07-20 Thread Ryan
https://bugs.kde.org/show_bug.cgi?id=396697

Ryan  changed:

   What|Removed |Added

 CC||r...@acemail.org

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