Bug 506686

Summary: Window tilling does not work properly
Product: [Applications] okular Reporter: Thomas Bernat <tbernat82>
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 25.04.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Displacement of an Okular window on the border of screen.

Description Thomas Bernat 2025-07-06 18:18:38 UTC
Created attachment 183015 [details]
Displacement of an Okular window on the border of screen.

Dragging the window to the screen edge does not reshape it to the correct form for Okular, while it works properly for all other my apps in Ubuntu 24.04. 1 LTS. I assume this is an Okular issue, since this is the only app exhibiting this unexpected behavior.

STEPS TO REPRODUCE
1. Open Okular
2. Drag the window to the right or left edge

OBSERVED RESULT
The window takes a small fraction of the screen (see the attached gif).

EXPECTED RESULT
The window should take half the screen.

The keyboard method is also buged: From a starting shape, the Super+right or Super+left does reshape the window to half the screen on the proper side. However, when reusing the same key, the windows does not get back to the same (starting) shape. Additionally, when reusing again the same key, the window does not get to the half screen shape, but to the same fraction of the screen show in the gif.