Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

UI jiggles when opening context menu on selection #3376

Open
peterflynn opened this issue Apr 8, 2013 · 20 comments
Open

UI jiggles when opening context menu on selection #3376

peterflynn opened this issue Apr 8, 2013 · 20 comments

Comments

@peterflynn
Copy link
Member

  1. Select a few lines of text in any file
  2. Right-click on the selection

Result: entire UI jiggles upward about 1 line's height, then back down

This definitely worked correctly when we originally introduced context menus.

Looks like this might be due to CMv3: it's broken as far back as Sprint 20, but working correctly in Sprint 19 and earlier. Sprint 20 is when v3 landed.

@njx
Copy link

njx commented Apr 8, 2013

Not seeing this on Mac--might be Windows only.

@redmunds
Copy link
Contributor

redmunds commented Apr 8, 2013

Bizarre. I only see it on Win7 if 8 or more lines are selected.

@njx
Copy link

njx commented Apr 8, 2013

I was wrong--it does appear on Mac if you select multiple lines and context-click on the selection.

@RaymondLim
Copy link
Contributor

More bizarre thing. If your selection covers more than 75% of the window height, then you don't see the issue.

@dattadev
Copy link

dattadev commented Apr 9, 2013

It's happening when we selected a single line wrapped into 2-3 lines and then context click on the selection. I am using "sprint 22 experimental build 0.22.0-6428"

@TomMalbran
Copy link
Contributor

Another bizarre thing. If hold the right click for a few seconds before releasing it, then it doesn't jiggle.

@RaymondLim
Copy link
Contributor

Hmm.. Somehow this issue is not reproducible in the latest version 6f2dabd (both win and mac)

@RaymondLim
Copy link
Contributor

Identify that nj's commit 8c655d2 also fixes this issue.

FBNC @peterflynn

@ghost ghost assigned njx Apr 10, 2013
@TomMalbran
Copy link
Contributor

I can still reproduce this on WinXP at the latest version 6f2dabd33. But I can now only see the editor holder moving rapidly one line up and down by selecting between 4 and 17 lines and opening the context menu clicking inside the selection.

@njx
Copy link

njx commented Apr 10, 2013

Our conjecture is that it was (accidentally) fixed by the changes/simplifications made for the new toolbar layout (which were merged last night). I'll see if I can reproduce it on XP.

@njx
Copy link

njx commented Apr 10, 2013

Oops, I meant "I'll see if I can reproduce it on Win 7" :) I wasn't able to repro it on Win 7, so if this is XP-only I think this can be pushed out of this sprint as a low-priority bug.

@jokeyrhyme
Copy link

Sprint 27, OS X 10.8:
screen shot 2013-07-11 at 12 53 51 pm

  1. open Brackets
  2. select file
  3. select multiple lines
  4. right-click
  5. observe weirdness where code editor meets file list

There is no jitter now, just the weirdness with the arrow point on the active file highlighting.

@peterflynn
Copy link
Member Author

I can still repro that last issue -- the sidebar panel jumps upward and the arrow gets misaligned -- on Win 7 when right clicking a selection that's several lines long. It seems to happen more easily when right-clicking in the top half of the window, but I'm not sure. Doesn't seem to depend on window height (large or small, I can hit it either way).

@redmunds
Copy link
Contributor

I fixed another cause of this in pull request #6665. In that case, the window was being stretched vertically which messed up the project tree, so maybe something similar is happening here.

@redmunds
Copy link
Contributor

redmunds commented Oct 6, 2014

FBNC to @peterflynn

@marcelgerber
Copy link
Contributor

Well, it's not completely fixed. The Editor actually jiggles a bit, but without any persistent effect.

@JeffryBooher
Copy link
Contributor

Strange. I don't see it at all on Windows 8.

@njx
Copy link

njx commented Oct 9, 2014

I can still repro on Mac with the latest master.

@redmunds
Copy link
Contributor

redmunds commented Oct 9, 2014

Yes, I still see the jiggle. Removing FBNC.

@redmunds
Copy link
Contributor

The UI Jiggling still remains, but the worst part of this bug (i.e. sidebar gap) is now fixed, so removing Brackets 1.0 Milestone.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

9 participants