Opened 7 years ago

Last modified 15 months ago

#9498 new bug

Improve MacDecorator to work with tabbing and resolve drawing bugs

Reported by: mmadia Owned by: stippi
Priority: normal Milestone: R1
Component: Add-Ons/Decorators/MacDecorator Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

hrev43255 got the MacDecorator compiling again. Read the haiku-commits changeset thread for more information on what to improve.

Here is a brief and incomplete summary:

Currently when you stack windows, the only way to switch between them is reaching them from the deskbar. I don't find that too useful.

Stack and Tile is now a mandatory system feature.

Apps may start relying on it and use it (to replace tabs in terminal or web+ for example).

I don't know yet how it will work for these. There are multiple solutions :

  • Have a popup menu with a list of the stacked windows
  • Have tabs anyway (split the titlebar in 2 if there are 2 windows,...)
  • Have previous/next buttons
  • make the windows tabbed when you combine them in a group and just resize the tab down by the number of windows grouped. Even if that doesn't make sense for the OS you are copying, (MacOS or Amiga, etc.) it seems like the easiest, most intuitive, and least painful way to integrate them with S&T.

Attachments (1)

fixborder.patch (2.2 KB ) - added by rehaby 2 years ago.

Download all attachments as: .zip

Change History (7)

by rehaby, 2 years ago

Attachment: fixborder.patch added

comment:1 by rehaby, 2 years ago

Has a Patch: set

comment:2 by rehaby, 2 years ago

Added a patch file which fixes the drawing of windows without title bars

comment:3 by pulkomandy, 2 years ago

Hi,

This patch does not solve the issues mentionned in the ticket. To avoid confusion it would have been better to create a separate ticket and put the patch there.

Anyway, the changes still look fine, so thanks for working on this.

comment:4 by pulkomandy, 2 years ago

Patch applied in hrev51433. Next time please use git format-patch to submit your patch so you get credited for it properly.

comment:5 by pulkomandy, 2 years ago

Has a Patch: unset

comment:6 by diver, 15 months ago

Component: Add-Ons/DecoratorsAdd-Ons/Decorators/MacDecorator
Note: See TracTickets for help on using tickets.