-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Conversation
Thanks @marcelgerber. I confirmed that this indeed fixes the UI glitches. |
This is a pretty big change, so be sure to test all ways that sidebar can be resized. Also test #3376. |
I just verified:
|
@marcelgerber You can also hide/show sidebar with mouse. Hide by dragging all the way to the left, the Show by grabbing left edge. Also test resizing/hide/show bottom panels and Brackets editor itself, which also causes sidebar to resize. |
Tested:
|
Thought of another case: causing working set area to change size by adding/removing files, switching between turning split view on/off, etc. Can you make a single list of all tests in description at top? |
I've listed them all in the description. |
Fwiw, it looks like the |
@marcelgerber Great job tracking down the cause of this! The "selection triangle" is now gone. Aren't we also getting rid of "selection rectangle over the scrollbar"? If so, then we should be able to remove |
The remaining selection "rectangle" works fine, too. |
@redmunds @marcelgerber Just to clarify: the "selection triangle" is still present and isn't going away -- it's just shaped like a square now instead of a triangle. But it still needs to get positioned correctly. I think removing |
@peterflynn The "selection triangle/rectangle" in working set has a positioning base ancestor of ".open-files-container", so it's not affected by this change. The "selection triangle/rectangle" in project tree has a positioning base ancestor of "#project-files-container", so it's also not affected by this change. Note this is currently broken and being tracked in #9203. |
@marcelgerber I think the fix is to explicitly set it to |
If both work the same, what's the reason I should change it? |
@marcelgerber |
@redmunds Instead of doing that, why don't we just remove the two |
@peterflynn I'm fine with that after verifying that they're not used by any other elements. I don't like the idea of having an id and a class with the same name, so that would be nice to clean up. |
@redmunds Actually, |
@marcelgerber Good catch on the sidebar icons -- I didn't notice that. I verified that there is no Merging. |
This seems to fix #9248, but I'm not quite sure what that code was for (FWIW, it was introduced in 04848ee) and if anything relies on it.
I've tested an verified these scenarios are still working:
Ctrl-Alt-H
) works fineNot (completely) working: