Bug 253576 - Participants (attendee) dialog does not look and behave good when many participants entered
Summary: Participants (attendee) dialog does not look and behave good when many partic...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: KOrganizer Mobile
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Windows CE Microsoft Windows CE
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-08 11:42 UTC by Felix Wolfsteller
Modified: 2016-09-29 07:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Wolfsteller 2010-10-08 11:42:26 UTC
Creating an appointment in version 4:4.5~20100920.1177273-1maemo1.1174921 (and later, currently tested with 4:4.5~20101008.1183623-1maemo1.1182955),
opening the "More..." flap, chosing the participants section.

When entering names in the text entry field, the box with participants grows, adding new entry fields automatically (nice).
The area in which the box grows is however not sufficiently scrollable, leading
in effect to a maximum number of participants of 4 and a visual glitch (to
reproduce, add 4 participants).
Comment 1 Tobias Koenig 2010-12-29 16:05:20 UTC
commit 963a9b09784b4b102da8a488f516e6adcebfeb72
branch master
Author: Tobias Koenig <tokoe@kde.org>
Date:   Wed Dec 29 16:07:23 2010 +0100

    Use static size for attendee editor
    
    Make use of the new property in MultiplyingLineEditor to avoid
    usage of dynamic size hints in mobile UI mode.
    This fixes the broken attendee list if more than 4 attendees have
    been added.
    
    BUG: 253576

diff --git a/incidenceeditor-ng/incidenceattendee.cpp b/incidenceeditor-ng/incidenceattendee.cpp
index c066424..aacbfc6 100644
--- a/incidenceeditor-ng/incidenceattendee.cpp
+++ b/incidenceeditor-ng/incidenceattendee.cpp
@@ -69,6 +69,10 @@ IncidenceAttendee::IncidenceAttendee( QWidget *parent, IncidenceDateTime *dateTi
   mAttendeeEditor->setCompletionMode( KGlobalSettings::self()->completionMode() );
   mAttendeeEditor->setFrameStyle( QFrame::Sunken | QFrame::StyledPanel );
 
+#ifdef KDEPIM_MOBILE_UI
+  mAttendeeEditor->setDynamicSizeHint( false );
+#endif
+
   connect( mAttendeeEditor, SIGNAL(countChanged(int)),
            SIGNAL(attendeeCountChanged(int)) );
   connect( mAttendeeEditor, SIGNAL(editingFinished(KPIM::MultiplyingLine *)),
Comment 2 Andre Heinecke 2011-02-16 08:51:04 UTC
Adding more then four attendees on WinCE is not possible at the moment, a scrollbar appears but the next attendee field can not be reached with it and the bottom of the scrollbar is out of the screen.