Bug 270431

Summary: Zooming into agendaview breaks scrolling
Product: [Applications] korganizer Reporter: Elias Probst <mail>
Component: agendaview (weekview)Assignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: GIT (master)   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot showing the broken zoom/scroll

Description Elias Probst 2011-04-08 12:40:59 UTC
Created attachment 58706 [details]
Screenshot showing the broken zoom/scroll

Version:           GIT (master) (using KDE 4.6.2) 
OS:                Linux

When zooming into the agendaview, it isn't possible anymore to scroll to the bottom of the view.

Reproducible: Always

Steps to Reproduce:
→ Open KOrganizer
→ Select Agenda view mode/week view
→ Scroll into the view using Ctrl+Wheel

Actual Results:  
The view cannot be scrolled down to the later hours of the days, they're just not reachable through scrolling at all.

Expected Results:  
I'd expect to still be able to see the whole day by scrolling, even in zoomed in view.

See the attached screenshot.
The scrollbar is already at the bottom while the view ends at 9:00 instead of 23:59
Comment 1 Sergio Martins 2011-04-09 15:36:05 UTC
Git commit 99b1c84ff145005d7c1fe59b091b3c1cc7a7f759 by Sergio Martins.
Committed on 09/04/2011 at 16:41.
Pushed by smartins into branch 'master'.

Call updateGeometry() after zooming.

BUG: 270431

M  +7    -4    calendarviews/eventviews/agenda/agenda.cpp     
M  +2    -2    calendarviews/eventviews/agenda/agendaview.cpp     

http://commits.kde.org/kdepim/99b1c84ff145005d7c1fe59b091b3c1cc7a7f759