Bug 479108 - Zoom dropdown list in toolbar not working
Summary: Zoom dropdown list in toolbar not working
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 24.01.85
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: qt6, wayland
Depends on:
Blocks:
 
Reported: 2023-12-28 05:02 UTC by Doug
Modified: 2024-01-02 22:11 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doug 2023-12-28 05:02:55 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Open a pdf in Okular
2. Click on the zoom dropdown list box on the toolbar
3. Select different values (i.e. 100%, Fit Width, Auto Fit)

OBSERVED RESULT
No change in zoom level of document

EXPECTED RESULT
Change in zoom level of document corresponding to the value in the dropdown list

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE Neon Unstable
(available in About System)
KDE Plasma Version: 5.91.90
KDE Frameworks Version: 5.248.0
Qt Version: 6.6.1

ADDITIONAL INFORMATION
The entries under Menubar>View work properly
Comment 1 Bug Janitor Service 2024-01-02 10:30:52 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/897
Comment 2 Sune Vuorela 2024-01-02 22:11:12 UTC
Git commit a3f018184864599161e74e5587b9aa55edaf360c by Sune Vuorela.
Committed on 02/01/2024 at 11:21.
Pushed by aacid into branch 'master'.

Fix zoom select

There is a surprising api change in KSelectAction that has renamed
triggered, but a base class is still having a different triggered, so
code still compiles.

Rename the signal to the new version

M  +1    -1    part/pageview.cpp

https://invent.kde.org/graphics/okular/-/commit/a3f018184864599161e74e5587b9aa55edaf360c