Author Topic: The 10 november 2006 build is out.  (Read 28863 times)

Offline rjmyst3

  • Multiple posting newcomer
  • *
  • Posts: 117
    • wxFormBuilder
Re: The 10 november 2006 build is out.
« Reply #30 on: November 13, 2006, 01:51:36 pm »
Quote
This is a wxWidgets to GTK communications bug in drag&drop.
This may be true, but I've only seen this on wxFlatNotebook - not on wxScintilla, for example. And I remember reading about a change to wxScintilla to improve drag&drop handling to prevent this in GTK.

I don't know much about coding drag&drop, but perhaps the handling could be improved in wxFlatNotebook?

Offline dje

  • Lives here!
  • ****
  • Posts: 683
Re: The 10 november 2006 build is out.
« Reply #31 on: November 13, 2006, 03:15:45 pm »
Hi !!

I found a (small) GUI bug.
- Activate Script console (View->Script console must be checked)
- In Messages notebook, right-click on Script console and click on Show/hide->Script console
- Right-click on any of the messages tab, Script console is not checked.
- Click on View menu, Script console is checked. The first click on it does nothing, the second re-enable it.

Dje

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5193
Re: The 10 november 2006 build is out.
« Reply #32 on: November 13, 2006, 05:06:45 pm »
Hi !!

I found a (small) GUI bug.
- Activate Script console (View->Script console must be checked)
- In Messages notebook, right-click on Script console and click on Show/hide->Script console
- Right-click on any of the messages tab, Script console is not checked.
- Click on View menu, Script console is checked. The first click on it does nothing, the second re-enable it.

Dje

thanks for the feedback, could you please file this bug report at berlios project page.

This applies to all other people who are providing us with bug reports, since in the forum they will get lost, but on the bug tracker on the project page, they will survive and get their needed attention.
Thanks to everyone !!!

Offline dje

  • Lives here!
  • ****
  • Posts: 683
Re: The 10 november 2006 build is out.
« Reply #33 on: November 13, 2006, 05:18:58 pm »
That's what I thought and did just after...
Bug ID 009438 !

Dje

Offline nzoltan

  • Multiple posting newcomer
  • *
  • Posts: 39
Re: The 10 november 2006 build is out.
« Reply #34 on: November 13, 2006, 06:12:44 pm »
This is a wxWidgets to GTK communications bug in drag&drop.
Not much CodeBlocks can do about it except turn off drag&drop on linux.

How can I disable drag&drop in GNOME? Please help me...  :(

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2180
Re: The 10 november 2006 build is out.
« Reply #35 on: November 13, 2006, 08:45:20 pm »
This is a wxWidgets to GTK communications bug in drag&drop.
Not much CodeBlocks can do about it except turn off drag&drop on linux.

How can I disable drag&drop in GNOME? Please help me...  :(

You would compile wxWidgets yourself and set the define in setup.h to 0
Code: [Select]
#define wxUSE_DRAG_AND_DROP 1

This might cause other side effects.

If its just wxFlatNotebook thats the problem, you could compile it with the wxFNB_NODRAG flag.

« Last Edit: November 13, 2006, 08:55:54 pm by Pecan »

Offline nzoltan

  • Multiple posting newcomer
  • *
  • Posts: 39
Re: The 10 november 2006 build is out.
« Reply #36 on: November 13, 2006, 09:11:57 pm »
If its just wxFlatNotebook thats the problem, you could compile it with the wxFNB_NODRAG flag.

<OFF>
I never develop wWindows before
</OFF>

Thanks. I found the wxFNB_NODRAG but have a magic value (0x80). Therefore if I comment out lines between 1300 and 1308 in wxFlatNotebook.cpp (codeblocks source tree), it will enough?
« Last Edit: November 13, 2006, 09:13:58 pm by nzoltan »

Offline rjmyst3

  • Multiple posting newcomer
  • *
  • Posts: 117
    • wxFormBuilder
Re: The 10 november 2006 build is out.
« Reply #37 on: November 13, 2006, 09:23:39 pm »
Quote
Thanks. I found the wxFNB_NODRAG but have a magic value (0x80). Therefore if I comment out lines between 1300 and 1308 in wxFlatNotebook.cpp (codeblocks source tree), it will enough?

no, you'd need to find all of the wxFlatNotebook constructors in the code::blocks source code, and pass the wxFNB_NODRAG flag in them.
example,

before:
Code: [Select]
wxFlatNotebook* m_editor = new wxFlatNotebook( this, -1, wxDefaultPosition, wxDefaultSize, wxFNB_SMART_TABS | wxFNB_VC8 );

after:
Code: [Select]
wxFlatNotebook* m_editor = new wxFlatNotebook( this, -1, wxDefaultPosition, wxDefaultSize, wxFNB_SMART_TABS | wxFNB_VC8 | wxFNB_NODRAG );

Then, recompile code::blocks

Offline nzoltan

  • Multiple posting newcomer
  • *
  • Posts: 39
Re: The 10 november 2006 build is out.
« Reply #38 on: November 13, 2006, 11:28:04 pm »
no, you'd need to find all of the wxFlatNotebook constructors in the code::blocks source code, and pass the wxFNB_NODRAG flag in them.
example,

Thanks, success! C::B is now stable.  :)

Offline gjsmo

  • Multiple posting newcomer
  • *
  • Posts: 28
  • i luv computers
    • My Blog
Re: The 10 november 2006 build is out.
« Reply #39 on: November 14, 2006, 01:29:55 am »
I use this build on ubuntu edgy, and it said "incomplete entry on line 40, /etc/maincap" at startup, does any one know if it is my problem or somewhere else?

You have have a problem in that file. If I recall correctly it's actually wxWidgets that creates that error because I had the same problem with FileZilla 3 (which also uses wxWidgets).

I had a line something like this in /etc/mailcap (in the error line):

Code: [Select]
application/x-emerald-theme
        ext: emerald

I removed those two lines and the error disappeared. Remember to backup the file before deleting anything from it though.
Never delete anything - comment it out by adding a # (hash mark) at the beginning of the line
http://www.danasoft.com/sig/gjsmo.jpg i luv linux.
There are 10 types of people in this world - those who understand binary and those who don't.
oh yeah: "I didn't really say everything I said."      -Yogi Berra

Offline gjsmo

  • Multiple posting newcomer
  • *
  • Posts: 28
  • i luv computers
    • My Blog
Re: The 10 november 2006 build is out.
« Reply #40 on: November 14, 2006, 01:35:56 am »
It would be nice if this was fixed, as artoj has already given fixes for it as of January 10th.

Huh? I _reported_ the bug on 10th of January. The reason why this isn't fixed yet is because we don't know what the specific problem with these toolbar images is. And the menu images... well, I think we'll have to live with that problem a long time:

Screenshot 1

Screenshot 2

(And yes, the toolbars work correctly on those images)


Could someone with proper rights to the SF.net project page close these bugs because they are now fixed:

1401383 
1401376

Thanks for killerbot for creating the patches (and devs for applying them). :)
Is not this saying that the bugs are fixed?
http://www.danasoft.com/sig/gjsmo.jpg i luv linux.
There are 10 types of people in this world - those who understand binary and those who don't.
oh yeah: "I didn't really say everything I said."      -Yogi Berra

Offline artoj

  • Almost regular
  • **
  • Posts: 206
  • Location: Supporting my team
    • http://ajonsson.kapsi.fi/
Re: The 10 november 2006 build is out.
« Reply #41 on: November 14, 2006, 09:23:53 am »
Huh? I _reported_ the bug on 10th of January. The reason why this isn't fixed yet is because we don't know what the specific problem with these toolbar images is. And the menu images... well, I think we'll have to live with that problem a long time:

Screenshot 1

Screenshot 2

(And yes, the toolbars work correctly on those images)

These images are on Windows Vista which correctly shows the toolbar images. The problem happens on XP.

Quote
Could someone with proper rights to the SF.net project page close these bugs because they are now fixed:

1401383 
1401376

Thanks for killerbot for creating the patches (and devs for applying them). :)
Is not this saying that the bugs are fixed?

Those 2 were different bugs (nothing to do with the toolbars).
« Last Edit: November 14, 2006, 10:15:55 am by artoj »