Bug 399960 - [Edit] Make merge arrow buttons easier to hit
Summary: [Edit] Make merge arrow buttons easier to hit
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Compare (show other bugs)
Version: 4.3   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: 4.5 M2   Edit
Assignee: Robin Stocker CLA
QA Contact: Malgorzata Janczarska CLA
URL:
Whiteboard:
Keywords:
Depends on: 398594
Blocks:
  Show dependency tree
 
Reported: 2013-02-05 06:18 EST by Malgorzata Janczarska CLA
Modified: 2014-08-21 08:21 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Malgorzata Janczarska CLA 2013-02-05 06:18:48 EST
Arrows created in bug 398594 could be easier to hit
Comment 1 Malgorzata Janczarska CLA 2013-02-05 06:20:33 EST
This change just increases the size of the mouse rectangle to that of
the buttons, which makes them much easier to use.
https://git.eclipse.org/r/#/c/10128/
Comment 2 Johan Compagner CLA 2013-02-05 12:11:58 EST
what would also be nice if the 2 buttons that we see now would show if the current change is active (so you selected it, the box around it are darker)
The you can just select it in the editor and they would popup.
Comment 3 Robin Stocker CLA 2013-02-05 13:07:50 EST
Johan: You mean that when you select/click one of the lines belonging to a change in the text editor, it would show the buttons directly without having to hover over the middle part? I could look into that, but it should probably be done in a separate change.
Comment 4 Johan Compagner CLA 2013-02-05 16:11:07 EST
yes that looks way more easier to me, for users
1 big area that you can select and then the buttons appear directly
Without needing to hover over some place.
Comment 5 Robin Stocker CLA 2013-02-06 17:21:44 EST
I think Johan's idea is very nice and improves discoverability. I added an implementation of it to the existing patch:

https://git.eclipse.org/r/#/c/10128/

Malgorzata, what do you think?
Comment 6 Robin Stocker CLA 2013-02-22 10:54:00 EST
Is it still possible for this to get into 4.3? Any comments on the review?
Comment 7 Robin Stocker CLA 2013-08-08 10:01:01 EDT
Tomasz, could you maybe do a review?
Comment 8 Malgorzata Janczarska CLA 2013-08-08 10:10:20 EDT
(In reply to comment #7)
> Tomasz, could you maybe do a review?

Tomasz is still a committer, but he unfortunately changed his responsibilities while moving to a different company.
Comment 9 Szymon Ptaszkiewicz CLA 2014-08-20 10:12:22 EDT
(In reply to Robin Stocker from comment #3)
> Johan: You mean that when you select/click one of the lines belonging to a
> change in the text editor, it would show the buttons directly without having
> to hover over the middle part? I could look into that, but it should
> probably be done in a separate change.

You are right, this should be done in a separate change.

We can use this bug according to its initial purpose and fix it with the change proposed in Patch Set 3 of https://git.eclipse.org/r/#/c/10128/

Robin, can you please split the proposed change into two so that this bug can be fixed with a change along the lines of Patch Set 3 and then propose another change for bug 442177. Thanks!
Comment 10 Robin Stocker CLA 2014-08-20 10:21:05 EDT
(In reply to Szymon Ptaszkiewicz from comment #9)
> You are right, this should be done in a separate change.

Oh no, why did I say that ;). I think I did it in the same change because I noticed that none of the code of the first part was left when I had finished the second part.

I can do that, but the second change will more or less remove everything that the first change did and do it differently. So if that's ok for you, I can look into that.
Comment 11 Szymon Ptaszkiewicz CLA 2014-08-20 10:50:00 EDT
(In reply to Robin Stocker from comment #10)
> (In reply to Szymon Ptaszkiewicz from comment #9)
> > You are right, this should be done in a separate change.
> 
> Oh no, why did I say that ;). I think I did it in the same change because I
> noticed that none of the code of the first part was left when I had finished
> the second part.
> 
> I can do that, but the second change will more or less remove everything
> that the first change did and do it differently. So if that's ok for you, I
> can look into that.

Yes, please do. I have reviewed the other part as well but I was not quite convinced that's the simplest change possible, so it would be better to fix it separately.
Comment 12 Robin Stocker CLA 2014-08-21 07:55:54 EDT
Done, see newest patch set and the change for bug 442177.
Comment 13 Szymon Ptaszkiewicz CLA 2014-08-21 08:21:28 EDT
Fixed in master with: http://git.eclipse.org/c/platform/eclipse.platform.team.git/commit/?id=b87ba2186f8e7b6b0c6e7cfbd47a7604f69f17eb

Thanks, Robin!