Bug 317839 - Info Popup Autosize
Summary: Info Popup Autosize
Status: RESOLVED FIXED
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: 1.6 (KDE 4.11)
Platform: Other Linux
: NOR task
Target Milestone: ---
Assignee: Andrei Duma
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2013-04-04 18:37 UTC by Dennis Nienhüser
Modified: 2013-04-08 19:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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