Bug 498441 - current page number box is always blank when opening any document
Summary: current page number box is always blank when opening any document
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 24.12.0
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-09 18:39 UTC by amgad elsaiegh
Modified: 2025-01-13 22:55 UTC (History)
0 users

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


Attachments
bug is obvious at this picture (465.42 KB, image/png)
2025-01-09 18:39 UTC, amgad elsaiegh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description amgad elsaiegh 2025-01-09 18:39:17 UTC
Created attachment 177235 [details]
bug is obvious at this picture

SUMMARY
when opening any .pdf file the box that shows current page on the top always shows as a blank white box, to make it work correctly i should click it with the mouse, attached photo demonstrates the problem 

STEPS TO REPRODUCE
1. simply open any pdf, you will see the problem


OBSERVED RESULT
blank white "current page box"

EXPECTED RESULT
current page shown in the box

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Fedora Linux 41(Wayland)
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION
* in my opinion, this is related to the dark theme 🤨
Comment 1 Bug Janitor Service 2025-01-09 21:41:48 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/1110
Comment 2 Sune Vuorela 2025-01-13 09:01:22 UTC
Git commit 86bf17fa1a04431f13692fd9fd4f8c55a754fda5 by Sune Vuorela, on behalf of Albert Astals Cid.
Committed on 13/01/2025 at 08:52.
Pushed by sune into branch 'master'.

Watch the QEvent::ApplicationPaletteChange in the proper object

M  +4    -3    part/minibar.cpp
M  +1    -1    part/minibar.h

https://invent.kde.org/graphics/okular/-/commit/86bf17fa1a04431f13692fd9fd4f8c55a754fda5
Comment 3 Albert Astals Cid 2025-01-13 22:55:55 UTC
Git commit 6eaf5fccd2c4ee2939c04e678684602ceaae5b08 by Albert Astals Cid.
Committed on 13/01/2025 at 22:55.
Pushed by aacid into branch 'release/24.12'.

Watch the QEvent::ApplicationPaletteChange in the proper object
(cherry picked from commit 86bf17fa1a04431f13692fd9fd4f8c55a754fda5)

M  +4    -3    part/minibar.cpp
M  +1    -1    part/minibar.h

https://invent.kde.org/graphics/okular/-/commit/6eaf5fccd2c4ee2939c04e678684602ceaae5b08