Opened 6 years ago

Last modified 4 years ago

#9202 assigned enhancement

Icon / background position

Reported by: dsjonny Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Kits/ Version: R1/alpha4.1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


It would be nice if we would be able to set the relative position of the background and icons to any corner or any side of the window.

Example for the background: I want to set the Haiku logo relative to the bottom and the right side of the screen at 100px. So, the background image will be at the (screen height-100-image height)x(screen width-100-image width) position in all screen resolution.

Now in Haiku the wallpaper and the icons are in a predefined xy location. If I use the Haiku (from an USB stick) on more PCs the monitors may have different resolutions. I use a desktop PC with a HD monitor and the Trash is at the right-bottom corner. If I got a smaller monitor with low resolution, we may not see the Trash or the full background (like as the default Haiku logo). After I go to another PC with a high resolution monitor, than the Trash icon will be at another position (the xy position will be the same as on the monitor with lower resolution was).

I have attached a screenshot for the better understand.

Attachments (1)

screen.png (50.0 KB) - added by dsjonny 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by dsjonny

Attachment: screen.png added

comment:1 Changed 6 years ago by dsjonny

Maybe the solution is simthing like this?:

BackgroundImage.cpp at line 231

		case kAtOffset:
-->>			followFlags = B_FOLLOW_BOTTOM | B_FOLLOW_RIGHT;			<<--

I have tested it, but the background image was not always updated when I switch between workspaces (with different resolution).

comment:2 Changed 4 years ago by anevilyak

Owner: changed from anevilyak to nobody
Status: newassigned

comment:3 Changed 4 years ago by waddlesplash

Milestone: R1Unscheduled

Moving enhancement tickets out of R1 milestone -- Tracker's source code comes from BeOS R5, so it already has all the features it did on R5.

Note: See TracTickets for help on using tickets.