Open core-ai-bot opened 3 years ago
Comment by jbalsas Friday Nov 02, 2012 at 11:56 GMT
Hi,
A couple things I've noticed about this:
It looks like some css or layout changes might help here. For example, the data-forcemargin
for the sidebar resizer could be updated to push the status bar the same way we do with the content if required.
Also limiting a maximum height while resizing the panels (on resizing and on showing) helps, but this would probably require a some API changes in Resizer
.
Comment by peterflynn Monday Nov 19, 2012 at 19:55 GMT
There are several intertwined bugs here:
So as far as fixes:
Here's the code I added to the "show" helper for (3):
// Window size may have changed since panel last visible. Make sure it still fits
var maxSize = $("#editor-holder").height();
if (elementSize > maxSize) {
elementSize = maxSize;
elementSizeFunction.apply($element, [maxSize]);
}
This isn't ideal since it hardcodes an assumption that the panel sits in the .content
vertical stack. We could add fancier logic to detect whether that's actually true or not. Might want to encapsulate some of it in EditorManager, though.
Comment by peterflynn Monday Nov 19, 2012 at 19:56 GMT
So for Sprint 17 since we're sort of in a crunch, I would suggest only doing my first bullet -- the simple fix in EditorManager that fixes the worst aspects of the bug.
Comment by gruehle Monday Nov 19, 2012 at 21:42 GMT
The simple EditorManager fix sounds good for now. As you say, this will resolve the situation where you can't get the panel back unless you trash prefs, which is the most important aspect to fix.
Comment by njx Monday Nov 26, 2012 at 19:35 GMT
Leaving open for the simple fix for sprint 17. We can do more later.
Comment by redmunds Tuesday Nov 27, 2012 at 16:06 GMT
FBNC@
gruehle Please verify partial fix submitted in pull request #2223. When confirmed, remove FBNC and Sprint 17 tags, and leave Open.
Comment by gruehle Tuesday Nov 27, 2012 at 17:39 GMT
Yes, the worst case is now fixed. Removing FBNC and Sprint 17. Keeping Medium Priority since the remaining issues are still pretty bad.
Comment by njx Monday Jan 14, 2013 at 19:43 GMT
Moving out to sprint 20--doesn't seem as high pri as other sprint 19 bugs and we're getting low on time.
Comment by peterflynn Friday Feb 08, 2013 at 18:21 GMT
Moving to sprint 21 after discussion -- not as important as the ongoing CMv3 issues.
Comment by peterflynn Wednesday Feb 27, 2013 at 18:15 GMT
Moving to sprint 22 since the new topcoat toolbar story will probably affect how panel layout is managed.
Comment by pthiess Wednesday Apr 10, 2013 at 18:19 GMT
Moving to Sprint 24 as per team's decision in today's standup.@
peterflynn is going to write up a proposal for this case, we'll follow up on.
Comment by njx Wednesday Apr 24, 2013 at 17:20 GMT
Further punted.@
peterflynn to write up proposal for fix
Comment by peterflynn Tuesday May 21, 2013 at 19:58 GMT
PR #3943 fully fixes (1) above. Here's a rough sketch of the remaining work:
$element.data("show", ...)
handler we can just clip elementSize
appropriately -- easy fix).if (elementPrefs)
block in Resizer.Comment by njx Monday Jun 03, 2013 at 18:12 GMT
Reviewed. Since the worst issues here are fixed, and panels were never an official feature anyway, we decided that we should call this "move to backlog", and create a card for creating an official panel API that includes things like whether we want tabs in panels, what their sizing behavior should be, etc.
Comment by njx Monday Jul 08, 2013 at 19:02 GMT
Created a backlog card for bottom panel UI and linked this bug from it: https://trello.com/c/eVoQHUJj. Closing as move to backlog.
Issue by gruehle Thursday Nov 01, 2012 at 16:25 GMT Originally opened as https://github.com/adobe/brackets/issues/2015
[Edit: The behavior as described in these steps was fixed in #2223. However, there are related issues that still remain. Please read all bug comments before closing.]
Steps to repro:
Results: The search results panel ends up overlapping the status bar and cannot be resized. The only way to get the panel back is to trash prefs.