CodeEdit icon indicating copy to clipboard operation
CodeEdit copied to clipboard

🐞 Can not close or resize debug panel after resizing utility area to maximum height

Open hoangatuan opened this issue 2 years ago • 5 comments

Description

If I adjust the debug panel to its maximum height, then I will not be able to adjust its height again. ⌘⇧Y also doesn't work.

Once dragging the status bar to resize the utility area, if you drag up past a certain point it fills the area, you cannot drag down in the same gesture to get it back down.

You cannot drag it down at all once maximized. This might be because the status bar is not visible when the utility area maximized.

To Reproduce

  1. Open CodeEdit
  2. Adjust Debug panel to its maximum height
  3. Not able to adjust the debug panel height by mouse
  4. Using ⌘⇧Y will show incorrect UI
  5. Quit & Reopen the app but still not be able to adjust the debug panel height.the

Expected Behavior

  1. Able to resize the utility area height after it is maximized even after dragging up to maximize and dragging back down in the same gesture.
  2. ⌘⇧Y should have the same UX as Xcode.
  3. Status bar should be visible when maximized.

Version Information

Latest code on the main branch

Screenshots

https://github.com/CodeEditApp/CodeEdit/assets/48347505/dab9d71f-0152-4c6f-ab81-431bcfe00e0a

hoangatuan avatar Jan 10 '24 15:01 hoangatuan

Hi maintainers, If it's not a known issue, can assign to me

hoangatuan avatar Jan 10 '24 15:01 hoangatuan

It looks like you've just maximized the utility area. Try clicking the lower right icon to restore it to normal size.

austincondiff avatar Jan 10 '24 18:01 austincondiff

The question is indeed if the area should behave the exact same way that Xcode does.

When the utility area is maximized, and then using the shortcut, the resulting window indeed seems to be a bug and unexpected behavior though

matthijseikelenboom avatar Jan 10 '24 19:01 matthijseikelenboom

Hi @austincondiff @matthijseikelenboom

Wow, I didn't realize that we have the lower right icon. In the maximized area, both Xcode & Visual Studio allow users to drag to resize, but CodeEdit doesn't support that feature. I think we should support this feature to avoid confusing user

hoangatuan avatar Jan 11 '24 02:01 hoangatuan

I think you are right. I see several problems here...

  1. Once dragging the status bar to resize the utility area, if you drag up past a certain point it fills the area, you cannot drag down in the same gesture to get it back down.
  2. You cannot drag it down at all once maximized. This might be because...
  3. The status bar is not visible when the utility area maximized.

I will edit the issue description to account for these items.

austincondiff avatar Mar 24 '24 02:03 austincondiff