[haiku-bugs] Re: [Haiku] #8156: Installing Workspaces into Deskbar should be easier

  • From: "rq" <trac@xxxxxxxxxxxx>
  • Date: Sun, 27 Nov 2011 14:25:14 -0000

#8156: Installing Workspaces into Deskbar should be easier
---------------------------------------+----------------------------
   Reporter:  rq                       |      Owner:  axeld
       Type:  enhancement              |     Status:  new
   Priority:  normal                   |  Milestone:  R1
  Component:  Applications/Workspaces  |    Version:  R1/Development
 Resolution:                           |   Keywords:
 Blocked By:                           |   Blocking:
Has a Patch:  1                        |   Platform:  All
---------------------------------------+----------------------------

Comment (by rq):

 The attached patch adds a "Live in the Deskbar" item to the context menu.
 It's not ideal though: I hardcoded the size of the deskbar replicant
 instead of calculating it properly, since I have no idea how to implement
 it. I'd say idealy its dimentions would be calculated somewhat like this:

 Height = 15px[[BR]]
 Width = (ScreenWidth / ScreenHeight * numDesktops * 14 + 1) px[[BR]]
 ''(note I multiplied by 14 instead of 15 to account for borders between
 and around the desktop previews)''

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8156#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: