Bug#444730: windows does not reposition after it grow to accomadate more appt/tasks

roger roger at computer-surgery.co.uk
Sun Sep 30 15:19:59 UTC 2007


Package: gnome-panel
Version: 2.14.3-5
Severity: minor
Tags: patch

When the panel orientation is set to bottom, if the number of
appoitments or tasks change then the top of the window stay s in the
same place and the calendar aplet can be pushed of the bottom of the
screen.


Steps to reproduce:
  1: Chose two days in the same month (say the 1st and the 2nd).
  2. Add one appt to the 1st.
  3  Add two appts. to the 2nd
  4. Move panel to the bottom.
  5. Click on the clock to display calendar.
  6. Click on the 1st. (to show appt).
  7. CLick on the 2nd to show two appts - and note change in window
     position.


This bug can also be reproduced by adding task in evolution while the
calendar popup is visible. (again bottom orientation of the panel
containing the clock is required).

Patch to fix:-

diff -urpN gnome-panel-2.14.3/applets/clock/clock.c gnome-panel-2.14.3-5-1rgg/applets/clock/clock.c
--- gnome-panel-2.14.3/applets/clock/clock.c	2006-05-29 21:47:07.000000000 +0100
+++ gnome-panel-2.14.3-5-1rgg/applets/clock/clock.c	2007-09-30 16:13:33.000000000 +0100
@@ -685,6 +685,7 @@ handle_tasks_changed (ClockData *cd)
         }
         g_slist_free (events);
 
+	position_calendar_popup (cd, cd->calendar_popup, cd->toggle);
         update_frame_visibility (cd->task_list, GTK_TREE_MODEL (cd->tasks_filter));
 }
 
@@ -1157,7 +1158,9 @@ handle_appointments_changed (ClockData *
                 calendar_event_free (CALENDAR_EVENT (appointment));
         }
         g_slist_free (events);
-
+	
+	
+	position_calendar_popup (cd, cd->calendar_popup, cd->toggle);
         update_frame_visibility (cd->appointment_list, GTK_TREE_MODEL (cd->appointments_model));
 }
 


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-amd64
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages gnome-panel depends on:
ii  gnome-about                2.14.3-2      The GNOME about box
ii  gnome-control-center       1:2.14.2-7    utilities to configure the GNOME d
ii  gnome-desktop-data         2.14.3-2      Common files for GNOME 2 desktop a
ii  gnome-menus                2.16.1-3      an implementation of the freedeskt
ii  gnome-panel-data           2.14.3-5      common files for GNOME 2 panel
ii  libart-2.0-2               2.3.17-1      Library of functions for 2D graphi
ii  libatk1.0-0                1.12.4-3      The ATK accessibility toolkit
ii  libbonobo2-0               2.14.0-3      Bonobo CORBA interfaces library
ii  libbonoboui2-0             2.14.0-5      The Bonobo UI library
ii  libc6                      2.6.1-1       GNU C Library: Shared libraries
ii  libcairo2                  1.2.4-4       The Cairo 2D vector graphics libra
ii  libecal1.2-6               1.6.3-5etch1  Client library for evolution calen
ii  libedataserver1.2-7        1.6.3-5etch1  Utility library for evolution data
ii  libedataserverui1.2-6      1.6.3-5etch1  GUI utility library for evolution 
ii  libgconf2-4                2.16.1-1      GNOME configuration database syste
ii  libglade2-0                1:2.6.0-4     library to load .glade files at ru
ii  libglib2.0-0               2.12.4-2      The GLib library of C routines
ii  libgnome-desktop-2         2.14.3-2      Utility library for loading .deskt
ii  libgnome-menu2             2.16.1-3      an implementation of the freedeskt
ii  libgnome2-0                2.16.0-2      The GNOME 2 library - runtime file
ii  libgnomeui-0               2.14.1-2+b1   The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0             1:2.14.2-7    GNOME virtual file-system (runtime
ii  libgtk2.0-0                2.8.20-7      The GTK+ graphical user interface 
ii  liborbit2                  1:2.14.3-0.2  libraries for ORBit2 - a CORBA ORB
ii  libpanel-applet2-0         2.14.3-5      library for GNOME 2 panel applets
ii  libpango1.0-0              1.14.8-5      Layout and rendering of internatio
ii  libwnck18                  2.14.3-1      Window Navigator Construction Kit 
ii  libx11-6                   2:1.0.3-7     X11 client-side library
ii  libxau6                    1:1.0.1-2     X11 authorisation library
ii  menu-xdg                   0.2.3         freedesktop.org menu compliant win

Versions of packages gnome-panel recommends:
ii  evolution-data-server       1.6.3-5etch1 evolution database backend server
ii  gnome-applets               2.14.3-4     Various applets for GNOME 2 panel 
ii  gnome-session               2.14.3-5     The GNOME 2 Session Manager

-- no debconf information






More information about the pkg-gnome-maintainers mailing list