This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 384835 - [Workbench] Some org.eclipse.ui.workbench fixes from 3.6 and 3.7 didn't make it into 4.2
Summary: [Workbench] Some org.eclipse.ui.workbench fixes from 3.6 and 3.7 didn't make ...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2   Edit
Hardware: All All
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 396203 (view as bug list)
Depends on: 272884 117746 221172 391232 426363 428761 428762 428765 428779 428781 428806 429194 438919 439988 440093 440095 440199 440228 440237 440240 440304 440319 440321 440328 474443
Blocks:
  Show dependency tree
 
Reported: 2012-07-11 10:10 EDT by Markus Keller CLA
Modified: 2016-03-29 06:35 EDT (History)
8 users (show)

See Also:


Attachments
Log of Eclipse 3.5-3.7 fixes to check (31.05 KB, text/plain)
2014-04-25 16:26 EDT, Paul Webster CLA
no flags Details
Log of Eclipse 3.5-3.7 fixes to check v2 (31.04 KB, text/plain)
2014-05-07 17:00 EDT, Paul Webster CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2012-07-11 10:10:28 EDT
After I fixed bug 362032, I compared the docs from 3.8 and 4.3 I-builds.

After ignoring lines matching the regexp ...
(<!-- Generated by javadoc|<META NAME="date" CONTENT=|<b>Eclipse Platform</b><br>Release).*
..., there are still differences in about 20 files that look like missing updates in the master branch.

Paul, shall I go ahead and commit the missing updates to master?
(This will end up in 4.2.1 as well as 4.3, as I understand it.)
Comment 1 Paul Webster CLA 2012-07-11 10:20:18 EDT
Yes please.  I think javadoc fixes are fine for 4.2.1

PW
Comment 2 Markus Keller CLA 2012-07-16 12:57:37 EDT
Sorry, this is not only about Javadoc as I initially thought. I found quite a few fixes that went into the stable stream of org.eclipse.ui.workbench (R3_7, R3_8) but didn't make it into master.

Just to name a few:
Bug 307201: 7ca7e5cfd216c0c6160fdc0c82e4964e48cccd8d
Bug 309716: a5a593e93e39b07d11ffff30368938ddff226b48
Bug 227289: b0d098d18d5b55eeae63548b56081e8c7eeb5fb8
revert of Bug 201301: b7477c9a6fa5d9072c9b321cfae3a111822bd79b
Bug 224703: f1909e88e09656e960a61709de5c8d5ab9c9a4a8
...

In the EGit History view, all these commits contain "master" and "origin/R3_8_maintenance" in the "Branches:" section, so it looks like someone already tried to merge these differences, but something went wrong.

Marking as critical, since we don't know if we're missing critical fixes in the master branch. Someone has to make a diff between master and R3_8_maintenance of org.eclipse.ui.workbench and take over the missing pieces, such that the only remaining differences are e4-related.
Comment 3 Dani Megert CLA 2012-07-17 03:00:20 EDT
This should be looked at for SR1.
Comment 4 David Williams CLA 2012-07-17 03:20:15 EDT
I'm not doubting there's some issues, but let's review some terminology and the state of things (to clear up my confusion, if nothing else). 

First, I don't see a R3_8 tag or R4_2 tag for this repo. Am I missing it? 

Second, for 3.8, this repo, eclipse.platform.ui, used branch R3_development while 4.2 used master (directly, no "integration"). 

So, 1. Who is supposed to make the tags? 

2. In remarks such as "few fixes that went into the stable stream of org.eclipse.ui.workbench (R3_7,
R3_8) but didn't make it into master.

Just to name a few:
Bug 307201: 7ca7e5cfd216c0c6160fdc0c82e4964e48cccd8d

What was really compared? I did a compare of master and R3_development and they seemed the same. Not sure if the fixes had already been "caught up", or if something else is being compared. 

Just trying to clarify. 

Thanks,
Comment 5 Dani Megert CLA 2012-07-17 03:29:02 EDT
(In reply to comment #4)
> First, I don't see a R3_8 tag or R4_2 tag for this repo. Am I missing it? 

How about:
http://git.eclipse.org/c/platform/eclipse.platform.ui.git/tag/?id=R3_8
http://git.eclipse.org/c/platform/eclipse.platform.ui.git/tag/?id=R4_2
Comment 6 Markus Keller CLA 2012-07-17 08:20:25 EDT
(In reply to comment #4)
> What was really compared? I did a compare of master and R3_development and they
> seemed the same.

I guess your repo is not in sync with eclipse.org. I compared master of org.eclipse.ui.workbench with origin/R3_8_maintenance (or origin/R3_development, it's almost the same).

Note that local branches are only up-to-date in EGit after you've switched to the branch and then did a Pull.

E.g. if you have master and R3_development in your workspace and do a Pull, then you can NOT use the plain name of the other branch to perform a comparison. You have to use origin/<branchname> or first switch to the other branch and pull that one first.
Comment 7 David Williams CLA 2012-07-17 10:07:45 EDT
Thanks for the persistent, patient clarifications. As a result, I discovered I had an old "git-hub" version of that repo in my workspace. Sheesh.
Comment 8 Paul Webster CLA 2012-07-18 15:49:00 EDT
(In reply to comment #2)
> Sorry, this is not only about Javadoc as I initially thought. I found quite a
> few fixes that went into the stable stream of org.eclipse.ui.workbench (R3_7,
> R3_8) but didn't make it into master.

All of the fixes that went into 3.8 R3_development should be accounted for (unless they were workbench specific fixes).

But yes, there are fixes that went into 3.6 and 3.7 that are not currently in master, like the ones listed in comment #2

I was able to find specific bugs that were re-opened to be re-included in master, but wasn't able to find a bug that listed the comparison still to be done except bug 359616 comment #2 and bug 328935


PW
Comment 9 Paul Webster CLA 2013-01-11 14:03:01 EST
Defered to 4.3
Comment 10 Dani Megert CLA 2013-01-31 07:53:11 EST
*** Bug 396203 has been marked as a duplicate of this bug. ***
Comment 11 Paul Webster CLA 2014-02-21 15:34:52 EST
Done:

Bug 270007: 1d1287d1196cdf0718c8b0777b9fa14550e417cb

Released as http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=77ffe2da1b8b790d0516a8fc6cd170b3d25b6560

Bug 344654 - [EditorMgmt] Editors should be able to treat large files specially (e.g. deny opening huge files)
- says doesn't apply to 4.x because no EditorManager.


PW
Comment 12 Paul Webster CLA 2014-02-21 16:33:02 EST
Additional fixes needed:
Bug 270007: 3c6a66556bd1b3b5d5c8f045f4cc3229c731277c
Comment 13 Paul Webster CLA 2014-04-25 16:26:15 EDT
Created attachment 242346 [details]
Log of Eclipse 3.5-3.7 fixes to check

Still a manual process, but basically:

check if it's in the 2 streams that were open at that time:

3.x: 45eed8f13946561bfe2192d7e7177ed5d3b68200..R3_7
4.x: v20110711-1709..R4_1

If there isn't a commit equivalent in each, then look at the 3.x change and check the code in HEAD

PW
Comment 14 Paul Webster CLA 2014-04-30 10:22:46 EDT
I'd like to finish the analysis in RC1, even if we defer the fixes as appropriate.

PW
Comment 15 Paul Webster CLA 2014-05-07 16:59:20 EDT
These bugs are missing from the 4.x Stream code:

Bug 126429
Bug 340268
Bug 323431
Bug 340342
Bug 340656
Bug 297375
Bug 339227
Bug 338843
Bug 327396
Bug 333417
Bug 72556
Bug 335543 - possibly missing from e4 copy of this class as well
Bug 313899 - missing from both regular and e4 copy
Bug 188700
Bug 188652
Bug 333689
Comment 16 Paul Webster CLA 2014-05-07 17:00:10 EDT
Created attachment 242815 [details]
Log of Eclipse 3.5-3.7 fixes to check v2

As far as I got
Comment 17 Paul Webster CLA 2014-05-12 15:56:55 EDT
I'm deferring this to 4.4.1.  There's still a number of bugs to be checked.

PW
Comment 18 Dani Megert CLA 2014-05-28 05:11:23 EDT
Bug 117746 is a very important fix which should be applied with high priority.
Comment 19 Kevin Milburn CLA 2014-07-04 06:27:30 EDT
A ClassCastException has been reintroduced into Luna as a result of Bug 428779.  This problem had been previously fixed by Bug 315532.
Comment 20 Dani Megert CLA 2014-07-21 07:24:37 EDT
(In reply to Kevin Milburn from comment #19)
> A ClassCastException has been reintroduced into Luna as a result of Bug
> 428779.  This problem had been previously fixed by Bug 315532.

This is not related to this bug report here. Can you please open a new bug with steps to reproduce the CCE? Thanks.
Comment 21 Kevin Milburn CLA 2014-07-21 10:46:48 EDT
It seemed appropriate to flag it here as it's related to this task that the original code (from 3.6) was introduced into the 4.4 branch, while missing the subsequent bug that fixed the problem it created.

Paul has already created Bug 438919 to track the problem.
Comment 22 Daniel Rolka CLA 2014-07-24 08:21:58 EDT
(In reply to Paul Webster from comment #15)
> These bugs are missing from the 4.x Stream code:
> 
> Bug 126429
> Bug 340268
> Bug 323431
> Bug 340342
> Bug 340656
> Bug 297375
> Bug 339227
> Bug 338843
> Bug 327396
> Bug 333417
> Bug 72556
> Bug 335543 - possibly missing from e4 copy of this class as well
> Bug 313899 - missing from both regular and e4 copy
> Bug 188700
> Bug 188652
> Bug 333689

The short summary after going over the list:

The following bugs seem to be not valid for 4.x:
Bug 338843 and Bug 72556

The following bug has been already ported to 4.x:
Bug 333417

The following bugs waiting for the CLA form of the contributor:
Bug 439988, Bug 335543, Bug 188700, Bug 440328

The following bugs are minor and we don't want to port it to the 4.4.1 (however some of them have been pushed to the 4.5):
Bug 340656, Bug 339227, Bug 188652 

The rest of the bugs I'm going to push to the 4.4.1 branch in the next week after verifying ones in the master build

Daniel
Comment 23 Markus Keller CLA 2014-07-24 11:55:10 EDT
(In reply to Daniel Rolka from comment #22)
> The following bugs seem to be not valid for 4.x:
> Bug 338843 and Bug 72556

Bug 72556 is still valid. I just tried this out by adding a few mnemonics to EGit's uitext.properties like this:
CommitEditorPage_SectionBranches=Bran&ches ({0})
CommitEditorPage_SectionMessage=Mess&age
StagingView_Committer=&Committer:
StagingView_Author=&Author:

Alt+C and Alt+A always go to the commit editor even if the Git Staging view has focus.

In the plugin.xml editor, "Extension Points" tab, the &Delete button also has a mnemonic that shows the bug.

> The following bugs waiting for the CLA form of the contributor:
> Bug 439988, Bug 335543, Bug 188700, Bug 440328

There's no need for a CLA or anything. The code has already been included in Eclipse, and there's no re-checking required when moving it to a different branch. You can just add "Signed-off-by: <author>" to the commit to satisfy the automated checks that don't work for this workflow.
Comment 24 Dani Megert CLA 2014-07-25 05:42:43 EDT
(In reply to Markus Keller from comment #23)
> > The following bugs waiting for the CLA form of the contributor:
> > Bug 439988, Bug 335543, Bug 188700, Bug 440328
> 
> There's no need for a CLA or anything. The code has already been included in
> Eclipse, and there's no re-checking required when moving it to a different
> branch. You can just add "Signed-off-by: <author>" to the commit to satisfy
> the automated checks that don't work for this workflow.

Daniel wants to upload Gerrit patches and there the tests are stronger than for direct push. Plus, even with direct push, it won't work if the author is not a committer, i.e. Daniel would have to replace the author with his own name. Just adding a signed-off would not allow to work around that check/restriction.
Comment 25 Dani Megert CLA 2014-09-03 10:51:12 EDT
Moving to 4.4.2.

Daniel, is there more planned than the remaining 3 open dependent bugs.
Comment 26 Daniel Rolka CLA 2014-09-03 10:55:48 EDT
(In reply to Dani Megert from comment #25)
> Moving to 4.4.2.
> 
> Daniel, is there more planned than the remaining 3 open dependent bugs.

There is still the list from the Comment 16 that we have to review. I started to work on it, but I switched to another item on my list. I'm going to return to the bug in 4.4.2, but I will work on it in the meantime

Daniel
Comment 27 Markus Keller CLA 2014-10-22 09:19:41 EDT
Just found bug 305231 that also didn't make it into E4.
Fixed in master with http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=32e112b3c317749aad3ff71974f96381196ebe1e
Comment 28 Markus Keller CLA 2014-10-22 10:50:05 EDT
(In reply to Markus Keller from comment #27)
Sorry, right link: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=3d5377790b611a321b0b757bae1119d032fb99fe
Comment 29 Daniel Rolka CLA 2014-11-27 07:45:04 EST
I moved the bug to 4.5 since the patch for the Bug 74073 is not a trivial fix and it is too risky for 4.4.2

Daniel
Comment 30 Daniel Rolka CLA 2014-11-27 09:31:21 EST
(In reply to Daniel Rolka from comment #29)
> I moved the bug to 4.5 since the patch for the Bug 74073 is not a trivial
> fix and it is too risky for 4.4.2
> 
> Daniel

I have detached the bugs that are too risky for 4.4.2 and we will try to work on it separately during 4.5. 

I will close the current umbrella bug since the vast majority of depended bugs get closed

Daniel
Comment 31 Mauro Molinari CLA 2014-11-27 10:27:33 EST
(In reply to Daniel Rolka from comment #30)
> I have detached the bugs that are too risky for 4.4.2 and we will try to
> work on it separately during 4.5. 

I think you should update the target milestone for this then.
Comment 32 Paul Webster CLA 2014-11-27 10:44:09 EST
See comment #16

I don't think this bug is close to done.  The dependent bugs that are closed are only as far as I got checking through the attached list.  The rest of that work still has to be done (whether you do it on this bug or move the attachment to another umbrella bug is up to you).

PW
Comment 33 Dani Megert CLA 2014-11-28 03:43:13 EST
(In reply to Paul Webster from comment #32)
> See comment #16
> 
> I don't think this bug is close to done.  The dependent bugs that are closed
> are only as far as I got checking through the attached list.  The rest of
> that work still has to be done (whether you do it on this bug or move the
> attachment to another umbrella bug is up to you).
> 
> PW

The bugs on this bugs (In reply to Paul Webster from comment #32)
> See comment #16
> 
> I don't think this bug is close to done.  The dependent bugs that are closed
> are only as far as I got checking through the attached list.  The rest of
> that work still has to be done (whether you do it on this bug or move the
> attachment to another umbrella bug is up to you).
> 
> PW

Daniel, please go through the list from comment 16 and identify those >= 'major' and missing. We should focus on those.
Comment 34 Lars Vogel CLA 2016-03-29 06:35:19 EDT
Last comment is from 2014 and I don't think anyone is still working on this. Please reopen if that is not true.