Bug 478141 - Height of the window decrease after changing tabs
Summary: Height of the window decrease after changing tabs
Status: RESOLVED DUPLICATE of bug 477700
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 23.08.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-06 05:26 UTC by Wankupi
Modified: 2024-02-02 09:45 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
video of this bug (3.67 MB, video/mp4)
2023-12-06 09:06 UTC, Wankupi
Details
konsole (883.96 KB, video/x-matroska)
2024-01-01 03:43 UTC, Henry Zhang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wankupi 2023-12-06 05:26:09 UTC
SUMMARY
After opening multiple tabs, switching tabs will reduce the window height.
The left top and right top will keep it's position, while the bottom will go up some pixels (less than 10).

STEPS TO REPRODUCE
1.  open (>=2) files in one window
2. switch tabs ( press Ctrl+Tab will be more obviously )
3. focus on the bottom of the window

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.6.4-arch1-1
KDE Plasma Version: 5.27.10-1
KDE Frameworks Version: frameworkintegration5 5.112.0-2
Qt Version: qt5-base 5.15.11+kde+r147-1 (qt5) qt6-base 6.6.1-1 (qt6)
Comment 1 Albert Astals Cid 2023-12-06 08:40:52 UTC
Can you post a video of it?
Comment 2 Wankupi 2023-12-06 09:06:41 UTC
Created attachment 163934 [details]
video of this bug
Comment 3 Wankupi 2023-12-06 09:07:57 UTC
(In reply to Albert Astals Cid from comment #1)
> Can you post a video of it?

Sure! uploaded
Comment 4 Albert Astals Cid 2023-12-06 22:53:28 UTC
That is wild, are you using Plasma+X11 or Plasma+Wayland?
Comment 5 Wankupi 2023-12-07 00:29:12 UTC
(In reply to Albert Astals Cid from comment #4)
> That is wild, are you using Plasma+X11 or Plasma+Wayland?

X11

Below is the output of `neofetch`

OS: Arch Linux x86_64
Host: 83AL XiaoXinPro 14 IRH8
Kernel: 6.6.4-arch1-1
Uptime: 21 hours, 15 mins
Packages: 1227 (pacman)
Shell: zsh 5.9
Resolution: 2880x1800
DE: Plasma 5.27.10
WM: KWin
WM Theme: Breeze 微风
Theme: [Plasma]
Icons: WhiteSur [Plasma]
Terminal: konsole
CPU: 13th Gen Intel i5-13500H (16) @ 4.700GHz
GPU: Intel Raptor Lake-P [Iris Xe Graphics]
Memory: 7525MiB / 31823MiB
Comment 6 Albert Astals Cid 2023-12-07 08:54:34 UTC
Are you running a custom theme or style?
Comment 7 Wankupi 2023-12-12 07:05:39 UTC
(In reply to Albert Astals Cid from comment #6)
> Are you running a custom theme or style?

I only changed the icons. After I change it back to default, this problem still occurs.

(sorry for reply late)
Comment 8 Bug Janitor Service 2023-12-27 03:46:24 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Henry Zhang 2024-01-01 03:42:13 UTC
Similar issue here, but in Konsole

Maybe the same bug?
Comment 10 Henry Zhang 2024-01-01 03:43:48 UTC
Created attachment 164586 [details]
konsole
Comment 11 Albert Astals Cid 2024-01-01 12:09:17 UTC
Probably yes.

Which would make it not an Okular bug.
Comment 12 blackst0ne 2024-01-26 00:53:29 UTC
Same in Konsole.
Comment 13 Henry Zhang 2024-01-27 01:56:31 UTC
Downgrading qt5-base from 5.15.11+kde+r147-1 to 5.15.11+kde+r146-1 fixes this issue for konsole

Seems that the only difference is https://invent.kde.org/qt/qt/qtbase/-/commit/56faf7249c3857f80f6483c5070e7408c2d53961
Comment 14 fanzhuyifan 2024-01-27 02:51:30 UTC
Likely duplicate of 477700
Comment 15 Albert Astals Cid 2024-01-30 22:59:22 UTC
FWIW i still can not reproduce such an issue with a very similar setup, except i don't have hidpi, are you running some hidpi zoom that is not an integer number?
Comment 16 Henry Zhang 2024-01-31 01:22:48 UTC
(In reply to Albert Astals Cid from comment #15)
> FWIW i still can not reproduce such an issue with a very similar setup,
> except i don't have hidpi, are you running some hidpi zoom that is not an
> integer number?

Yes.

I could reproduce on 150% scaling but not 100%.
Comment 17 Milian Wolff 2024-02-02 07:57:55 UTC
I agree that this is a duplicate of https://bugs.kde.org/show_bug.cgi?id=477700 and is not okular specific.

Albert, see also https://bugs.kde.org/show_bug.cgi?id=477700#c22 - it really seems to be hidpi/fractional-scaling related.
Comment 18 Albert Astals Cid 2024-02-02 09:45:32 UTC

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