min icon indicating copy to clipboard operation
min copied to clipboard

Tab Bar Layout

Open i028 opened this issue 1 year ago • 6 comments

The current layout of the top tab is not easy to operate. When moving with the mouse, it is necessary to look for the movable area in the upper left corner. Refer to the top tab of the safari browser. image

i028 avatar Sep 08 '23 06:09 i028

Yeah, I agree it's suboptimal. How would you propose doing it? We could make the area larger, but I think it looks strange with the current tab design:

PalmerAL avatar Sep 08 '23 16:09 PalmerAL

True, it's hard to find a place to move the window. I think, maybe we can decrease the sizes of the opened tabs instead of moving the icons?

sndrkrly avatar Sep 10 '23 12:09 sndrkrly

We could add some space at the top:

I think it looks bad though, because now the tabs don't line up with the traffic lights.

PalmerAL avatar Sep 11 '23 02:09 PalmerAL

We could add some space at the top:

I think it looks bad though, because now the tabs don't line up with the traffic lights.

I meant the opened windows tab sizes (width) not the top bar size height. Like we can maybe decrease their width and move them a little bit to inside?

sndrkrly avatar Sep 11 '23 19:09 sndrkrly

Hi @PalmerAL @i028 I agree that it's not optimal and can be painful especially when using a wide screen monitor to frequently move window with a lot of tabs open. I got idea:

  1. Press cmd or ctrl while dragging to move min window. I rarely move individual tabs tho. I can still rearrange them later in the tasks if i want. Depending on the effort required to adjust this feature, we can also make dragging any tab as default behaviour to move min window and cmd+drag to move tabs.
  2. Add option to disable moving tabs by dragging. This way, i can freely use the entire tabs title area as a dragging area to move min window.

iambudi avatar Nov 25 '23 22:11 iambudi

Depending on the effort required to adjust this feature, we can also make dragging any tab as default behaviour to move min window and cmd+drag to move tabs.

This used to be the default behavior actually. Then Electron changed their implementation so that if you have a draggable region, it doesn't receive click events (so clicking on tabs doesn't work): https://github.com/electron/electron/pull/38208#issuecomment-1567405095

Press cmd or ctrl while dragging to move min window

I think this would be possible though; we would listen for the key down event and activate the draggable region when it happens.

PalmerAL avatar Nov 27 '23 06:11 PalmerAL