[okular] [Bug 484303] New: On high DPI screens, text on UI controls is too small to read

2024-03-22 Thread Peter Meilstrup
https://bugs.kde.org/show_bug.cgi?id=484303

Bug ID: 484303
   Summary: On high DPI screens, text on UI controls is too small
to read
Classification: Applications
   Product: okular
   Version: 23.08.4
  Platform: Microsoft Windows
OS: Microsoft Windows
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: okular-de...@kde.org
  Reporter: peter.meilst...@gmail.com
  Target Milestone: ---

Created attachment 167637
  --> https://bugs.kde.org/attachment.cgi?id=167637&action=edit
Showing too small UI text before and after correction

SUMMARY

On high DPI screens where UI scale is set to 200%, text on UI controls and
popup menus is too small to read.

STEPS TO REPRODUCE
1. Okular 23.08.04 is installed from from the windows store.  
2. Using a 4k display, and have Scaling in Windows
Settings>System>Display>Scale is set to 200%.
3. Launch Okular.

OBSERVED RESULT

Labels on buttons/toolbar controls and popup menus is too small to read (see
attached screenshot, upper half.)

EXPECTED RESULT

(see screenshot, lower half)

SOFTWARE/OS VERSIONS
Windows:
Edition Windows 11 Pro
Version 23H2
Installed onβ€Ž12/β€Ž8/β€Ž2023
OS build22631.3296
Experience  Windows Feature Experience Pack 1000.22687.1000.0

Okular: Okular reports its version as 23.08.04, The Windows Store app reports
the installed version as 23.801.1522.0.

ADDITIONAL INFORMATION

I have found a way to correct the issue by manually updating the application
manifest information.

1. Install the Windows SDK. Then locate the program `mt.exe`. On my system it
is located at `C:\Program Files (x86)\Windows
Kits\10\bin\10.0.22621.0\x64\mt.exe`.

2. At an administrator prompt, use `mt.exe` to extract the manifest from the
okular binary. I used the commands:

cd "C:\Program Files\Okular\bin"
"C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64\mt.exe"
"-inputresource:okular.exe;#1" -out:okular.manifest

Examine the resulting file `okular manifest`. I found:

  
  

  

  

  


 3.  Edit `okular.manifest` to inludes a dpi awareness setting. After editing,
mine looked like this:

```{html}


  

  

  

  
  
http://schemas.microsoft.com/SMI/2016/WindowsSettings";>
  system

  

```

4. Make a backup of `okular.exe`, then apply the changed manifest back to the
okular binary. I ran:

"C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64\mt.exe"
-manifest okular.manifest "-updateresource:okular.exe;#1"

After relaunching Okular, it now shows reasonable font sizes in its UI.

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

[okular] [Bug 443909] New: Feature request: Horizontal Scroll Page

2021-10-17 Thread Peter Meilstrup
https://bugs.kde.org/show_bug.cgi?id=443909

Bug ID: 443909
   Summary: Feature request: Horizontal Scroll Page
   Product: okular
   Version: 21.08.1
  Platform: Mint (Ubuntu based)
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: okular-de...@kde.org
  Reporter: peter.meilst...@gmail.com
  Target Milestone: ---

SUMMARY

I am reading material that has a multicolumn layout, or a book scanned from
facing pages. To read it I need to zoom in so that a column is legible, then
read down the page, then scroll up and to the right to find where the column
continues. The last part, scrolling right, is the difficulty. It would be nice
if there were a way to scroll left or right from the keyboard, (by screenfuls,
rather than the small increments given by arrow keys.)

STEPS TO REPRODUCE
1. Zoom in so that horizontal scrollbar is shown.
2. Press (e.g.) Home or End
3. Open Settings -> Keyboard Shortcuts and look for "Scroll Page Left" and
"Scroll Page Right"

OBSERVED RESULT

No effect in UI.
No such entries are listed in Keyboard Shortcuts.

EXPECTED RESULT

View should scroll left or right in increments of most the width of the
viewport (with some overlap).
The shortcuts should be configurable in Keyboard Shortcuts.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux Mint 20.2 (Cinnamon desktop)
KDE Frameworks 5.86.0
Qt 5.15.3 (built against 5.15.3)
The xcb windowing system

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