Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

2 Bugs in svn 3736

(1/2) > >>

schoene:
Hello,

I encounter 2 bugs using C::B svn build rev 3736 (2007-03-21 08:22:53) gcc 4.0.3 Linux/unicode. Im Using Ubuntu 6.10.

1) Abbreviations:
--------------------------
I added an abbreviation for documenting my code. this is the code it should generate:

--- Code: ---//! |
/*!
    \param
    \return
    \see
*/
--- End code ---
However, when I close C::B and reopen it, this code is changed into

--- Code: ---//! |
/*!
    \param
   
eturn
    \see
*/
--- End code ---
probably the \r is parsed and replaced by a new-line? I have tried replacing \ by \\ but this did not work.

2) switching files using the mouse
--------------------------------------
When I have several files open in C::B, and I switch files by clicking on the tabs, sometimes (actually very often) the mouse-cursor changes into the cursor to copy a file somewhere else (for example dragging an icon on your desktop while pressing the control-key) , and Gnome hangs completely. I have to restart Gnome using Ctrl-Alt-Backspace before I can continue using my computer. Sometimes Gnome does not hang, and I can reset the mouse by pressing Alt-F to activate the menu in C::B. This bug was allready present in C::B-versions in January.

Pecan:

--- Quote from: schoene on March 24, 2007, 12:09:29 pm ---
2) switching files using the mouse
--------------------------------------
When I have several files open in C::B, and I switch files by clicking on the tabs, sometimes (actually very often) the mouse-cursor changes into the cursor to copy a file somewhere else (for example dragging an icon on your desktop while pressing the control-key) , and Gnome hangs completely. I have to restart Gnome using Ctrl-Alt-Backspace before I can continue using my computer. Sometimes Gnome does not hang, and I can reset the mouse by pressing Alt-F to activate the menu in C::B. This bug was allready present in C::B-versions in January.


--- End quote ---


--- Quote from: Pecan on November 13, 2006, 08:45:20 pm ---
--- Quote from: nzoltan on November 13, 2006, 06:12:44 pm ---
--- Quote from: Pecan on November 13, 2006, 01:08:53 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.

--- End quote ---

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


--- End quote ---
You would compile wxWidgets yourself and set the define in setup.h to 0

--- Code: ---#define wxUSE_DRAG_AND_DROP 1

--- End code ---

This might cause other side effects.

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



--- End quote ---

Pecan:

--- Quote from: schoene on March 24, 2007, 12:09:29 pm ---1) Abbreviations:
--------------------------
I added an abbreviation for documenting my code. this is the code it should generate:

--- Code: ---//! |
/*!
    \param
    \return
    \see
*/
--- End code ---
However, when I close C::B and reopen it, this code is changed into

--- Code: ---//! |
/*!
    \param
   
eturn
    \see
*/
--- End code ---
probably the \r is parsed and replaced by a new-line? I have tried replacing \ by \\ but this did not work.


--- End quote ---

I was unable to recreate your first reported bug. I pasted your example into a test abbreviation and it worked.

MSWindows


Linux

Pecan:
Sorry, you're right. This bug appeared somewhere between svn 3676 and 3736

Pecan:
It's broken in Linux 3709 also. Will revert further...
Also broken in Linux 3688. Reverting further...
Also broken in Linux 3682... It happens when CB closes. It's mangling the abbreviation when saving the conf.

Navigation

[0] Message Index

[#] Next page

Go to full version