[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2020-06-27 Thread Philipp Reichmuth
https://bugs.kde.org/show_bug.cgi?id=389448

--- Comment #29 from Philipp Reichmuth  ---
I've been seeing this bug after moving my configuration from Kubuntu to
OpenSUSE Tumbleweed. To get back proper scaling in Plasma, I had to set global
scaling to 200% and PLASMA_USE_QT_SCALING=1 (in Kubuntu I had been using global
scaling 100% and had set the scale using screen DPI). Since then Yakuake has
been showing this behaviour. 

This seems to be consistent with Andrew Hou's observation that the initial
geometry is based on a mix-up between logical and physical dimensions.

In the meantime, I am resorting to an ugly workaround with a startup script
that adds and then removes a virtual desktop using wmctrl.

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2020-06-17 Thread Mathias C.
https://bugs.kde.org/show_bug.cgi?id=389448

Mathias C.  changed:

   What|Removed |Added

 CC||mathias.cilibe...@gmail.com

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2020-06-14 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=389448

philipp.reichm...@gmail.com changed:

   What|Removed |Added

 CC||philipp.reichm...@gmail.com

--- Comment #28 from philipp.reichm...@gmail.com ---
(In reply to Gregory Ernest from comment #27)
> This has been fixed. Thank you guy's so much for doing this for me!
> Have a blessed life!
> GE

Has this been fixed? the problem persists for me in recent OpenSUSE Tumbleweed
(Plasma 5.19, KDE Frameworks 5.70, Qt 5.15, Yakuake 20.04.1 which reports
itself as 3.0.5+)

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2020-05-26 Thread Raúl
https://bugs.kde.org/show_bug.cgi?id=389448

Raúl  changed:

   What|Removed |Added

 CC||rasas...@gmail.com

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2020-03-01 Thread Gregory Ernest
https://bugs.kde.org/show_bug.cgi?id=389448

--- Comment #27 from Gregory Ernest  ---
This has been fixed. Thank you guy's so much for doing this for me!
Have a blessed life!
GE

On Sun, Mar 1, 2020 at 9:18 AM Nate Graham  wrote:

> https://bugs.kde.org/show_bug.cgi?id=389448
>
> Nate Graham  changed:
>
>What|Removed |Added
>
> 
>Priority|NOR |HI
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2020-03-01 Thread Lucas Tanure
https://bugs.kde.org/show_bug.cgi?id=389448

Lucas Tanure  changed:

   What|Removed |Added

 CC||tan...@linux.com

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2020-03-01 Thread Lucas Tanure
https://bugs.kde.org/show_bug.cgi?id=389448

Lucas Tanure  changed:

   What|Removed |Added

 CC|tan...@linux.com|

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2020-03-01 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=389448

Nate Graham  changed:

   What|Removed |Added

   Priority|NOR |HI

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2020-03-01 Thread Gregory Ernest
https://bugs.kde.org/show_bug.cgi?id=389448

--- Comment #26 from Gregory Ernest  ---
Yes it probably is, thanks

On Sun, Mar 1, 2020 at 2:17 AM Andrew Hou  wrote:

> https://bugs.kde.org/show_bug.cgi?id=389448
>
> --- Comment #25 from Andrew Hou  ---
> *** Bug 415022 has been marked as a duplicate of this bug. ***
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2020-02-29 Thread Andrew Hou
https://bugs.kde.org/show_bug.cgi?id=389448

--- Comment #25 from Andrew Hou  ---
*** Bug 415022 has been marked as a duplicate of this bug. ***

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2020-02-29 Thread Andrew Hou
https://bugs.kde.org/show_bug.cgi?id=389448

--- Comment #24 from Andrew Hou  ---
*** Bug 416901 has been marked as a duplicate of this bug. ***

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2020-02-29 Thread Andrew Hou
https://bugs.kde.org/show_bug.cgi?id=389448

Andrew Hou  changed:

   What|Removed |Added

 CC||mar...@helwig.eu

--- Comment #23 from Andrew Hou  ---
*** Bug 377063 has been marked as a duplicate of this bug. ***

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2020-02-29 Thread Andrew Hou
https://bugs.kde.org/show_bug.cgi?id=389448

Andrew Hou  changed:

   What|Removed |Added

 CC||andy...@mail.ru

--- Comment #22 from Andrew Hou  ---
*** Bug 388217 has been marked as a duplicate of this bug. ***

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2020-02-29 Thread Gregory Ernest
https://bugs.kde.org/show_bug.cgi?id=389448

--- Comment #21 from Gregory Ernest  ---
Right I put too many reports in, my mistake! Sorry!
I think a total of 4 0ver the last yr. Did not know better.

regards;
GE

On Sat, Feb 29, 2020 at 10:07 PM Andrew Hou 
wrote:

> https://bugs.kde.org/show_bug.cgi?id=389448
>
> Andrew Hou  changed:
>
>What|Removed |Added
>
> 
>  CC||gregorye...@gmail.com
>
> --- Comment #20 from Andrew Hou  ---
> *** Bug 415184 has been marked as a duplicate of this bug. ***
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2020-02-29 Thread Andrew Hou
https://bugs.kde.org/show_bug.cgi?id=389448

Andrew Hou  changed:

   What|Removed |Added

 CC||gregorye...@gmail.com

--- Comment #20 from Andrew Hou  ---
*** Bug 415184 has been marked as a duplicate of this bug. ***

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2020-02-29 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=389448

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2020-02-29 Thread Andrew Hou
https://bugs.kde.org/show_bug.cgi?id=389448

--- Comment #19 from Andrew Hou  ---
Spent some time digging into it, and this is what I came up with regarding this
bug:

The issue appears to happen whenever windows scaling of Plasma is set to
something greater than 1 on a high dpi monitor. Yakuake will generate its
initial dimensions based off of the original, unscaled dpi. This is accurate to
observations of various testing on a high dpi system

This is why Yakuake isn't centered on the screen:
Yakuake specifies its own width via percentage of the max width of the screen,
but it does so before the dpi is scaled.

The issue seems to be reliably solved when a new virtual desktop is generated
and Yakuake is reopened in it. Somehow, this generation forces Yakuake to
recalculate the screen width in accordance to the scaled values.

getDesktopGeometry() at yakuake/app/mainwindow.cpp:1435 seems to be where
Yakuake is getting the information used to determine its dimensions.

For non-Wayland and non-fullscreen, KWindowSystem::workArea() in
kwindowsystem.cpp:601 is being called, which appears to then call
devicePixelRatio()

I believe this is the reason why the bug occurs: devicePixelRatio(), from the
QGuiApplication class simply gets the HIGHEST screen device pixel ratio found
on the system.

We need to somehow programmatically determine the user's specified
display/monitor scaling, and apply this in KwindowSystem::workArea()

This can potentially done by using QWindow::devicePixelRatio() instead of
QGuiApplication::devicePixelRatio(), as the QWindow variant specifically gets
the pixel ratio for the specified window, which should respect the system's
dpi scaling.

I suspect that the creation of a virtual desktop on Plasma forces
a re-calculation of devicePixelRatio(), potentially being called from QWindow,
which is why the Yakuake window is 'fixed' when generating a new Plasma
desktop. This is all speculation, however.

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2020-02-29 Thread Andrew Hou
https://bugs.kde.org/show_bug.cgi?id=389448

--- Comment #18 from Andrew Hou  ---
bug 396814 and bug 415184 seem to be related.

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2020-02-29 Thread Andrew Hou
https://bugs.kde.org/show_bug.cgi?id=389448

Andrew Hou  changed:

   What|Removed |Added

 CC||andrewf...@gmail.com

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2020-02-29 Thread Andrew Hou
https://bugs.kde.org/show_bug.cgi?id=389448

Andrew Hou  changed:

   What|Removed |Added

 CC||sted...@gmail.com

--- Comment #17 from Andrew Hou  ---
*** Bug 369178 has been marked as a duplicate of this bug. ***

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2019-06-12 Thread FeepingCreature
https://bugs.kde.org/show_bug.cgi?id=389448

FeepingCreature  changed:

   What|Removed |Added

 CC||default_357-l...@yahoo.de

--- Comment #16 from FeepingCreature  ---
https://bugs.kde.org/show_bug.cgi?id=389448#c9 works for me as well.

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2019-05-28 Thread George Moutsopoulos
https://bugs.kde.org/show_bug.cgi?id=389448

George Moutsopoulos  changed:

   What|Removed |Added

 CC||gmou...@yahoo.co.uk

--- Comment #15 from George Moutsopoulos  ---
comment https://bugs.kde.org/show_bug.cgi?id=389448#c9
works for me

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2019-02-28 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=389448

--- Comment #14 from Patrick Silva  ---
bug 377063 seems related

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2019-02-28 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=389448

Patrick Silva  changed:

   What|Removed |Added

 CC||bugsefor...@gmx.com

--- Comment #13 from Patrick Silva  ---
both bug 388217 and bug 401982 seem related/duplicate.

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2019-01-29 Thread Aetf
https://bugs.kde.org/show_bug.cgi?id=389448

--- Comment #12 from Aetf <7437...@gmail.com> ---
I've found a workaround. Adding/removing virtual desktops seems to force Qt to
recalculate the desktop size and makes Yakuake's sizing correct.

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2019-01-29 Thread Ace
https://bugs.kde.org/show_bug.cgi?id=389448

Ace  changed:

   What|Removed |Added

 CC||ace.r.gallag...@gmail.com

--- Comment #11 from Ace  ---
This is still an issue for me with Yakuake 3.0.5, Plasma 5.14.5, and QT 5.12,
and Frameworks version 5.54.0. 

The only workaround for my use case is to use Yakuake 'Fullscreen'
(ctrl+shift+F11) but this has the undesirable side effect of forcing Yakuake to
be on top of any windows on the same virtual desktop, i.e. 'keep above' no
longer works the way it should. 

Kernel 4.20 but that doesn't really matter.

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2018-04-22 Thread Dr . Chapatin
https://bugs.kde.org/show_bug.cgi?id=389448

Dr. Chapatin  changed:

   What|Removed |Added

 CC||kkola...@gmail.com

--- Comment #10 from Dr. Chapatin  ---
*** Bug 392960 has been marked as a duplicate of this bug. ***

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2018-03-28 Thread Adi Stadi
https://bugs.kde.org/show_bug.cgi?id=389448

--- Comment #9 from Adi Stadi  ---
sorry, wrong workaround, i use 
export QT_SCREEN_SCALE_FACTORS=1

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2018-03-28 Thread Adi Stadi
https://bugs.kde.org/show_bug.cgi?id=389448

Adi Stadi  changed:

   What|Removed |Added

 Status|UNCONFIRMED |CONFIRMED
 Ever confirmed|0   |1

--- Comment #8 from Adi Stadi  ---
workaround:
QT_AUTO_SCREEN_SCALE_FACTOR=1;yakuake

Happens only when screen scaling is active (scaling 1.5 for my hdpi screen)

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2018-02-28 Thread Marcel
https://bugs.kde.org/show_bug.cgi?id=389448

--- Comment #7 from Marcel  ---
(In reply to Marcel from comment #6)
> I finally figure out why the size is wrong. If the top panel is center
> aligned, then the size will be wrong! After changing the alignment to
> "left", the size becomes normal.

Well, it seems that auto hide is the reason why the size is abnormal.

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2018-02-27 Thread Marcel
https://bugs.kde.org/show_bug.cgi?id=389448

--- Comment #6 from Marcel  ---
I finally figure out why the size is wrong. If the top panel is center aligned,
then the size will be wrong! After changing the alignment to "left", the size
becomes normal.

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2018-02-26 Thread Marcel
https://bugs.kde.org/show_bug.cgi?id=389448

--- Comment #5 from Marcel  ---
(In reply to Marcel from comment #4)
> Solved in a recently openSUSE Tumbleweed upgrade for reasons unknown.

It happened again after I changed the theme.

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2018-02-26 Thread Marcel
https://bugs.kde.org/show_bug.cgi?id=389448

--- Comment #4 from Marcel  ---
Solved in a recently openSUSE Tumbleweed upgrade for reasons unknown.

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2018-02-09 Thread Aetf
https://bugs.kde.org/show_bug.cgi?id=389448

--- Comment #3 from Aetf <7437...@gmail.com> ---
Some investigation:

Given my resolution 3840x2160, It appears that Qt returns screen geometry as
1920x1080, which has been scaled down by QT_SCREEN_SCALE_FACTORS=2. Then in
KWindowSystem::workArea, which calls QScreen::geometry internally in X11
plugin[1], the returned value is scaled down the second time[2], and returns
960x540. Therefore yakuake calculates using wrong max height and width of the
screen.

[1]
https://cgit.kde.org/kwindowsystem.git/tree/src/platforms/xcb/kwindowsystem.cpp#n73
[2] https://cgit.kde.org/kwindowsystem.git/tree/src/kwindowsystem.cpp#n599

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2018-02-09 Thread Aetf
https://bugs.kde.org/show_bug.cgi?id=389448

--- Comment #2 from Aetf <7437...@gmail.com> ---
Another report of the same bug: https://bugs.kde.org/show_bug.cgi?id=388217

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2018-02-09 Thread Aetf
https://bugs.kde.org/show_bug.cgi?id=389448

Aetf <7437...@gmail.com> changed:

   What|Removed |Added

 CC||7437...@gmail.com

--- Comment #1 from Aetf <7437...@gmail.com> ---
I'm facing the same bug after my upgrade today. I'm using ArchLinux.

Versions:
yakuake: 3.0.4
plasma: 5.12.0
qt: 5.10.0

I have a 4k monitor running at native resolution 3840x2160. I also set scale
display factor to 2, which KDE translates to QT_SCREEN_SCREAN_SCALE_FACTORS.

I tried quitting and removing ~/.cache/yakuake and restarting but with no
success.

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

[yakuake] [Bug 389448] Width and height of the window doesn't set correctly on HiDPI screen after upgrade to plasma 5.12

2018-01-28 Thread Adi Stadi
https://bugs.kde.org/show_bug.cgi?id=389448

Adi Stadi  changed:

   What|Removed |Added

 CC||spaced.wom...@gmail.com

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