Bug#601753: please remove silly nag screen

2010-12-08 Thread bouml
sorry, the file is .bouml (rather than .boumlrc)




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#601753: please remove silly nag screen

2010-12-08 Thread bouml
Hi,

it is not necessary to change source code to not have the greetings, looking at 
the source code you can easily understand the modification to do in the 
.boumlrc to not have it, and starting Bouml through a script modifying .boumlrc 
then starting Bouml ...

furthermore this discussion is out of date because in the 4.23 delivered 
November 6th I don't ask for donation (because I stopped to work on Bouml) and 
the greetings can be closed immediately without waiting for 5 long seconds

it seems I was very stupid to give more than 5 seconds of my life to work on 
Bouml (I worked on it 8 years !)

disabused,

Bruno Pagès



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#601753: please remove silly nag screen

2010-12-08 Thread Benoît Knecht
Hi Thomas,

Thomas Girard wrote:
> Hello,
> 
> Le 07/12/2010 15:59, Benoît Knecht a écrit :
> > Hi,
> > 
> > I just installed bouml and tested this:
> > 
> >  - Run bouml;
> >  - Click OK on the greeting dialog;
> >  - Close bouml;
> >  - Repeat.
> > 
> > I get the greeting dialog every time, probably because I'm not loading
> > any project, and I have to admit it's rather irritating. 
> 
> I don't get it. If you open an existing project, or if you create a new
> one, the next time you run bouml no greeting screen is displayed.
> 
> Hence my question is: what is your bouml use case? How come you see the
> screen every time?

I was just pointing out that the initial poster was not entirely wrong
in claiming that the greeting screen was displayed every time you run
bouml, that can happen.

And even if displayed once every thirty times you load a project, being
forced to wait is quite annoying, and I'm pretty sure it accomplishes
the opposite of its intended goal: some people may make a donation if
asked nicely, and reminding them about it from time to time (in a
non-intrusive manner) probably increases the chance to get a donation;
but getting in the way of their work and forcing them to stare at the
dialog for five seconds... I think it will get most people annoyed and
not inclined to make a donation (and what about the users who did just
make a donation, and still get the reminder every now and then).

This is just my two cents, but it seems to me that the change I proposed
would benefit both the users and the main developer of bouml.

Cheers,

-- 
Benoît Knecht



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#601753: please remove silly nag screen

2010-12-07 Thread Thomas Girard
Hello,

Le 07/12/2010 15:59, Benoît Knecht a écrit :
> Hi,
> 
> I just installed bouml and tested this:
> 
>  - Run bouml;
>  - Click OK on the greeting dialog;
>  - Close bouml;
>  - Repeat.
> 
> I get the greeting dialog every time, probably because I'm not loading
> any project, and I have to admit it's rather irritating. 

I don't get it. If you open an existing project, or if you create a new
one, the next time you run bouml no greeting screen is displayed.

Hence my question is: what is your bouml use case? How come you see the
screen every time?

Regards,

Thomas



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#601753: please remove silly nag screen

2010-12-07 Thread Benoît Knecht
tags 601753 patch
thanks

Hi,

I just installed bouml and tested this:

 - Run bouml;
 - Click OK on the greeting dialog;
 - Close bouml;
 - Repeat.

I get the greeting dialog every time, probably because I'm not loading
any project, and I have to admit it's rather irritating.

I can understand the motivation (although I much prefer when asked for a
donation in the Help->About screen, and would be more inclined to donate
in that case), but forcing the user to wait 5 seconds or so every time
(or even every thirty time) is I think too constraining (reminds me of
unskipable trailers/advertisement on commercial DVDs, that only make
illegal downloading a more attractive alternative).

How about, as a compromise, keeping the greeting dialog but removing the
mandatory waiting period?

Here's a patch that implements just that.

Cheers,

-- 
Benoît Knecht

---

diff --git a/src/dialog/GreetingsDialog.cpp b/src/dialog/GreetingsDialog.cpp
index 09b8039..98f521b 100644
--- a/src/dialog/GreetingsDialog.cpp
+++ b/src/dialog/GreetingsDialog.cpp
@@ -86,7 +86,8 @@ Bruno Pages http://bouml.free.fr\n\
   
   ok = new QPushButton("&OK", this);
   ok->setDefault(TRUE);
-  ok->setEnabled(FALSE);
+  ok->setEnabled(TRUE);
+  ok->setFocus();
   
   hbox->addWidget(new QLabel(this));
   hbox->addWidget(ok);
@@ -96,14 +97,6 @@ Bruno Pages http://bouml.free.fr\n\
 UmlDesktop::tocenter(this);
   
   connect(ok, SIGNAL(clicked()), this, SLOT(reject()));
-  
-  QTimer::singleShot(5000, this, SLOT(valid_ok()));
-  QApplication::setOverrideCursor(Qt::waitCursor);
-}
-
-void GreetingsDialog::valid_ok() {
-  ok->setEnabled(TRUE);
-  QApplication::restoreOverrideCursor();
 }
 
 void GreetingsDialog::closeEvent(QCloseEvent * e) {
diff --git a/src/dialog/GreetingsDialog.h b/src/dialog/GreetingsDialog.h
index b6edd2f..43ce9be 100644
--- a/src/dialog/GreetingsDialog.h
+++ b/src/dialog/GreetingsDialog.h
@@ -41,7 +41,6 @@ class GreetingsDialog : public QDialog {
   
   protected slots:
 virtual void closeEvent(QCloseEvent * e);
-void valid_ok();
 };
 
 #endif



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#601753: please remove silly nag screen

2010-10-30 Thread bouml
Hi,

Robert Lemmen is wrong, the "greetings" dialog is displayed *once in thirty* 
you load a project, not each time.

For teh rest if Robert Lemmen consider that childish and silly I encourage him 
to use an other tool !

Best regards,

Bruno Pagès



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org