Linux desktop manager Close Window is dangerous.
Brad Fuller
bradallenfuller at yahoo.com
Tue Aug 28 14:43:02 UTC 2007
On Mon August 27 2007, Michael van der Gulik wrote:
> On 8/28/07, Bert Freudenberg <bert at freudenbergs.de> wrote:
> > On Aug 27, 2007, at 16:38 , Brad Fuller wrote:
> > > Before I dig into this, I bet someone has already investigated this
> > > and
> > > decided it can't be done. When you close the Squeak with the desktop
> > > manager's "Close Window" (the "X"), squeak closes without a
> > > confirmation
> > > dialog. Windows has an "Are you sure?" and I expect the Mac version
> > > does too.
> > > Why not Linux?
> >
> > It would add considerably to the complexity of the X11 VM - Xlib does
> > not provide a dialog box call, whereas Win and Mac libraries do.
>
> Would it be possible to send an event/message back to the VM so that the
> image could pop up a Morphic-based dialog box?
Yeah, that would be the best because the experience would be (potentially)
more consistent across platforms. I've never written a Linux app, except
Squeak plugin - so I would have to figure out how to do it. It just seems we
should have a confirmation so a user doesn't accidentally hit the "X" when
s/he meant to hit the "Maximize" icon.
In fact, I'm now thinking this should be labelled a defect. What do you think?
brad.
More information about the Squeak-dev
mailing list
|