Bug 317839

Summary: Info Popup Autosize
Product: [Applications] marble Reporter: Dennis Nienhüser <nienhueser>
Component: generalAssignee: Andrei Duma <andrei.duma.dorian>
Status: RESOLVED FIXED    
Severity: task Keywords: junior-jobs
Priority: NOR    
Version: 1.6 (KDE 4.11)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Dennis Nienhüser 2013-04-04 18:37:35 UTC
The webkit based info popup dialog (replacing the qwidget based info dialog) introduced recently does not behave well on small screens: It it too big and due to its alignment behavior can be positioned in a way that it is impossible to close it.

One improvement would be to have it adjust its maximum size dynamically to the size of the viewport, such that it does not exceed the map. Maybe its alignment could also adjust itself dynamically on scrolling; this needs proper testing though and might be more disturbing than useful.
Comment 1 Dennis Nienhüser 2013-04-08 19:45:23 UTC
Git commit d55ad21506925d64e68e9de1dd5b714d102ce890 by Dennis Nienhüser, on behalf of Andrei Duma.
Committed on 08/04/2013 at 21:44.
Pushed by nienhueser into branch 'master'.

Adaptable popup size
REVIEW: 109908

M  +16   -1    src/lib/MapInfoDialog.cpp
M  +7    -0    src/lib/MapInfoDialog.h
M  +1    -0    src/lib/PopupItem.cpp

http://commits.kde.org/marble/d55ad21506925d64e68e9de1dd5b714d102ce890