Closed
Bug 222325
Opened 22 years ago
Closed 22 years ago
opening/closing sidebar doesn't redraw week view
Categories
(Calendar :: Sunbird Only, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: davidf, Assigned: mostafah)
Details
Attachments
(3 files)
29.14 KB,
image/png
|
Details | |
25.46 KB,
image/png
|
Details | |
1.04 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030925
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030925
In the latest 20030926 build on mozilla 1.5rc2...
if I hide the sidebar bit (the bit with the monthly calendar/calendars list and
the task list) then in the weekly view, the events are displayed half-way
between two days (see the attached screenshot).
Once the side-bar is hidden, switching to another view and then back to week
view or resizing the window fixes the problem.
Reproducible: Always
Steps to Reproduce:
1. select week view
2. open or close sidebar
Actual Results:
items displayed in week view are shown half-way between days
Expected Results:
relocate week view items
Reporter | ||
Comment 1•22 years ago
|
||
image of the correctly displayed week view
Reporter | ||
Comment 2•22 years ago
|
||
this is a picture of the week view with events misaligned after the sidebar is
closed
Reporter | ||
Comment 3•22 years ago
|
||
OK, I fixed it by adding a function onMouseUpCalendarSplitter to
calendarWindow.js (like onMouseUpCalendarViewSplitter):
CalendarWindow.prototype.onMouseUpCalendarSplitter = function
calWinOnMouseUpCalendarSplitter()
{
//check if calendar-splitter is collapsed
this.doResize();
}
and adding an onmouseup to calendar-splitter in calendar.xul:
<splitter id="calendar-splitter" collapse="before" persist="state"
class="chromeclass-extrachrome sidebar-splitter" orient="horizontal"
onmouseup="setTimeout('gCalendarWindow.onMouseUpCalendarSplitter()',1);">
<grippy class="sidebar-splitter-grippy"/>
</splitter>
Reporter | ||
Comment 4•22 years ago
|
||
this is a patch corresponding to the code mentioned above.
very simple and copied from other calendar code, seems to fix the problem
easily
Assignee | ||
Comment 5•22 years ago
|
||
Checked into CVS.
Thanks
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 6•19 years ago
|
||
The bugspam monkeys have been set free and are feeding on Calendar :: Sunbird Only. Be afraid for your sanity!
QA Contact: gurganbl → sunbird
You need to log in
before you can comment on or make changes to this bug.
Description
•