[Korganizer-devel] [Bug 241219] New: korgac piles error dialogs on top of one another

Andrew Kohlsmith akohlsmith-kde at mixdown.ca
Wed Jun 9 18:40:10 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=241219

           Summary: korgac piles error dialogs on top of one another
           Product: korganizer
           Version: 4.4.2
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: NOR
         Component: reminder daemon (korgac)
        AssignedTo: korganizer-devel at kde.org
        ReportedBy: akohlsmith-kde at mixdown.ca


Version:           4.4.2 (using KDE 4.4.2) 
OS:                Linux

If korgac runs into trouble (in my case no connectivity when it tries to read
my calendars on a remote DAV server) it throws up an error dialog. This is
good.  However if the problem has not corrected itself by the time korgac tries
again, it piles another window on top.  And another.  And another. etc.

Korgac should not display another error window if one is already on the screen.
This makes for a poor user experience because each window has to have its "OK"
button clicked.  A single error window is sufficient.

Reproducible: Always

Steps to Reproduce:
Set up a remote calendar via DAV with an item with a reminder.
Sync up
Unplug the network cable
Wait.

Actual Results:  
korgac throws up the error dialog when it can't connect to the DAV server. When
it tries again and fails, it will throw up another dialog window. Then another.
Then another. Then another

Expected Results:  
korgac should throw up one dialog. When it goes to try again and fails, it
should NOT display another window, as there is already one error window up on
the screen.

Likely a single static variable (bool errorWindowDisplayed) that is set just
before the dialog is displayed, and which is cleared by the dialog when OK is
pressed.  Not 100% sure since I am not fully aware of the exact architecture of
the program.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Korganizer-devel mailing list