Bug 347109 - Okular 1.0.0 - Page Up/Down behaves differently in laptop keyboard and usb keyboard
Summary: Okular 1.0.0 - Page Up/Down behaves differently in laptop keyboard and usb ke...
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-03 15:53 UTC by Jorge Adriano
Modified: 2015-05-13 23:48 UTC (History)
1 user (show)

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 Jorge Adriano 2015-05-03 15:53:09 UTC
Pressing Page Up/Down in the laptop keyboard performs the same action as backspace/space. That is, it moves up/down the page a "fixed amount". 

Pressing Page Up/Down in the USB keyboard results in a previous page/next page. That is, it goes to the beginning of the previous/next page



Reproducible: Always

Steps to Reproduce:
1. press pg up on laptop
2. press pg up on usb keyboard
3. compare

Actual Results:  
effect is different

Expected Results:  
shouldn't be
Comment 1 Albert Astals Cid 2015-05-03 22:58:12 UTC
Not here, they both believe the same.

Please make sure xev reports the same thing both when pressing laptop and usb keyboard?
Comment 2 Jorge Adriano 2015-05-03 23:42:39 UTC
Ah! Sorry,  the inconsistency isn't between USB keyboard / laptop keyboard. The difference in behaviour is with respect to on which Page U/D keys are pressed, those in the numpad or the other ones. And indeed both return different keycodes. 

The Page keys in the numpad return the usual behaviour (coincident with space/backspace). The individual page keys now move to the beginning of the previous/next page.  

Note that up to 0.21.3 (which I still have installed) the behaviour of both is consistent.
Comment 3 Jorge Adriano 2015-05-07 13:07:51 UTC
(forgot to change the status of the report, requested info up there ^)
Comment 4 Albert Astals Cid 2015-05-13 23:46:39 UTC
Git commit 8452e86b657f05d92f5e2a8dae6e179b5dd2ceb3 by Albert Astals Cid.
Committed on 13/05/2015 at 23:46.
Pushed by aacid into branch 'frameworks'.

Fix porting mistake on next/prev page shortcuts

CCMAIL: lukas@kde.org

M  +2    -2    part.cpp

http://commits.kde.org/okular/8452e86b657f05d92f5e2a8dae6e179b5dd2ceb3
Comment 5 Jorge Adriano 2015-05-13 23:48:56 UTC
thanks!