Closed Bug 349803 Opened 18 years ago Closed 18 years ago

Copied/cut tasks get pasted in the wrong day

Categories

(Calendar :: Tasks, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: davidger, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060731 Ubuntu/dapper-security Firefox/1.5.0.5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060507 Mozilla Sunbird/0.3a2

When you copy or cut a task and paste it into another day, it actually gets pasted on the next day. For example, you're moving a task from day 10 to 6, it'll get pasted to day 7 even when day 6 was clearly selected.

Reproducible: Always

Steps to Reproduce:
1.Copy or cut an existing task
2.Move to another day and hit paste
Actual Results:  
The task will get pasted in the next day to the one you selected.

Expected Results:  
The task should be pasted in the currently selected day at the moment of perfoming the paste action.

I tried this using keyboard shortcuts and mouse shortcuts. Same results.
A couple thing that might matter here:
-What view are you copying/pasting in?
-What timezone are you in?
-What time is it in that timezone when you were testing this?

Can you try changing those things (change the time on your system and restart Sunbird for the last two) and see if that changes things?

Also, please try with a nightly build, so see if anything has improved there.
ftp://ftp.mozilla.org/pub/mozilla.org/calendar/sunbird/nightly/latest-trunk/
(In reply to comment #1)
> A couple thing that might matter here:
> -What view are you copying/pasting in?
   I just tried it on all views and it always moves pasted content one day.
> -What timezone are you in?
   My time zone is America/Costa_Rica -06:00 GMT 
> -What time is it in that timezone when you were testing this?
   It's 6:38 pm. Events copy/pasted are at 16:30 and 17:30 (24 and 25th August) 
> 
> Can you try changing those things (change the time on your system and restart
> Sunbird for the last two) and see if that changes things?
  I changed my timezone to America/North_Dakota_Center and pastes worked as they should. Switching back to my zone brought the bug back so you were right about the time zone being the bug trigger :)

***This bug has been fixed in the nightly builds***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Bugs are only marked fixed if we can point to specific code changes that went away.  This one should be marked WORKSFORME.
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago18 years ago
Resolution: --- → WORKSFORME
Sorry, my bad :)
You need to log in before you can comment on or make changes to this bug.