Bug 285131 - Editor scrolls up after save for documents on smb shares
Summary: Editor scrolls up after save for documents on smb shares
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2009-07-30 05:44 EDT by Fritz Meier CLA
Modified: 2020-05-14 10:16 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fritz Meier CLA 2009-07-30 05:44:54 EDT
Build ID: M20080911-1700

Steps To Reproduce:
After a save operation, editor fails to stay at the exact same position. Instead it moves up, sometimes a few lines, sometimes to the very top of the document.
- Happens about every 10th time.
- Document is on a Samba share

Thanks!

More information:
Comment 1 Dani Megert CLA 2009-07-30 06:40:48 EDT
Which editor are you using?
Does it also work if the file is not on smb share?

Can you reproduce with a plain Eclipse SDK R3.5 build:
http://download.eclipse.org/eclipse/downloads/drops/R-3.5-200906111540/index.php
?
Comment 2 Fritz Meier CLA 2009-07-30 08:42:51 EDT
Thanks for looking into this.

I'm using the regular eclipse editor in PHP mode. It's plain eclipse with subclipse and PDT added.

Local files don't exhibit the issue. It also mainly happens when the save operation takes over a second to complete, so this might be an issue with eclipse not expecting long filesystem latency.

Tried out your plain Eclipse SDK R3.5 build, just added subclipse and PDT. So far the scrolling has stopped, but I get the following message in most save operations: "The file xx has been changed on the file system. Do you want to overwrite the changes made on the file system?" (without this actually being the case - nobody has changed the file on the file system). Maybe these 2 issues are connected?
Comment 3 Dani Megert CLA 2009-07-30 08:45:58 EDT
>I'm using the regular eclipse editor in PHP mode.
No idea what the PHP mode is. Can you please try the default text editor with just the Eclipse SDK (no other plug-ins).
Comment 4 Fritz Meier CLA 2009-07-30 10:18:29 EDT
Tried it with 3.5 without any plugins:
Scrolling has stopped, but the bad error message persist ("The file xx has been changed on the file system"...).
Comment 5 Dani Megert CLA 2009-07-30 10:28:02 EDT
>Tried it with 3.5 without any plugins:
>Scrolling has stopped, but the bad error message persist ("The file xx has been
>changed on the file system"...).
That's bug 137011.

Moving to PDT as the scrolling seems to come from there.
Comment 6 Dani Megert CLA 2009-07-30 10:28:26 EDT
However, it might be a side effect of bug 137011.