Resolve merge conflict
ClosedPublic

Authored by ndavis on Nov 17 2018, 10:25 AM.

Details

Summary

Resolve issue from previous commit

Diff Detail

Repository
R266 Breeze Icons
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ndavis created this revision.Nov 17 2018, 10:25 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptNov 17 2018, 10:25 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
ndavis requested review of this revision.Nov 17 2018, 10:25 AM
ndavis edited the test plan for this revision. (Show Details)Nov 17 2018, 10:31 AM
ndavis added a subscriber: nicolasfella.

@nicolasfella Will these work for you? Let me know if you need thumb buttons as well.

I think the Mouse itself needs a bit more curve with less box.

I think the Mouse itself needs a bit more curve with less box.

I kind of agree. I was just copying the existing dialog-input-devices icon, but I suppose I could change that as well.

+1 for more curves. That rectangle doesn't particular scream "I'm a mouse!" to me.

dialog-input-devices itself is pretty lousy, honestly. It would also use a bit of sprucing up rather than copying its style.

ndavis planned changes to this revision.Nov 18 2018, 3:55 AM

Alright, that's 2 people in favor of a curved mouse. After all, we're not using Apple Macintoshes from the 80s.

ndavis updated this revision to Diff 45703.Nov 18 2018, 4:50 AM

Change mouse to rounded style

ndavis edited the test plan for this revision. (Show Details)Nov 18 2018, 4:57 AM
abetts added a subscriber: abetts.Nov 18 2018, 4:58 AM

Looks good to me +1

Much better shape!

What do you think about making the mouse wheel detached from the top of the mouse so it looks more like a wheel and less like a notch? Then also you might not need to omit it from input-mouse-click-middle'

Much better shape!

What do you think about making the mouse wheel detached from the top of the mouse so it looks more like a wheel and less like a notch? Then also you might not need to omit it from input-mouse-click-middle'

It does look better on the other mouse icons, but the middle mouse button still needs to be covered by the blue highlight because otherwise the highlight is too difficult to see.

detached MMB

highlight under detached MMB

slightly longer highlight under detached MMB

What about making the MMB turn white when it has the blue highlight?

What about making the MMB turn white when it has the blue highlight?

white MMB

white MMB with slightly longer highlight next to right click icon with original highlight length

I would suggest making the mouse wheel itself turn blue as highlighting

Is this too small or not legible enough?

I think it's not quite clear enough on it's own, however together with the other icons it will be clear

ndavis updated this revision to Diff 45755.Nov 18 2018, 9:49 PM

Detach MMB, increase highlight length, make colors match new HIG, turn MMB click highligh into outline

ndavis edited the test plan for this revision. (Show Details)Nov 18 2018, 9:55 PM
ngraham accepted this revision.Nov 19 2018, 2:46 AM
ngraham added a reviewer: nicolasfella.

Looks good to me now! Let's make sure @nicolasfella is happy too, since he's going to be the inaugural user. :)

This revision is now accepted and ready to land.Nov 19 2018, 2:46 AM

It's been 3 days and no response. It has already been approved by another reviewer, so I'm going to land this now.

nicolasfella accepted this revision.Nov 21 2018, 10:28 PM

Looks great!

ndavis updated this revision to Diff 45978.Nov 21 2018, 10:32 PM

Rebase onto master

Looks great!

Ah thanks!

This revision was automatically updated to reflect the committed changes.
cfeck added a subscriber: cfeck.Nov 21 2018, 10:53 PM
cfeck added inline comments.
icons-dark/actions/16/dialog-input-devices.svg
3

Please resolve merge conflicts.

nicolasfella reopened this revision.Nov 21 2018, 10:57 PM
This revision is now accepted and ready to land.Nov 21 2018, 10:57 PM
nicolasfella requested changes to this revision.Nov 21 2018, 10:57 PM
This revision now requires changes to proceed.Nov 21 2018, 10:57 PM

I thought I did this already. I rebased onto master, then added the version of the file I wanted, then continued the rebase, then updated the diff. Is there something I missed?

I thought I did this already. I rebased onto master, then added the version of the file I wanted, then continued the rebase, then updated the diff. Is there something I missed?

Sounds reasonable. Maybe you forgot to save, or forgot to add a file or added the wrong file.

nicolasfella added a comment.EditedNov 21 2018, 11:04 PM

In any case, try again and check the files for merge conflict markers

I thought I did this already. I rebased onto master, then added the version of the file I wanted, then continued the rebase, then updated the diff. Is there something I missed?

Sounds reasonable. Maybe you forgot to save, or forgot to add a file or added the wrong file.

Save what or how? Doesn't arc diff --update D16951 save things? I know I added the right files and there were only 2 conflicts (icons/actions/16/dialog-input-devices.svg and icons-dark/actions/16/dialog-input-devices.svg).

I just pulled the patch with arc patch D16951
If I do git status, it says

On branch arcpatch-D16951
nothing to commit, working tree clean

This is what Git looks like in git-dag:

Save what or how? Doesn't arc diff --update D16951 save things? I know I added the right files and there were only 2 conflicts (icons/actions/16/dialog-input-devices.svg and icons-dark/actions/16/dialog-input-devices.svg).

Saved in the program you resolved the conflict with

I just pulled the patch with arc patch D16951
If I do git status, it says

On branch arcpatch-D16951
 nothing to commit, working tree clean

This is what Git looks like in git-dag:

git thinks everything is ok, but the merge conflict markers are still in the file.

I think you should restore the unmerged version, merge again, resolve the conflict and upload it again

Save what or how? Doesn't arc diff --update D16951 save things? I know I added the right files and there were only 2 conflicts (icons/actions/16/dialog-input-devices.svg and icons-dark/actions/16/dialog-input-devices.svg).

Saved in the program you resolved the conflict with

I just pulled the patch with arc patch D16951
If I do git status, it says

On branch arcpatch-D16951
 nothing to commit, working tree clean

This is what Git looks like in git-dag:

git thinks everything is ok, but the merge conflict markers are still in the file.

I think you should restore the unmerged version, merge again, resolve the conflict and upload it again

How do I do this?

nicolasfella added a comment.EditedNov 21 2018, 11:32 PM

This assumes the files that you uploaded before the merge are all correct.

  • Save the correct icons somewhere.
  • Checkout the old diff: arc patch --diff 45755 (while on master)
  • Begin rebase: git rebase master
  • Override the files with conflicts with the files you saved
  • git add files
  • git rebase --continue
  • Upload it: arc diff
ndavis updated this revision to Diff 45980.Nov 21 2018, 11:41 PM

Fix conflicts

Ok, I see what the issue was. The conflicts are literally stored *in* the file that has the conflict as text, so dialog-input-devices.svg was turned into a diff of the old and new versions.

nicolasfella accepted this revision.Nov 21 2018, 11:44 PM
This revision is now accepted and ready to land.Nov 21 2018, 11:44 PM
ndavis updated this revision to Diff 45981.Nov 21 2018, 11:57 PM
ndavis marked an inline comment as done.

Rebase onto master again

So now I have 2 commits and one of them is already on master, but they're both called "Add mouse button icons" and use the same description. Should I update this diff to describe only the latest commit or make it apply to both?

So now I have 2 commits and one of them is already on master, but they're both called "Add mouse button icons" and use the same description. Should I update this diff to describe only the latest commit or make it apply to both?

Just rename this one to something like "Resolve merge conflict"

ndavis retitled this revision from Add mouse button icons to Resolve merge conflict.Nov 22 2018, 12:03 AM
nicolasfella accepted this revision.Nov 22 2018, 12:04 AM
nicolasfella edited the summary of this revision. (Show Details)
nicolasfella edited the test plan for this revision. (Show Details)
This revision was automatically updated to reflect the committed changes.