Author Topic: Various bugs and comment about nightly 2729  (Read 15268 times)

Offline MaxGaspa

  • Almost regular
  • **
  • Posts: 133
Various bugs and comment about nightly 2729
« on: July 10, 2006, 08:11:58 pm »
Dear all,

Just few bugs observed using Windows XP SP2

1) Just after the CB opening, right clicking into Projects area over "Worspace" does nothing. I think the right action shuold be to observe a menu with (Rename,Save, Save As...). If I open (load) an existing worspace or If I save the initial Worspace the menu will appear.


2) Adding a C/C++ fle a wizard starts. Unfortunately the adding fails and a window appears (error message). The image of the window is attached.


Now a comment.


Ok the wizard is a good tool but using it to add a .c or .h file seems silly (IMHO) to me. Is so a common task
that a wizard seems like to kill a mosquito with a gun. Moreover adding an header file (I cannot add a source file
becasue 2) ) the wizard ask me to select a target. So it seems impossible (to me if I am worng please let me know)
to add it into all available targets.

Now a (possible) feature request.

Is it possible to have (in addition to the wizard)the old, efficient, simple way to add a file?


Thanks and regards

Massimo





[attachment deleted by admin]

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Various bugs and comment about nightly 2729
« Reply #1 on: July 10, 2006, 08:35:28 pm »
Quote
Just after the CB opening, right clicking into Projects area over "Worspace" does nothing. I think the right action shuold be to observe a menu with (Rename,Save, Save As...). If I open (load) an existing worspace or If I save the initial Worspace the menu will appear.
What exactly do you expect to happen? If you have no workspace open, then what should be saved or renamed?
Quote
Adding a C/C++ fle a wizard starts.
I have just finished recompiling 2730 to see what wizard you are talking about. I see no such thing as a wizard, but a file selector dialog followed by a dialog that lets you add the selected files to one or more targets. What's wrong with this?
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: Various bugs and comment about nightly 2729
« Reply #2 on: July 10, 2006, 08:37:00 pm »
Quote
2) Adding a C/C++ fle a wizard starts. Unfortunately the adding fails and a window appears (error message).

This is known and will be fixed today.

Quote
2) ) the wizard ask me to select a target. So it seems impossible (to me if I am worng please let me know)
to add it into all available targets.

You 're right. This will be implemented this shortly.
Be patient!
This bug will be fixed soon...

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: Various bugs and comment about nightly 2729
« Reply #3 on: July 10, 2006, 08:37:40 pm »
Quote
Adding a C/C++ fle a wizard starts.
I have just finished recompiling 2730 to see what wizard you are talking about. I see no such thing as a wizard, but a file selector dialog followed by a dialog that lets you add the selected files to one or more targets. What's wrong with this?

Now you got me worried Thomas :lol:
Be patient!
This bug will be fixed soon...

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Various bugs and comment about nightly 2729
« Reply #4 on: July 10, 2006, 08:38:30 pm »
Seriously!   8)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Various bugs and comment about nightly 2729
« Reply #5 on: July 10, 2006, 08:49:01 pm »
No wizards here, not even a magician :)

"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: Various bugs and comment about nightly 2729
« Reply #6 on: July 10, 2006, 08:52:17 pm »
No wizards here, not even a magician :)

He means "File->New" :lol:
Be patient!
This bug will be fixed soon...

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Various bugs and comment about nightly 2729
« Reply #7 on: July 10, 2006, 08:55:40 pm »
Ah, now that is different (but not what he said).  Oh yes, this one is evil sorcery.

Burn! Burn! Burn!  :lol:
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline MaxGaspa

  • Almost regular
  • **
  • Posts: 133
Re: Various bugs and comment about nightly 2729
« Reply #8 on: July 10, 2006, 10:09:14 pm »
Thomas, you wrote.

T> What exactly do you expect to happen? If you have no workspace open, then what should be saved or renamed?

I can be wrong but...you do have a workspace open at that time. It is called "Workspace" you can add a project to it,
you can save it using File->Save Workspace as. So I am especting that the right click menu is working as well.

I can be wrong .. but try to ask yourself how many other people is especting the same...

If I don't have a worspace opened, why there is a workspace icon with the string Worspace in the managment area? No workspaces opened => empty managment area.


regards

Massimo


Offline mdelfede

  • Multiple posting newcomer
  • *
  • Posts: 84
Re: Various bugs and comment about nightly 2729
« Reply #9 on: July 11, 2006, 11:57:14 pm »
Quote
2) Adding a C/C++ fle a wizard starts. Unfortunately the adding fails and a window appears (error message).

This is known and will be fixed today.

Quote
2) ) the wizard ask me to select a target. So it seems impossible (to me if I am worng please let me know)
to add it into all available targets.

You 're right. This will be implemented this shortly.

Arrrgghhh ! Now I see the problem too, it's really annoying  :D
Really a wizard to create a new c file seems too much !
I'm waiting for a "do the job for me, I'll go holydays" button on next release....  :D

Best regards and keep on, I'm using CB since less than one week and it seems to me one of the best IDEs that I've ever seen !

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1442
    • CenizaSOFT
Re: Various bugs and comment about nightly 2729
« Reply #10 on: July 12, 2006, 05:34:06 am »
I'm finding the new way to create new header/source files using wizards excessive. The old way with some new name (like "Quick create new file..." or something) should be back with some key accelerator like "Ctrl+Shift+N" while keeping the wizard, really.

In the meanwhile this seems to be the fastest way to do it if I don't need to add it to a target:

Code: Bash
  1. touch newfile.cpp
  2. newfile.cpp

:P

sethjackson

  • Guest
Re: Various bugs and comment about nightly 2729
« Reply #11 on: July 12, 2006, 02:27:21 pm »
I'm finding the new way to create new header/source files using wizards excessive. The old way with some new name (like "Quick create new file..." or something) should be back with some key accelerator like "Ctrl+Shift+N" while keeping the wizard, really.

Agreed. It just seems overkill to use a wizard to create a new header/source file.......

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2178
Re: Various bugs and comment about nightly 2729
« Reply #12 on: July 12, 2006, 03:17:57 pm »
I'm finding the new way to create new header/source files using wizards excessive. The old way with some new name (like "Quick create new file..." or something) should be back with some key accelerator like "Ctrl+Shift+N" while keeping the wizard, really.

Agreed. It just seems overkill to use a wizard to create a new header/source file.......

Me too! Pretty, nice work, but too much.

It's like using my '73 German 2 ton Deutz diesel to cut the lawn.
Doable, but wholely unnecessary.

Can we have an "advanced user" checkbox option to turn some wizards off?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: Various bugs and comment about nightly 2729
« Reply #13 on: July 12, 2006, 03:35:03 pm »
@all:
I can see why you think it's overkill. And I agree with you. For a new empty file, it is too much. But these new wizards are there to offer much more than empty files.
True, currently you can just create empty files and it's annoying having to get through a wizard for this. But this won't always be the case.

So please help us here.
Why do you think it's too much?
  • Are the clicks needed too many?
  • Is the "New" dialog scary/slow?
  • Too many pages in the files wizards?
  • None of the above? (elaborate please)


Let's see what's more annoying and schedule it for fixing :)
Be patient!
This bug will be fixed soon...

Offline mdelfede

  • Multiple posting newcomer
  • *
  • Posts: 84
Re: Various bugs and comment about nightly 2729
« Reply #14 on: July 12, 2006, 04:00:40 pm »
@all:
I can see why you think it's overkill. And I agree with you. For a new empty file, it is too much. But these new wizards are there to offer much more than empty files.
True, currently you can just create empty files and it's annoying having to get through a wizard for this. But this won't always be the case.

So please help us here.
Why do you think it's too much?
  • Are the clicks needed too many?
  • Is the "New" dialog scary/slow?
  • Too many pages in the files wizards?
  • None of the above? (elaborate please)


Let's see what's more annoying and schedule it for fixing :)

Hehehehehehehe...
I'll add
  • Tens clicks to solve a one-click job :)


I think the best would be add 'empty C file', 'empty C++ file' and 'empty H file' icon in first page after pressing 'new' button.
I think it's easy to add and allow you to keep doors opened for future enancements.

Ciao

Max

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9508
Re: Various bugs and comment about nightly 2729
« Reply #15 on: July 12, 2006, 04:39:14 pm »
For me most annoying is:
* the number of mouse clicks
* to read the welcome page for each wizard again and again

So how about:
* presenting the "file" page first (assuming you'll issue more "new files" than "new projects")
* enable a "do not show the intro page again" checkbox for intro pages in wizards

...just for reference and public discussion...?!
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

sethjackson

  • Guest
Re: Various bugs and comment about nightly 2729
« Reply #16 on: July 12, 2006, 05:20:50 pm »
For me I just don't like clicking that much....

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2178
Re: Various bugs and comment about nightly 2729
« Reply #17 on: July 12, 2006, 06:15:27 pm »
  • Are the clicks needed too many?
  • Is the "New" dialog scary/slow?
  • Too many pages in the files wizards?
  • None of the above? (elaborate please)
1) yes, click after click after click, one mistake, then more clicks. 10 clicks just for an h. file. Also it restricts the type of file to create. Can't do .txt or .todo etc.
Easier to just touch <filename>and open.

2) Would love to turn it off on my 333mhz dell and 400mhz imac. I can create files faster by hand.

3) Way too many pages. Would like to see file browser, enter new filename, then done.

4) It's so annoying, I'd opt to always create a new file outside CodeBlocks then just drag it into the file manager.


Offline TheNullinator

  • Multiple posting newcomer
  • *
  • Posts: 42
Re: Various bugs and comment about nightly 2729
« Reply #18 on: July 12, 2006, 07:23:49 pm »
I think the wizard approach to file creation is a very useful one once developed to a level that saves the programmer more time than using a non-wizard method and having to do a whole heap of stuff manually, such as adding guards, common includes, namespaces and a basic class declaration.  I would like to see Code::Blocks get to this level.

However, I find the current minimum click count of 10 for nothing special very slow and boring so I now opt for file creation using other methods.  Maybe a merger of Morten's and Pecan's views could be considered.

  • "File" page displayed first when "New" is clicked or last page remembered.
  • "Welcome" pages that can be turned off.
  • When a file wizard is started, the filename entry box and target list are on the first page with a "Finish" button and a "Next" button for future extension.

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1442
    • CenizaSOFT
Re: Various bugs and comment about nightly 2729
« Reply #19 on: July 12, 2006, 08:40:30 pm »
Well, everybody has said the reasons why it's overkill already but it seems nobody liked the "Quick create new file..." solution. I still vote for that one :P

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5193
Re: Various bugs and comment about nightly 2729
« Reply #20 on: July 12, 2006, 09:12:15 pm »
I am on your side ;-)

next to the wiz, a quick file new ...

sethjackson

  • Guest
Re: Various bugs and comment about nightly 2729
« Reply #21 on: July 12, 2006, 09:13:51 pm »
I am on your side ;-)

next to the wiz, a quick file new ...

Me too. :)

Offline mdelfede

  • Multiple posting newcomer
  • *
  • Posts: 84
Re: Various bugs and comment about nightly 2729
« Reply #22 on: July 12, 2006, 09:19:23 pm »
I am on your side ;-)

next to the wiz, a quick file new ...

My vote is for local right mouse menu on 'sources', 'headers', 'resources' end so on....

Max

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: Various bugs and comment about nightly 2729
« Reply #23 on: July 12, 2006, 10:45:05 pm »
@all:

Thanks for the feedback. Tomorrow we 'll have some more commits in that part of the program ;)
Be patient!
This bug will be fixed soon...

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: Various bugs and comment about nightly 2729
« Reply #24 on: July 12, 2006, 11:31:59 pm »
@all:

Thanks for the feedback. Tomorrow we 'll have some more commits in that part of the program ;)

Oh well...
I was feeling kinda bored and I implemented it today ;)

Quote from: SVN commit log
* "File->New" now has a submenu with quick shortcuts to the various kinds of wizards. It also has an "empty file" entry which brings back the old way to create an empty file.

So we 're now from 10 down to 2 mouse-clicks for a new empty file. Not bad... ;)
Be patient!
This bug will be fixed soon...

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5193
Re: Various bugs and comment about nightly 2729
« Reply #25 on: July 12, 2006, 11:43:33 pm »
superb, tested it, works fine   :D

Offline mdelfede

  • Multiple posting newcomer
  • *
  • Posts: 84
Re: Various bugs and comment about nightly 2729
« Reply #26 on: July 12, 2006, 11:57:13 pm »
perfect  :)

sethjackson

  • Guest
Re: Various bugs and comment about nightly 2729
« Reply #27 on: July 13, 2006, 03:38:59 am »
Thanks mandrav. :D

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2178
Re: Various bugs and comment about nightly 2729
« Reply #28 on: July 13, 2006, 03:46:55 am »

So we 're now from 10 down to 2 mouse-clicks for a new empty file. Not bad... ;)


Cool! Thanks


Offline takeshi miya

  • Lives here!
  • ****
  • Posts: 1487
Re: Various bugs and comment about nightly 2729
« Reply #29 on: July 13, 2006, 07:08:36 am »
Quote from: SVN commit log
* "File->New" now has a submenu with quick shortcuts to the various kinds of wizards. It also has an "empty file" entry which brings back the old way to create an empty file.

So we 're now from 10 down to 2 mouse-clicks for a new empty file. Not bad... ;)

Not bad, really, much better now :)

For making it more comfortable even (1 mouse-click), something that always bugged me about the "old way" was the behaviour of creating the file first.

Here are my usability thoughts:
1)
As in other editors, when you click the "New file" button, you get an "Untitled" file, you write something, and you can discard it without having to create a file. This happens a lot, and if you want to save, you usually click the Save button.
It happens to be very uncomfortable when you only want to paste a piece of text, because you need to specify where to save and then later after you're done, delete that file.

The only problem left with this new behaviour is Syntax highlighting, but as the user can do Edit->Highlighting mode (which is far less annoying than create a file and then having to delete it), it shouldn't be a problem.

2) In the new "context-menu" for new files, I suggest putting the "Empty file" at the top of the menu.

3) In the Start Here page, it says "Create a new project" and "Open a new project". Now it should say simply "Create" and "Open". :D

3) For the New from template dialog, make the dialog resizeable (as is now, I have to scroll to see all templates).

4) Create 16x16 or 20x20 icons for the templates, as in a few templates scrolling will become annoying.

5) Make the control a tree control, and include descriptions, plus the 16x16 or 20x20 icons above.
Example:


6) For the New from template dialog, make double-click work as in clicking "Go" or "Next".

That's it for now, little changes that helps a lot from an usability viewpoint. :)
« Last Edit: July 13, 2006, 07:10:25 am by Takeshi Miya »

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: Various bugs and comment about nightly 2729
« Reply #30 on: July 13, 2006, 09:10:30 am »
Quote
1)
As in other editors, when you click the "New file" button, you get an "Untitled" file, you write something, and you can discard it without having to create a file. This happens a lot, and if you want to save, you usually click the Save button.
It happens to be very uncomfortable when you only want to paste a piece of text, because you need to specify where to save and then later after you're done, delete that file.

The only problem left with this new behaviour is Syntax highlighting, but as the user can do Edit->Highlighting mode (which is far less annoying than create a file and then having to delete it), it shouldn't be a problem.

You 're right, this has been bugging me too.
Fortunately, the fix was easier than expected so it's implemented like this now ;)
The only side-effect is that the user is no longer asked to add the new file to the active project, since no new file really exists yet. But, I guess, this is no issue.

Quote
2) In the new "context-menu" for new files, I suggest putting the "Empty file" at the top of the menu.

Correct again. I don't know why I put it last...
Oh, and I assigned Ctrl-Shift-N again for "empty file" (down to 0 clicks now ;) ).
Be patient!
This bug will be fixed soon...

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1442
    • CenizaSOFT
Re: Various bugs and comment about nightly 2729
« Reply #31 on: July 13, 2006, 10:07:52 am »
Ctrl-Shift-N \o/

Thanks Don :)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5193
Re: Various bugs and comment about nightly 2729
« Reply #32 on: July 13, 2006, 10:18:25 am »
can we add the following as context menu when you right click in editor  : add to (the active) project. Then after the fast new file, if one decides it should be part of the project, you can add this way.

Or add to project and choose from the list that can be presented (in menu or dialog) ...

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2178
Re: Various bugs and comment about nightly 2729
« Reply #33 on: July 13, 2006, 12:52:25 pm »
<snip>
Oh, and I assigned Ctrl-Shift-N again for "empty file" (down to 0 clicks now ;) ).

This has turned out to be "plain ol' Excellent !"

I'm constantly snipping (stealing?) multiple pieces of code out of CodeBlocks and elsewhere to sandwich with another idea. (Billy G calls this inovation  :))

Having this temporary place (new/empty file) within CB to paste/save|delete|whatever is fast, convenient,pleasing to use, and just plain excellent.

thanks

sethjackson

  • Guest
Re: Various bugs and comment about nightly 2729
« Reply #34 on: July 13, 2006, 02:42:21 pm »
Awesome. :D Thanks again. :)  8)