Closed
Bug 60843
Opened 25 years ago
Closed 24 years ago
RFE: Installer should use irregularly shaped windows
Categories
(SeaMonkey :: Installer, enhancement, P3)
Tracking
(Not tracked)
VERIFIED
WONTFIX
People
(Reporter: netdragon, Assigned: netdragon)
Details
(Keywords: helpwanted, Whiteboard: introduces more problems than it solves and has no UI approval)
I think to add a little more spunk to the Mozilla installer, it should use
irregularly shaped windows. The way you do this (I haven't done it in a while)
is to define a transparent color for a bitmap, and then create a region by
scanning in all the lines in the image (where it isn't the transparent color),
and making an array of them (as two point polygons). Then you create a region
from that array by the CreatePolyPolygonRgn function
http://msdn.microsoft.com/library/psdk/gdi/regions_9dbi.htm (you can make a
polygon by a set of many points defining the outside of the window, but there
is no point in my opinion). Then you use SetWindowRgn
http://msdn.microsoft.com/library/wcedoc/wcesdkr/gdi_130.htm to make the window
defined by the region. You can now show the window because it is irregularly
shaped (if you showed it before, it would have shown the transparent color,
also). I used the technique to make irregularly shaped windows in one program I
made. Too bad you can't do irregularly shaped windows in all OSes or the whole
Mozilla program could use this tecnique. The final thing to note that to make
the window moveable, and resizable, you have to detect mouse clicks and move
the window yourself in the code as the user moves the mouse. The best thing to
do is create a timer that moves the window a few times every second, so that
the window moves somewhat smoothly, but the system doesn't get bogged down as
these windows take a little longer to display. You can still place images
inside the window, and draw inside the window like normal. Things drawn outside
the region get cut off (I am not sure if they appear if you set the region to
go around them afterwards, but I would assume they do).
Comment 1•25 years ago
|
||
> Too bad you can't do irregularly shaped windows in all OSes or the whole
> Mozilla program could use this tecnique.
It's just as well you can't do irregularly shaped windows in all OSes or the
whole Mozilla program might be tempted to make itself a laughing stock by using
this technique (like the Quicktime 4.0 Player).
This RFE would make the installer harder to use, would slow down redrawing and
movement of the installer window, and would cause anger among those who see
problems in Mozilla that could have been fixed in the time spent on doing this.
Recommend WONTFIX.
Comment 2•25 years ago
|
||
Umm..I can't imagine anyone spending time and resources to fix this. As if the
concept irregularly shaped windows wasn't a bad idea itself, you just want it
for the installer? This seems like a big, misguided waste of time.
Per recommendations
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
Assignee | ||
Comment 4•25 years ago
|
||
Maybe to you, but others might think its a good idea.
Status: RESOLVED → UNCONFIRMED
Resolution: WONTFIX → ---
Updated•25 years ago
|
Summary: [rfe]Installer should use irregularly shaped windows → RFE: Installer should use irregularly shaped windows
Comment 6•25 years ago
|
||
Marking NEW since someone has signed up to work on it -- but I am pretty certain
that even if a fully working patch was submitted, it would not be accepted by the
module owner.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 7•25 years ago
|
||
I think the best thing to do if adding irregular shaped windows is to use
moderation. Whoever is doing this shouldn't make the windows stars or something
IMHO. It should be something simple that still looks professional. The main
window in the background should stay full screen too.
Status: NEW → ASSIGNED
Comment 8•25 years ago
|
||
FYI: The current installer doesn't have the blue background anymore. If we
implement irregularly shaped windows there shouldn't be any full screen
background.
full screen apps are generally stupid. I count full screen installers among
those apps. Are you saying that we don't fullscreen anymore? [good]
Comment 10•25 years ago
|
||
mozilla-win32-installer dont do full screen anymore...
per request of some netscape people
Updated•24 years ago
|
Whiteboard: WONTFIX ? -- RFE introduces more problems than it solves and has no UI approval
Assignee | ||
Comment 11•24 years ago
|
||
Marking Wontfix for now. A note: Windows XP and media player both make frequent
use of irregularly shaped windows.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago → 24 years ago
Resolution: --- → WONTFIX
Whiteboard: WONTFIX ? -- RFE introduces more problems than it solves and has no UI approval → introduces more problems than it solves and has no UI approval
Assignee | ||
Updated•24 years ago
|
Keywords: helpwanted
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•