! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
monitors in "set as wallpaper" dialog pixmap
Status:
RESOLVED: WONTFIX
Product:
Ristretto
Component:
Application

Comments

Description Simon Steinbeiss editbugs 2011-10-11 15:45:14 CEST
Created attachment 3895 
dark monitor with stand

currently the "monitors" in the "set as wallpaper"-dialog are drawn in cairo, i would suggest to use pixmaps instead, mainly because it's easier to make it really pretty :)
i attached a proposal of a dark monitor in vector-format i created that could be used for this purpose.
Comment 1 Stephan Arts editbugs 2011-11-21 13:31:38 CET
I agree that the dialog can look better. But it is really difficult to render a border around a rectangle with variable dimensions and proportions.

The only way I can think of fixing that is the same way xfwm does the theming.
Cutting the monitor up in smaller pieces, and letting them be filled with data read from pixbuf themes.

+-+---------------+-+
|A|       B       |C|
+-+---------------+-+
| |               | |
| |               | |
|D|               |E|
| |               | |
| |               | |
+-+---------------+-+
|F|       G       |H|
+-+---------------+-+
  |       I       |
  +---------------+

I think this is overkill for a preview widget.

However, the color of the monitor-border should be retrieved from a theme-color. Because that is the only way it can look good on both dark and light themes.
Comment 2 Stephan Arts editbugs 2012-01-22 15:23:08 CET
The monitor is themable, it can be patched to make it look better but it wont be changed to load a pixbuf as example.

Bug #8027

Reported by:
Simon Steinbeiss
Reported on: 2011-10-11
Last modified on: 2012-01-22

People

Assignee:
Stephan Arts
CC List:
0 users

Version

Attachments

dark monitor with stand (17.40 KB, image/svg+xml)
2011-10-11 15:45 CEST , Simon Steinbeiss
no flags

Additional information