On Tue, Nov 6, 2012 at 1:52 PM, Carsten Haitzler <ras...@rasterman.com> wrote:
> On Tue, 6 Nov 2012 13:22:23 +0200 (EET) Robert Krambovitis <rob...@split.gr>
> said:
>
>> > From: "Carsten Haitzler"
>> > To: "Enlightenment users discussion & support"
>> > <enlightenment-users@lists.sourceforge.net> Cc: "P Purkayastha"
>> > Sent: Tuesday, November 6, 2012 12:30:29 PM
>> > Subject: Re: [e-users] wsod
>> >
>> > On Tue, 06 Nov 2012 18:17:29 +0800 P Purkayastha
>> > said:
>> >
>> > > On 11/06/2012 05:53 PM, Stefano wrote:
>> > > > On Tue, Nov 6, 2012 at 7:16 AM, P Purkayastha
>> > > >  wrote:
>> > > >> Well, that's what you get for not reading what is written on the
>> > > >> screen.
>> > > >> It is very clearly written what each option means. If you
>> > > >> approach any
>> > > >> software (not only E) with the mentality of clicking random
>> > > >> buttons
>> > > >> whenever a dialog pops up, a disaster will happen some time or
>> > > >> the other.
>> > > >
>> > > > Sure thing, however a good design should avoid such slips.
>> > > >
>> > > > http://www.useit.com/alertbox/20010204.html
>> > > >
>> > > > ;-)
>> > > >
>> > >
>> > > All that is ok. But what kind of "good design" can you have with an
>> > > xmessage like alert box? The one thrown by e has got *only* two
>> > > options:
>> > >
>> > > F1 Recover
>> > > F2 Exit
>> > >
>> > > It should be clear that what we want to do is "recover" our work.
>> > > Hence,
>> > > why would I even bother to exit?
>> > >
>> > > Secondly, this kind of dialog shows the user that something went
>> > > bad. If
>> > > you restart it silently then the user has no means of knowing why E
>> > > suddenly started to restart by itself. There could be a
>> > > notification,
>> > > but the user who doesn't read such popups won't read notifications
>> > > as
>> > > well. And the developer or more curious user who wants to debug
>> > > can't
>> > > debug either (part of the reason for the dialog is to aid in
>> > > debugging).
>> >
>> > if you get into segfault cycles (ie it keeps segving eery time
>> > immediately)
>> > then u WANT to be able to exit. its a necessary evil.
>>
>> @carsten: afaik if it crashes repeatedly, the modules are automatically
>> unloaded, which in many cases stops the crashing. At the end of the day, I
>> can always ctrl+alt+backspace/f1 and do something about it.
>
> many distros turn off ctrl+alt+backspace. if bug is not in a module you have
> this problem anyway. and if it is the novice user in your example above.. they
> have no idea how to do this anyway.
>
>> @ppurka: f2 exit -> exit what ? What is enlightenment ? You think that
>> everyone that uses is knows what it is ? Why will exiting enlightenment kill
>> all my applications ? I didn't say exit browser, or exit email, or exit
>> whatever else, and especially not exit X .. ! In the event of my colleague,
>> he comes from a computer environment that "just works".
>>
>> What I'm saying is that it's hazardous (in the computer sense), and users
>> will (at least once) select the wrong option. I go back to my original post
>> and request a "configuration option". Therefore devs can have it one way,
>> system builders can have it the other way. Especially since system builders
>> will first test for problems before pushing updates to repositories for the
>> end users.
>>

I, too, agree, that doing auto-restart is not the way to go, however,
I, too, have accidentally pressed F2 when I wanted F1.
So how about just taking the simple solution and move from F2 to, say, F12? :)

Patch attached.

--
thomasg
From af4a8278872bae2c712a2fd465a6007c2a62daa4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20Gst=C3=A4dtner?= <tho...@gstaedtner.net>
Date: Tue, 6 Nov 2012 22:56:30 +0100
Subject: [PATCH] WSOD: change exit from (F2) to (F12) to avoid accidents

---
 trunk/e/src/bin/e_alert_main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/trunk/e/src/bin/e_alert_main.c b/trunk/e/src/bin/e_alert_main.c
index 1333f24..b33bee8 100644
--- a/trunk/e/src/bin/e_alert_main.c
+++ b/trunk/e/src/bin/e_alert_main.c
@@ -93,7 +93,7 @@ main(int argc, char **argv)
 
    title = "Enlightenment Error";
    str1 = "(F1) Recover";
-   str2 = "(F2) Exit";
+   str2 = "(F12) Exit";
 
    _e_alert_create();
    _e_alert_display();
@@ -427,7 +427,7 @@ _e_alert_handle_key_press(xcb_generic_event_t *event)
    ev = (xcb_key_press_event_t *)event;
    if (ev->detail == 67) // F1
      return 1;
-   else if (ev->detail == 68) // F2
+   else if (ev->detail == 96) // F12
      return 2;
    else
      return 0;
-- 
1.8.0

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to