Author Topic: Possible issue with SVN 7082  (Read 4285 times)

Offline jonas thomas

  • Multiple posting newcomer
  • *
  • Posts: 18
Possible issue with SVN 7082
« on: April 16, 2011, 04:06:58 am »
I'm trying to run down why I can't drag a file name into a code::blocks terminal and it no longer seems to be working...
Is it possible that something is broke with SVN 7082??
I can drag and drop when I execute from a terminal window directly...  Here is my test program...


Code
#include <iostream>
#include <string>
using namespace std;

int main()
{
    string testname;
    cout <<"Enter a file name:";
    getline(cin, testname);

    cout <<testname;
}

I'm running ubuntu 10.04 32 bit.

Got to get the kid to bed.

[EDIT...
I'm reasonably certain, but not positive, this issue started with SVN 7082 from a code::blocks update a day or two ago.  Could someone confirm that they have an issue also.  I'm more than willing to submit a bug report if someone else is getting this also.  My machine seems to be behaving oddly... I'm not sure if latest non-codeblock updates maybe contributing here.
Thanks..


« Last Edit: April 16, 2011, 05:17:48 am by jonas thomas »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Possible issue with SVN 7082
« Reply #1 on: April 16, 2011, 08:51:42 am »
I just tested it on my system (debian unstabel/experimental 64 bit with gnome3 and gnome-terminala as terminal-emulator) and it works fine here.
So it's not a C::B issue.

Which terminal do you use inside C::B (see "Settings -> Environment... -> General settings -> Terminal to launch ...") ?

Offline jonas thomas

  • Multiple posting newcomer
  • *
  • Posts: 18
Re: Possible issue with SVN 7082
« Reply #2 on: April 16, 2011, 12:36:13 pm »
xterm -T $TITLE -e

       -T string
               This option specifies the title for xterm's windows.  It is equivalent to -title.

       -e program [ arguments ... ]
               This  option  specifies the program (and its command line arguments) to be run in the xterm window.
               It also sets the window title and icon name to be the basename of the  program  being  executed  if
               neither -T nor -n are given on the command line.  This must be the last option on the command line.

Don't have gnome-terminala  but I do have gnome-terminal  (I'll give that go once I figure out settings).

If I change setting to this:
gnome-terminal -t $TITLE -x
I get the drag and drop to work from the file browser (Nautilus 2.30.1), but I get single quotes on the both ends for the file path.
So.. doesn't appear to be c:b.. Need to do some googling here. Thanks... Jen

[EDIT.. I think but am not positive there may be an issue with Nautilus update.. I needed to get assignments done, so I just coded around the issue I was having...
If someone googles themselves here.. I pursued this issue here: http://ubuntuforums.org/showthread.php?p=10683202#post10683202
Either I did something dumb or there is a critter... Either is possible ]


« Last Edit: April 16, 2011, 03:49:54 pm by jonas thomas »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Possible issue with SVN 7082
« Reply #3 on: April 16, 2011, 04:52:08 pm »
I use
Code
gnome-terminal  --disable-factory --hide-menubar -t $TITLE -x