Re: Drag and drop image files to LyX

2012-06-08 Thread Richard Heck

On 06/08/2012 01:17 PM, Horacio Pérez wrote:

Is it possible somehow to drag and drop image files to LyX?

Not at the moment, I don't think, though feel free to file an 
enhancement request. It probably wouldn't be all that hard to make this 
work.


rh



Re: Drag and drop image files to LyX

2012-06-08 Thread Ray Rashif
On 9 June 2012 02:16, Richard Heck rgh...@comcast.net wrote:
 On 06/08/2012 01:17 PM, Horacio Pérez wrote:

 Is it possible somehow to drag and drop image files to LyX?

 Not at the moment, I don't think, though feel free to file an enhancement
 request. It probably wouldn't be all that hard to make this work.

But you'd be surprised what actually works. This normally should work
if you copy from an application that treats the image as an object,
i.e not from the desktop or file manager, or an image viewer.

In simple terms, copy image from file manager or desktop, paste in a
normal word processor, copy that, paste in LyX. This, of course, if
you don't wanna have to organise anything into your LyX project dir
for use when you click the insert image button.

Today I pasted a dozen images like that with 2 windows split side by
side, and LyX even allowed me to insert a sub-float, 2 by 2 forming a
4-image figure. Just amazing, or maybe my expectations were too low :D


--
GPG/PGP ID: C0711BF1


RE: Drag and drop image files to LyX

2012-06-08 Thread Scott Kostyshak
From: Richard Heck [rgh...@comcast.net]
Sent: Friday, June 08, 2012 2:16 PM

Not at the moment, I don't think, though feel free to file an
enhancement request. It probably wouldn't be all that hard to make this
work.

There is an enhancement request already filed that has a patch:
http://www.lyx.org/trac/ticket/4017

I haven't tested it and it looks to be forgotten, but I'm guessing there's a 
chance of seeing this feature in 2.1.

Scott

Re: Drag and drop image files to LyX

2012-06-08 Thread Richard Heck

On 06/08/2012 01:17 PM, Horacio Pérez wrote:

Is it possible somehow to drag and drop image files to LyX?

Not at the moment, I don't think, though feel free to file an 
enhancement request. It probably wouldn't be all that hard to make this 
work.


rh



Re: Drag and drop image files to LyX

2012-06-08 Thread Ray Rashif
On 9 June 2012 02:16, Richard Heck rgh...@comcast.net wrote:
 On 06/08/2012 01:17 PM, Horacio Pérez wrote:

 Is it possible somehow to drag and drop image files to LyX?

 Not at the moment, I don't think, though feel free to file an enhancement
 request. It probably wouldn't be all that hard to make this work.

But you'd be surprised what actually works. This normally should work
if you copy from an application that treats the image as an object,
i.e not from the desktop or file manager, or an image viewer.

In simple terms, copy image from file manager or desktop, paste in a
normal word processor, copy that, paste in LyX. This, of course, if
you don't wanna have to organise anything into your LyX project dir
for use when you click the insert image button.

Today I pasted a dozen images like that with 2 windows split side by
side, and LyX even allowed me to insert a sub-float, 2 by 2 forming a
4-image figure. Just amazing, or maybe my expectations were too low :D


--
GPG/PGP ID: C0711BF1


RE: Drag and drop image files to LyX

2012-06-08 Thread Scott Kostyshak
From: Richard Heck [rgh...@comcast.net]
Sent: Friday, June 08, 2012 2:16 PM

Not at the moment, I don't think, though feel free to file an
enhancement request. It probably wouldn't be all that hard to make this
work.

There is an enhancement request already filed that has a patch:
http://www.lyx.org/trac/ticket/4017

I haven't tested it and it looks to be forgotten, but I'm guessing there's a 
chance of seeing this feature in 2.1.

Scott

Re: Drag and drop image files to LyX

2012-06-08 Thread Richard Heck

On 06/08/2012 01:17 PM, Horacio Pérez wrote:

Is it possible somehow to drag and drop image files to LyX?

Not at the moment, I don't think, though feel free to file an 
enhancement request. It probably wouldn't be all that hard to make this 
work.


rh



Re: Drag and drop image files to LyX

2012-06-08 Thread Ray Rashif
On 9 June 2012 02:16, Richard Heck  wrote:
> On 06/08/2012 01:17 PM, Horacio Pérez wrote:
>>
>> Is it possible somehow to drag and drop image files to LyX?
>>
> Not at the moment, I don't think, though feel free to file an enhancement
> request. It probably wouldn't be all that hard to make this work.

But you'd be surprised what actually works. This normally should work
if you copy from an application that treats the image as an object,
i.e not from the desktop or file manager, or an image viewer.

In simple terms, copy image from file manager or desktop, paste in a
normal word processor, copy that, paste in LyX. This, of course, if
you don't wanna have to organise anything into your LyX project dir
for use when you click the insert image button.

Today I pasted a dozen images like that with 2 windows split side by
side, and LyX even allowed me to insert a sub-float, 2 by 2 forming a
4-image figure. Just amazing, or maybe my expectations were too low :D


--
GPG/PGP ID: C0711BF1


RE: Drag and drop image files to LyX

2012-06-08 Thread Scott Kostyshak
From: Richard Heck [rgh...@comcast.net]
Sent: Friday, June 08, 2012 2:16 PM

>Not at the moment, I don't think, though feel free to file an
>enhancement request. It probably wouldn't be all that hard to make this
>work.

There is an enhancement request already filed that has a patch:
http://www.lyx.org/trac/ticket/4017

I haven't tested it and it looks to be forgotten, but I'm guessing there's a 
chance of seeing this feature in 2.1.

Scott

Re: Drag and drop text support on Lyx 1.6.6.1

2010-06-23 Thread Helge Hafting

On 22. juni 2010 18:11, Jose A. Rodrigo wrote:

Hi!!

First of all congratulations for this useful program and brilliant
project!!

It is not possible to drag-and-drop text (just by selecting it with
mouse pointer) like other text processors i.e. OpenWriter. Do you know
when this feature will be added to lyx? I think that it will be very
useful for many users. It will be great if this option is available for
equation editing as well. Up to now I used copy and paste shortcuts.


LyX has copy+paste using mouse only - at least on linux:

1. Mark the text to be copied
2. Move the mouse to where you want to copy it
3. Press the middle mouse button. (Or both buttons, if your mouse
   only have two buttons.)

Dragging a marked is something I don't miss. The keyboard shortcuts are 
usually much faster than using the mouse - once you get used to them.


The reason: One has to take a hand off the keyboard, and aim the mouse 
carefully. And then move the hand back to the keyboard again. When 
writing, the hands are on the keyboard by default.


None of this is necessary when using keyboard shortcuts. Cut/copy, a few 
cursor keys, paste. It is the faster way in openoffice too,

for that matter.

There is even a disadvantage to text dragging - it makes selecting 
trickier. In LyX, if you select wrong, you can select again immediately. 
You can even re-start selection in the middle of the existing selection. 
This is possible only because selection dragging is not implemented. 
Some mice has limited precision, and occationally mis-selects. Easy to 
fix when there is no dragging.


When there is selection dragging, there is the problem of dropping the 
selection in the wrong place, and the work of fixing that. This don't 
happen with a keyboard paste - you don't paste until the cursor is in 
the right place. But it is easy to loose the mouse button momentarily - 
at least with some mice.


Helge Hafting


Re: Drag and drop text support on Lyx 1.6.6.1

2010-06-23 Thread Helge Hafting

On 22. juni 2010 18:11, Jose A. Rodrigo wrote:

Hi!!

First of all congratulations for this useful program and brilliant
project!!

It is not possible to drag-and-drop text (just by selecting it with
mouse pointer) like other text processors i.e. OpenWriter. Do you know
when this feature will be added to lyx? I think that it will be very
useful for many users. It will be great if this option is available for
equation editing as well. Up to now I used copy and paste shortcuts.


LyX has copy+paste using mouse only - at least on linux:

1. Mark the text to be copied
2. Move the mouse to where you want to copy it
3. Press the middle mouse button. (Or both buttons, if your mouse
   only have two buttons.)

Dragging a marked is something I don't miss. The keyboard shortcuts are 
usually much faster than using the mouse - once you get used to them.


The reason: One has to take a hand off the keyboard, and aim the mouse 
carefully. And then move the hand back to the keyboard again. When 
writing, the hands are on the keyboard by default.


None of this is necessary when using keyboard shortcuts. Cut/copy, a few 
cursor keys, paste. It is the faster way in openoffice too,

for that matter.

There is even a disadvantage to text dragging - it makes selecting 
trickier. In LyX, if you select wrong, you can select again immediately. 
You can even re-start selection in the middle of the existing selection. 
This is possible only because selection dragging is not implemented. 
Some mice has limited precision, and occationally mis-selects. Easy to 
fix when there is no dragging.


When there is selection dragging, there is the problem of dropping the 
selection in the wrong place, and the work of fixing that. This don't 
happen with a keyboard paste - you don't paste until the cursor is in 
the right place. But it is easy to loose the mouse button momentarily - 
at least with some mice.


Helge Hafting


Re: Drag and drop text support on Lyx 1.6.6.1

2010-06-23 Thread Helge Hafting

On 22. juni 2010 18:11, Jose A. Rodrigo wrote:

Hi!!

First of all congratulations for this useful program and brilliant
project!!

It is not possible to drag-and-drop text (just by selecting it with
mouse pointer) like other text processors i.e. OpenWriter. Do you know
when this feature will be added to lyx? I think that it will be very
useful for many users. It will be great if this option is available for
equation editing as well. Up to now I used copy and paste shortcuts.


LyX has copy+paste using mouse only - at least on linux:

1. Mark the text to be copied
2. Move the mouse to where you want to copy it
3. Press the middle mouse button. (Or both buttons, if your mouse
   only have two buttons.)

Dragging a marked is something I don't miss. The keyboard shortcuts are 
usually much faster than using the mouse - once you get used to them.


The reason: One has to take a hand off the keyboard, and aim the mouse 
carefully. And then move the hand back to the keyboard again. When 
writing, the hands are on the keyboard by default.


None of this is necessary when using keyboard shortcuts. Cut/copy, a few 
cursor keys, paste. It is the faster way in openoffice too,

for that matter.

There is even a disadvantage to text dragging - it makes selecting 
trickier. In LyX, if you select wrong, you can select again immediately. 
You can even re-start selection in the middle of the existing selection. 
This is possible only because selection dragging is not implemented. 
Some mice has limited precision, and occationally mis-selects. Easy to 
fix when there is no dragging.


When there is selection dragging, there is the problem of dropping the 
selection in the wrong place, and the work of fixing that. This don't 
happen with a keyboard paste - you don't paste until the cursor is in 
the right place. But it is easy to loose the mouse button momentarily - 
at least with some mice.


Helge Hafting


Re: Drag and drop text support on Lyx 1.6.6.1

2010-06-22 Thread Steve Litt
On Tuesday 22 June 2010 12:11:57 Jose A. Rodrigo wrote:
 Hi!!
 
 First of all congratulations for this useful program and brilliant
  project!!
 
 It is not possible to drag-and-drop text (just by selecting it with
 mouse pointer) like other text processors i.e. OpenWriter. Do you know
 when this feature will be added to lyx? I think that it will be very
 useful for many users. It will be great if this option is available for
 equation editing as well. Up to now I used copy and paste shortcuts.
 
 
 Many thanks!
 Jose

If you all do implement this feature, please include a switch to turn it off. 
Personally I'd prefer it be turned off by default, and if it's turned on by 
default, please widely publicize the change.

The way I work, dragging and dropping of text is a sure way to garble a 
document.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Drag and drop text support on Lyx 1.6.6.1

2010-06-22 Thread Richard Heck



On Tuesday 22 June 2010 12:11:57 Jose A. Rodrigo wrote:
   

Hi!!

First of all congratulations for this useful program and brilliant
  project!!

It is not possible to drag-and-drop text (just by selecting it with
mouse pointer) like other text processors i.e. OpenWriter. Do you know
when this feature will be added to lyx? I think that it will be very
useful for many users. It will be great if this option is available for
equation editing as well. Up to now I used copy and paste shortcuts.

 
You're welcome to file an enhancement request for this on the bug 
reporter, at

http://www.lyx.org/trac/wiki/BugTrackerHome
When it might get done would depend upon whether someone feels compelled 
to do it. Of course, you could always do it yourself


Richard



Re: Drag and drop text support on Lyx 1.6.6.1

2010-06-22 Thread Marcelo Acuña
  It is not possible to drag-and-drop text (just by
 selecting it with
  mouse pointer) like other text processors i.e.
 OpenWriter. Do you know
  when this feature will be added to lyx? I think that
 it will be very
  useful for many users. It will be great if this option
 is available for
  equation editing as well. Up to now I used copy and
 paste shortcuts.

 I can't see any advantages for mouse drag-and-drop text against copy and paste 
with shortcuts.

Regards
Marcelo





Re: Drag and drop text support on Lyx 1.6.6.1

2010-06-22 Thread Rich Shepard

On Tue, 22 Jun 2010, Marcelo Acuña wrote:


I can't see any advantages for mouse drag-and-drop text against copy and
paste with shortcuts.


  Perhaps only for those who are not touch-typists and used to using the
pointy device for everything.

Rich


Re: Drag and drop text support on Lyx 1.6.6.1

2010-06-22 Thread Steve Litt
On Tuesday 22 June 2010 12:11:57 Jose A. Rodrigo wrote:
 Hi!!
 
 First of all congratulations for this useful program and brilliant
  project!!
 
 It is not possible to drag-and-drop text (just by selecting it with
 mouse pointer) like other text processors i.e. OpenWriter. Do you know
 when this feature will be added to lyx? I think that it will be very
 useful for many users. It will be great if this option is available for
 equation editing as well. Up to now I used copy and paste shortcuts.
 
 
 Many thanks!
 Jose

If you all do implement this feature, please include a switch to turn it off. 
Personally I'd prefer it be turned off by default, and if it's turned on by 
default, please widely publicize the change.

The way I work, dragging and dropping of text is a sure way to garble a 
document.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Drag and drop text support on Lyx 1.6.6.1

2010-06-22 Thread Richard Heck



On Tuesday 22 June 2010 12:11:57 Jose A. Rodrigo wrote:
   

Hi!!

First of all congratulations for this useful program and brilliant
  project!!

It is not possible to drag-and-drop text (just by selecting it with
mouse pointer) like other text processors i.e. OpenWriter. Do you know
when this feature will be added to lyx? I think that it will be very
useful for many users. It will be great if this option is available for
equation editing as well. Up to now I used copy and paste shortcuts.

 
You're welcome to file an enhancement request for this on the bug 
reporter, at

http://www.lyx.org/trac/wiki/BugTrackerHome
When it might get done would depend upon whether someone feels compelled 
to do it. Of course, you could always do it yourself


Richard



Re: Drag and drop text support on Lyx 1.6.6.1

2010-06-22 Thread Marcelo Acuña
  It is not possible to drag-and-drop text (just by
 selecting it with
  mouse pointer) like other text processors i.e.
 OpenWriter. Do you know
  when this feature will be added to lyx? I think that
 it will be very
  useful for many users. It will be great if this option
 is available for
  equation editing as well. Up to now I used copy and
 paste shortcuts.

 I can't see any advantages for mouse drag-and-drop text against copy and paste 
with shortcuts.

Regards
Marcelo





Re: Drag and drop text support on Lyx 1.6.6.1

2010-06-22 Thread Rich Shepard

On Tue, 22 Jun 2010, Marcelo Acuña wrote:


I can't see any advantages for mouse drag-and-drop text against copy and
paste with shortcuts.


  Perhaps only for those who are not touch-typists and used to using the
pointy device for everything.

Rich


Re: Drag and drop text support on Lyx 1.6.6.1

2010-06-22 Thread Steve Litt
On Tuesday 22 June 2010 12:11:57 Jose A. Rodrigo wrote:
> Hi!!
> 
> First of all congratulations for this useful program and brilliant
>  project!!
> 
> It is not possible to drag-and-drop text (just by selecting it with
> mouse pointer) like other text processors i.e. OpenWriter. Do you know
> when this feature will be added to lyx? I think that it will be very
> useful for many users. It will be great if this option is available for
> equation editing as well. Up to now I used copy and paste shortcuts.
> 
> 
> Many thanks!
> Jose

If you all do implement this feature, please include a switch to turn it off. 
Personally I'd prefer it be turned off by default, and if it's turned on by 
default, please widely publicize the change.

The way I work, dragging and dropping of text is a sure way to garble a 
document.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Drag and drop text support on Lyx 1.6.6.1

2010-06-22 Thread Richard Heck



On Tuesday 22 June 2010 12:11:57 Jose A. Rodrigo wrote:
   

Hi!!

First of all congratulations for this useful program and brilliant
  project!!

It is not possible to drag-and-drop text (just by selecting it with
mouse pointer) like other text processors i.e. OpenWriter. Do you know
when this feature will be added to lyx? I think that it will be very
useful for many users. It will be great if this option is available for
equation editing as well. Up to now I used copy and paste shortcuts.

 
You're welcome to file an enhancement request for this on the bug 
reporter, at

http://www.lyx.org/trac/wiki/BugTrackerHome
When it might get done would depend upon whether someone feels compelled 
to do it. Of course, you could always do it yourself


Richard



Re: Drag and drop text support on Lyx 1.6.6.1

2010-06-22 Thread Marcelo Acuña
> > It is not possible to drag-and-drop text (just by
> selecting it with
> > mouse pointer) like other text processors i.e.
> OpenWriter. Do you know
> > when this feature will be added to lyx? I think that
> it will be very
> > useful for many users. It will be great if this option
> is available for
> > equation editing as well. Up to now I used copy and
> paste shortcuts.

 I can't see any advantages for mouse drag-and-drop text against copy and paste 
with shortcuts.

Regards
Marcelo





Re: Drag and drop text support on Lyx 1.6.6.1

2010-06-22 Thread Rich Shepard

On Tue, 22 Jun 2010, Marcelo Acuña wrote:


I can't see any advantages for mouse drag-and-drop text against copy and
paste with shortcuts.


  Perhaps only for those who are not touch-typists and used to using the
pointy device for everything.

Rich


Re: Drag and Drop

2009-08-06 Thread Helge Hafting

Johannes Knaus wrote:
First of all, I simply didn't realize that mouse drag'n'drop did not 
work in Lyx and thought this could maybe a platform specific issue, not 
a general one.



On Fri, 2009-07-31 at 11:43 -0400, Michael Joyner:

Drag and drop text is one the most annoying things I have found with
word processors.
It is too easy to do it by accident, not notice, and output garbage
for people to read.



I can't imagine how one could mark some text with the mouse 
hold-and-click it and drag it around by accident.


Openoffice do this now and then. Firefox is very prone to this problem, 
but there it doesn't matter as you aren't actually editing the website.


This is what happens:

1. User selects something with the mouse (click+drag+release)
2. User notices that the selection is slightly wrong. Maybe there is
   a letter too much or too little selected.
3. User tries to re-do the selection. (click+drag). The selection
   is supposed to start in the _same_ position, so it is very easy
   to accidentally grab the wrongly selected text.
4. Seeing things go wrong, the user release the mouse button
   and the text lands somewhere. :-(

5. The smart user does an angry undo, the not so smart try editing
   the document into shape again, the ignorant don't notice what
   happened, and merely select the text to be copied and goes on with
   that.



I think the discussion on going on here is somewhat dogmatic. Many 
people use Ctrl+X and then Ctrl+V to shift textparts around. That's o.k. 
and that's what I do as I have no other chance in Lyx to do this.
My point is: Drag and drop is something many Mac Users (I am one) and 
Windows users may be very used to in everyday work. So implementing this 
feature would make Lyx a little easier to work with when you are new to 
Lyx.


If it can be done so that it isn't so accident prone - fine.


Those who don't like drag and drop are not forced to use it, it would be 
just another editing option (maybe to be activated or deactivated via 
GUI). Still, I don't see the problem in having this feature – if you 
want to use it, use it, if not, don't. I don't think this can create any 
trouble by accident.


See above. I do use the mouse for selections now and then, even if I use
ctrl+c and ctrl+v to do the copying. Of course, LyX normally uses a nice 
large font, so it is somewhat less vulnerable to mis-selection.


It certainly would be a problem, if implementing this feature really 
costs a lot of time. I simply don't know this as I'm not a programmer.



Mouse marking is already implemented. So is copy and cut.
So all it takes is to recognise that the user tries to drag the 
selection, and drop it somewhere. LyX could then:


1. Change the mouse cursor to a drag text cursor, when the drag
   starts.
2. Use the existing copy code that gets called upon ctrl+c.
3. Move the cursor as if the user had clicked the drop location
4. Use the existing paste code as if the user typed ctrl+v

A copy drag might be easy. A move drag may be trickier, as the 
window changes upon cut. The drop location then moves from where

the pointer is.

Perhaps the cut should be done at the beginning of the drag,
so that the drop location will be valid. On the other hand, that
makes aborting the drag harder instead.

Helge Hafting


Re: Drag and Drop

2009-08-06 Thread Nikos Alexandris
JFYI,

gedit (GNOME's default text editor) has the Alt+Arrow(s) option to move
selected line_s_ of text. I find it very convenient.

Nikos



Re: Drag and Drop

2009-08-06 Thread Marcelo Acuña

 Drag and drop text is one the most annoying
 things I have found with
 word processors.
 It is too easy to do it by accident, not notice,
 and output garbage for people to read.

 I can't imagine how one could mark some text with the mouse hold-and-click it 
 and drag it around by accident.

 It is easy. By accident! It happens constantly of many forms.
 Regards
Marcelo


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Re: Drag and Drop

2009-08-06 Thread Johannes Knaus

Am 06.08.2009 um 13:32 schrieb Nikos Alexandris:


JFYI,

gedit (GNOME's default text editor) has the Alt+Arrow(s) option to  
move

selected line_s_ of text. I find it very convenient.

Nikos



This could be a nice alternative IMHO.

Surely, another shortcut is needed, as Alt+Arrow is jump to the end  
of the next word on the Mac.

So Ctrl+arrow and Alt+arrow do the same right now on a Mac.

Johannes




Re: Drag and Drop

2009-08-06 Thread Johannes Knaus

Well, the thing with the shortcuts:

Ubuntu: Ctrl+X == Mac: Cmd+X (=the Command-Key, old Mac users still  
call it Apple-Key although there is no Apple on it any more but a  
kind of knot)

and so on.

Ah:
I just tried it in Lyx on MacOSX:
Alt+arrow and Ctrl+arrow do the same thing in Lyx.

In Openoffice on MacOSX they behave differently (right arrow here):
Alt+arrow == jump to the end of the next word
Ctrl+arrow == no function, just as arrows alone
Command+arrow == jump to end of the line

Anyway, when I work with the GIMP on a Mac I have to use Ctrl+X  
instead of Cmd+X, as GIMP runs in a seperate X.org on a Mac.


My Mac-only Editor uses Ctrl/Cmd or Alt+X to jump to the line endings.

I have to learn shortcuts for each App. And when I switch Apps or even  
more when I switch OSes (what I frequently do: I work on a Mac, in the  
Lab we've got a WindowsXP-PC and my Netbook is running Ubuntu) I mix  
it up frequently.


So maybe that's why I prefer to use a mouse: Every program uses  
different shortcuts but the mouse (nearly) always does what I intend.


Greets,
Johannes






Re: Drag and Drop

2009-08-06 Thread Helge Hafting

Johannes Knaus wrote:
First of all, I simply didn't realize that mouse drag'n'drop did not 
work in Lyx and thought this could maybe a platform specific issue, not 
a general one.



On Fri, 2009-07-31 at 11:43 -0400, Michael Joyner:

Drag and drop text is one the most annoying things I have found with
word processors.
It is too easy to do it by accident, not notice, and output garbage
for people to read.



I can't imagine how one could mark some text with the mouse 
hold-and-click it and drag it around by accident.


Openoffice do this now and then. Firefox is very prone to this problem, 
but there it doesn't matter as you aren't actually editing the website.


This is what happens:

1. User selects something with the mouse (click+drag+release)
2. User notices that the selection is slightly wrong. Maybe there is
   a letter too much or too little selected.
3. User tries to re-do the selection. (click+drag). The selection
   is supposed to start in the _same_ position, so it is very easy
   to accidentally grab the wrongly selected text.
4. Seeing things go wrong, the user release the mouse button
   and the text lands somewhere. :-(

5. The smart user does an angry undo, the not so smart try editing
   the document into shape again, the ignorant don't notice what
   happened, and merely select the text to be copied and goes on with
   that.



I think the discussion on going on here is somewhat dogmatic. Many 
people use Ctrl+X and then Ctrl+V to shift textparts around. That's o.k. 
and that's what I do as I have no other chance in Lyx to do this.
My point is: Drag and drop is something many Mac Users (I am one) and 
Windows users may be very used to in everyday work. So implementing this 
feature would make Lyx a little easier to work with when you are new to 
Lyx.


If it can be done so that it isn't so accident prone - fine.


Those who don't like drag and drop are not forced to use it, it would be 
just another editing option (maybe to be activated or deactivated via 
GUI). Still, I don't see the problem in having this feature – if you 
want to use it, use it, if not, don't. I don't think this can create any 
trouble by accident.


See above. I do use the mouse for selections now and then, even if I use
ctrl+c and ctrl+v to do the copying. Of course, LyX normally uses a nice 
large font, so it is somewhat less vulnerable to mis-selection.


It certainly would be a problem, if implementing this feature really 
costs a lot of time. I simply don't know this as I'm not a programmer.



Mouse marking is already implemented. So is copy and cut.
So all it takes is to recognise that the user tries to drag the 
selection, and drop it somewhere. LyX could then:


1. Change the mouse cursor to a drag text cursor, when the drag
   starts.
2. Use the existing copy code that gets called upon ctrl+c.
3. Move the cursor as if the user had clicked the drop location
4. Use the existing paste code as if the user typed ctrl+v

A copy drag might be easy. A move drag may be trickier, as the 
window changes upon cut. The drop location then moves from where

the pointer is.

Perhaps the cut should be done at the beginning of the drag,
so that the drop location will be valid. On the other hand, that
makes aborting the drag harder instead.

Helge Hafting


Re: Drag and Drop

2009-08-06 Thread Nikos Alexandris
JFYI,

gedit (GNOME's default text editor) has the Alt+Arrow(s) option to move
selected line_s_ of text. I find it very convenient.

Nikos



Re: Drag and Drop

2009-08-06 Thread Marcelo Acuña

 Drag and drop text is one the most annoying
 things I have found with
 word processors.
 It is too easy to do it by accident, not notice,
 and output garbage for people to read.

 I can't imagine how one could mark some text with the mouse hold-and-click it 
 and drag it around by accident.

 It is easy. By accident! It happens constantly of many forms.
 Regards
Marcelo


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Re: Drag and Drop

2009-08-06 Thread Johannes Knaus

Am 06.08.2009 um 13:32 schrieb Nikos Alexandris:


JFYI,

gedit (GNOME's default text editor) has the Alt+Arrow(s) option to  
move

selected line_s_ of text. I find it very convenient.

Nikos



This could be a nice alternative IMHO.

Surely, another shortcut is needed, as Alt+Arrow is jump to the end  
of the next word on the Mac.

So Ctrl+arrow and Alt+arrow do the same right now on a Mac.

Johannes




Re: Drag and Drop

2009-08-06 Thread Johannes Knaus

Well, the thing with the shortcuts:

Ubuntu: Ctrl+X == Mac: Cmd+X (=the Command-Key, old Mac users still  
call it Apple-Key although there is no Apple on it any more but a  
kind of knot)

and so on.

Ah:
I just tried it in Lyx on MacOSX:
Alt+arrow and Ctrl+arrow do the same thing in Lyx.

In Openoffice on MacOSX they behave differently (right arrow here):
Alt+arrow == jump to the end of the next word
Ctrl+arrow == no function, just as arrows alone
Command+arrow == jump to end of the line

Anyway, when I work with the GIMP on a Mac I have to use Ctrl+X  
instead of Cmd+X, as GIMP runs in a seperate X.org on a Mac.


My Mac-only Editor uses Ctrl/Cmd or Alt+X to jump to the line endings.

I have to learn shortcuts for each App. And when I switch Apps or even  
more when I switch OSes (what I frequently do: I work on a Mac, in the  
Lab we've got a WindowsXP-PC and my Netbook is running Ubuntu) I mix  
it up frequently.


So maybe that's why I prefer to use a mouse: Every program uses  
different shortcuts but the mouse (nearly) always does what I intend.


Greets,
Johannes






Re: Drag and Drop

2009-08-06 Thread Helge Hafting

Johannes Knaus wrote:
First of all, I simply didn't realize that mouse drag'n'drop did not 
work in Lyx and thought this could maybe a platform specific issue, not 
a general one.



On Fri, 2009-07-31 at 11:43 -0400, Michael Joyner:

"Drag and drop" text is one the most annoying things I have found with
word processors.
It is too easy to do it by accident, not notice, and output garbage
for people to read.



I can't imagine how one could mark some text with the mouse 
hold-and-click it and drag it around by accident.


Openoffice do this now and then. Firefox is very prone to this problem, 
but there it doesn't matter as you aren't actually editing the website.


This is what happens:

1. User selects something with the mouse (click+drag+release)
2. User notices that the selection is slightly wrong. Maybe there is
   a letter too much or too little selected.
3. User tries to re-do the selection. (click+drag). The selection
   is supposed to start in the _same_ position, so it is very easy
   to accidentally grab the wrongly selected text.
4. Seeing things go wrong, the user release the mouse button
   and the text lands somewhere. :-(

5. The smart user does an angry undo, the not so smart try editing
   the document into shape again, the ignorant don't notice what
   happened, and merely select the text to be copied and goes on with
   that.



I think the discussion on going on here is somewhat dogmatic. Many 
people use Ctrl+X and then Ctrl+V to shift textparts around. That's o.k. 
and that's what I do as I have no other chance in Lyx to do this.
My point is: Drag and drop is something many Mac Users (I am one) and 
Windows users may be very used to in everyday work. So implementing this 
feature would make Lyx a little easier to work with when you are new to 
Lyx.


If it can be done so that it isn't so accident prone - fine.


Those who don't like drag and drop are not forced to use it, it would be 
just another editing option (maybe to be activated or deactivated via 
GUI). Still, I don't see the problem in having this feature – if you 
want to use it, use it, if not, don't. I don't think this can create any 
trouble by accident.


See above. I do use the mouse for selections now and then, even if I use
ctrl+c and ctrl+v to do the copying. Of course, LyX normally uses a nice 
large font, so it is somewhat less vulnerable to mis-selection.


It certainly would be a problem, if implementing this feature really 
costs a lot of time. I simply don't know this as I'm not a programmer.



Mouse marking is already implemented. So is copy and cut.
So all it takes is to recognise that the user tries to drag the 
selection, and drop it somewhere. LyX could then:


1. Change the mouse cursor to a "drag text" cursor, when the drag
   starts.
2. Use the existing "copy" code that gets called upon ctrl+c.
3. Move the cursor as if the user had clicked the drop location
4. Use the existing "paste" code as if the user typed ctrl+v

A "copy drag" might be easy. A "move drag" may be trickier, as the 
window changes upon "cut". The drop location then moves from where

the pointer is.

Perhaps the cut should be done at the beginning of the drag,
so that the drop location will be valid. On the other hand, that
makes aborting the drag harder instead.

Helge Hafting


Re: Drag and Drop

2009-08-06 Thread Nikos Alexandris
JFYI,

gedit (GNOME's default text editor) has the Alt+Arrow(s) option to move
selected line_s_ of text. I find it very convenient.

Nikos



Re: Drag and Drop

2009-08-06 Thread Marcelo Acuña

>> "Drag and drop" text is one the most annoying
>> things I have found with
 word processors.
 It is too easy to do it by accident, not notice,
 and output garbage for people to read.
>
> I can't imagine how one could mark some text with the mouse hold-and-click it 
> and drag it around by accident.

 It is easy. By accident! It happens constantly of many forms.
 Regards
Marcelo


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Re: Drag and Drop

2009-08-06 Thread Johannes Knaus

Am 06.08.2009 um 13:32 schrieb Nikos Alexandris:


JFYI,

gedit (GNOME's default text editor) has the Alt+Arrow(s) option to  
move

selected line_s_ of text. I find it very convenient.

Nikos



This could be a nice alternative IMHO.

Surely, another shortcut is needed, as Alt+Arrow is "jump to the end  
of the next word" on the Mac.

So Ctrl+arrow and Alt+arrow do the same right now on a Mac.

Johannes




Re: Drag and Drop

2009-08-06 Thread Johannes Knaus

Well, the thing with the shortcuts:

Ubuntu: Ctrl+X == Mac: Cmd+X (=the Command-Key, old Mac users still  
call it "Apple-Key" although there is no Apple on it any more but a  
kind of knot)

and so on.

Ah:
I just tried it in Lyx on MacOSX:
Alt+arrow and Ctrl+arrow do the same thing in Lyx.

In Openoffice on MacOSX they behave differently (right arrow here):
Alt+arrow == jump to the end of the next word
Ctrl+arrow == no function, just as arrows alone
Command+arrow == jump to end of the line

Anyway, when I work with the GIMP on a Mac I have to use Ctrl+X  
instead of Cmd+X, as GIMP runs in a seperate X.org on a Mac.


My Mac-only Editor uses Ctrl/Cmd or Alt+X to jump to the line endings.

I have to learn shortcuts for each App. And when I switch Apps or even  
more when I switch OSes (what I frequently do: I work on a Mac, in the  
Lab we've got a WindowsXP-PC and my Netbook is running Ubuntu) I mix  
it up frequently.


So maybe that's why I prefer to use a mouse: Every program uses  
different shortcuts but the mouse (nearly) always does what I intend.


Greets,
Johannes






Re: Drag and Drop

2009-07-31 Thread Marcelo Acuña

 Hello,
 
 Maybe a stupid question:
 But I realized that I can select/mark a sentence with the
 mouse, but I cannot drag this selected sentence around in
 Lyx, e.g. placing it in the paragraph above. Everytime I try
 this the sentence is deselected.

 With alt + arrow up (arrow down) you get to move the paragraph.
 Marcelo

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar


Re: Drag and Drop

2009-07-31 Thread Nikos Alexandris
On Fri, 2009-07-31 at 06:12 -0700, Marcelo Acuña wrote:
  Hello,
  
  Maybe a stupid question:
  But I realized that I can select/mark a sentence with the
  mouse, but I cannot drag this selected sentence around in
  Lyx, e.g. placing it in the paragraph above. Everytime I try
  this the sentence is deselected.
 
  With alt + arrow up (arrow down) you get to move the paragraph.
  Marcelo

Wouldn't it be useful to extend this functionality to move around a
selection (selected environments) as well?

Nikos



Re: Drag and Drop

2009-07-31 Thread Michael Joyner ᏩᏯ
Drag and drop text is one the most annoying things I have found with
word processors.
It is too easy to do it by accident, not notice, and output garbage for
people to read.
Nikos Alexandris wrote:
 On Fri, 2009-07-31 at 06:12 -0700, Marcelo Acuña wrote:
   
 Hello,

 Maybe a stupid question:
 But I realized that I can select/mark a sentence with the
 mouse, but I cannot drag this selected sentence around in
 Lyx, e.g. placing it in the paragraph above. Everytime I try
 this the sentence is deselected.
   
  With alt + arrow up (arrow down) you get to move the paragraph.
  Marcelo
 

 Wouldn't it be useful to extend this functionality to move around a
 selection (selected environments) as well?

 Nikos

   


-- 
LyX: http://www.lyx.org/ OpenOffice: http://www.openoffice.org/
Inkscape: http://www.inkscape.org/ Scribus: http://www.scribus.net/
GIMP: http://www.gimp.org/ PDF: http://www.pdfforge.org/



signature.asc
Description: OpenPGP digital signature


Re: Drag and Drop

2009-07-31 Thread Nikos Alexandris

On Fri, 2009-07-31 at 11:43 -0400, Michael Joyner:

 Drag and drop text is one the most annoying things I have found with
 word processors.
 It is too easy to do it by accident, not notice, and output garbage
 for people to read.


I don't mean drag-n-drop with the mouse. I mean select 2 lines (say
title and it's text) and move it with Alt + arrow.

Nikos


 Nikos Alexandris wrote: 
  On Fri, 2009-07-31 at 06:12 -0700, Marcelo Acuña wrote:

Hello,

Maybe a stupid question:
But I realized that I can select/mark a sentence with the
mouse, but I cannot drag this selected sentence around in
Lyx, e.g. placing it in the paragraph above. Everytime I try
this the sentence is deselected.
  
   With alt + arrow up (arrow down) you get to move the paragraph.
Marcelo
   
  
  Wouldn't it be useful to extend this functionality to move around a
  selection (selected environments) as well?
  
  Nikos



Re: Drag and Drop

2009-07-31 Thread Abdelrazak Younes

Nikos Alexandris wrote:

On Fri, 2009-07-31 at 11:43 -0400, Michael Joyner:


Drag and drop text is one the most annoying things I have found with
word processors.
It is too easy to do it by accident, not notice, and output garbage
for people to read.



I don't mean drag-n-drop with the mouse. I mean select 2 lines (say
title and it's text) and move it with Alt + arrow.


Doesn't look any simpler than select 2 lines, Ctr+X, move the cursor 
with arrows or mouse and Ctrl+V...


Abdel.



Re: Drag and Drop

2009-07-31 Thread Johannes Knaus
First of all, I simply didn't realize that mouse drag'n'drop did not  
work in Lyx and thought this could maybe a platform specific issue,  
not a general one.



On Fri, 2009-07-31 at 11:43 -0400, Michael Joyner:
Drag and drop text is one the most annoying things I have found  
with

word processors.
It is too easy to do it by accident, not notice, and output garbage
for people to read.



I can't imagine how one could mark some text with the mouse hold-and- 
click it and drag it around by accident.


I think the discussion on going on here is somewhat dogmatic. Many  
people use Ctrl+X and then Ctrl+V to shift textparts around. That's  
o.k. and that's what I do as I have no other chance in Lyx to do this.
My point is: Drag and drop is something many Mac Users (I am one) and  
Windows users may be very used to in everyday work. So implementing  
this feature would make Lyx a little easier to work with when you are  
new to Lyx.
Those who don't like drag and drop are not forced to use it, it would  
be just another editing option (maybe to be activated or deactivated  
via GUI). Still, I don't see the problem in having this feature – if  
you want to use it, use it, if not, don't. I don't think this can  
create any trouble by accident.


It certainly would be a problem, if implementing this feature really  
costs a lot of time. I simply don't know this as I'm not a programmer.


Another thing is that is maybe not the most urgent feature on the Lyx- 
feature-wish-list. That's o.k. It was only a question.

Still, voting for it is legitimate.




Re: Drag and Drop

2009-07-31 Thread Abdelrazak Younes

Johannes Knaus wrote:
It certainly would be a problem, if implementing this feature really 
costs a lot of time. I simply don't know this as I'm not a programmer.


To answer your question, this feature is straight forward to implement 
as we have developed own text work area and do not rely on a given text 
widget from Qt.




Another thing is that is maybe not the most urgent feature on the 
Lyx-feature-wish-list. That's o.k. It was only a question.

Still, voting for it is legitimate.


The feature request is very legitimate indeed. A generalized dragdrop 
feature (including from external application) would be welcome.


Abdel.



Re: Drag and Drop

2009-07-31 Thread Abdelrazak Younes

Abdelrazak Younes wrote:

Johannes Knaus wrote:
It certainly would be a problem, if implementing this feature really 
costs a lot of time. I simply don't know this as I'm not a programmer.


To answer your question, this feature is straight forward to implement 


Hum... this feature is *not* straight forward to implement...

Abdel.



Re: Drag and Drop

2009-07-31 Thread Steve Litt
On Friday 31 July 2009 12:20:27 Abdelrazak Younes wrote:
 Nikos Alexandris wrote:
  On Fri, 2009-07-31 at 11:43 -0400, Michael Joyner:
  Drag and drop text is one the most annoying things I have found with
  word processors.
  It is too easy to do it by accident, not notice, and output garbage
  for people to read.
 
  I don't mean drag-n-drop with the mouse. I mean select 2 lines (say
  title and it's text) and move it with Alt + arrow.

 Doesn't look any simpler than select 2 lines, Ctr+X, move the cursor
 with arrows or mouse and Ctrl+V...

 Abdel.

Agreed. It's easy as all getout to move text around the current program, with 
Ctrl+X and Ctrl+V, or even the outlining feature (thanks for adding that). I'd 
prioritize a lot of things more than another way to move text around. I'd love 
to have a log of how layouts get loaded (I gave an overview of that in another 
message), and a /usr/share/lyx/configure.py that EXACTLY matches the action of 
Tools-Reconfigure in the LyX environment.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt




Re: Drag and Drop

2009-07-31 Thread Joe(theWordy)Philbrook

It would appear that on Jul 31, Johannes Knaus did say:

 I can't imagine how one could mark some text with the mouse hold-and-click it
 and drag it around by accident.

You have never seen *ME* try to use the mouse... Though it is
frequently the easiest way to copy/paste text between applications
when one or more of the source/destination applications do NOT
support  ^C ^V and shifted arrows for marking... I for one would
find it umm frustrating if some text automatically relocated because
I was being a klutz while attempting to drag the the mouse pointer
across a range of text to copy to the (gpm?) buffer some text I
wanted to paste into an xterm.
 
 I think the discussion on going on here is somewhat dogmatic. Many people use
 Ctrl+X and then Ctrl+V to shift textparts around. That's o.k. and that's what
 I do as I have no other chance in Lyx to do this.

I for one am glad many people use that technique, It means it's
unlikely that LyX's keyboard control methods will be phased out any
time soon.

 Those who don't like drag and drop are not forced to use it, it would be just
 another editing option (maybe to be activated or deactivated via GUI). Still,
# --- --- -- -- ^^ ^^ ^ ^^ ^^^ ^^^ ^^^-- --

When you said this however you got my vote. Just as long as the
feature *CAN* be deactivated by the user... 

[rant-mode]
I might be a keyboard centric computer user who is always having
difficulty dealing with the point N click style dogma that seems
to say that if you make it easy for mouse centric users to click
instead of keypunching, then it's OK if you can't do something
anymore without resorting to that {many paragraphs of expletives
deleted} rodent...

But that doesn't mean that I think mouse centric users should be
denied point n click methods I just don't want them pushed on me.
[/rant-mode]

-- 
|   ---   ___
|   0   -  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
|~\___/~ jtw...@ttlc.net



Re: Drag and Drop

2009-07-31 Thread Marcelo Acuña

 Hello,
 
 Maybe a stupid question:
 But I realized that I can select/mark a sentence with the
 mouse, but I cannot drag this selected sentence around in
 Lyx, e.g. placing it in the paragraph above. Everytime I try
 this the sentence is deselected.

 With alt + arrow up (arrow down) you get to move the paragraph.
 Marcelo

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar


Re: Drag and Drop

2009-07-31 Thread Nikos Alexandris
On Fri, 2009-07-31 at 06:12 -0700, Marcelo Acuña wrote:
  Hello,
  
  Maybe a stupid question:
  But I realized that I can select/mark a sentence with the
  mouse, but I cannot drag this selected sentence around in
  Lyx, e.g. placing it in the paragraph above. Everytime I try
  this the sentence is deselected.
 
  With alt + arrow up (arrow down) you get to move the paragraph.
  Marcelo

Wouldn't it be useful to extend this functionality to move around a
selection (selected environments) as well?

Nikos



Re: Drag and Drop

2009-07-31 Thread Michael Joyner ᏩᏯ
Drag and drop text is one the most annoying things I have found with
word processors.
It is too easy to do it by accident, not notice, and output garbage for
people to read.
Nikos Alexandris wrote:
 On Fri, 2009-07-31 at 06:12 -0700, Marcelo Acuña wrote:
   
 Hello,

 Maybe a stupid question:
 But I realized that I can select/mark a sentence with the
 mouse, but I cannot drag this selected sentence around in
 Lyx, e.g. placing it in the paragraph above. Everytime I try
 this the sentence is deselected.
   
  With alt + arrow up (arrow down) you get to move the paragraph.
  Marcelo
 

 Wouldn't it be useful to extend this functionality to move around a
 selection (selected environments) as well?

 Nikos

   


-- 
LyX: http://www.lyx.org/ OpenOffice: http://www.openoffice.org/
Inkscape: http://www.inkscape.org/ Scribus: http://www.scribus.net/
GIMP: http://www.gimp.org/ PDF: http://www.pdfforge.org/



signature.asc
Description: OpenPGP digital signature


Re: Drag and Drop

2009-07-31 Thread Nikos Alexandris

On Fri, 2009-07-31 at 11:43 -0400, Michael Joyner:

 Drag and drop text is one the most annoying things I have found with
 word processors.
 It is too easy to do it by accident, not notice, and output garbage
 for people to read.


I don't mean drag-n-drop with the mouse. I mean select 2 lines (say
title and it's text) and move it with Alt + arrow.

Nikos


 Nikos Alexandris wrote: 
  On Fri, 2009-07-31 at 06:12 -0700, Marcelo Acuña wrote:

Hello,

Maybe a stupid question:
But I realized that I can select/mark a sentence with the
mouse, but I cannot drag this selected sentence around in
Lyx, e.g. placing it in the paragraph above. Everytime I try
this the sentence is deselected.
  
   With alt + arrow up (arrow down) you get to move the paragraph.
Marcelo
   
  
  Wouldn't it be useful to extend this functionality to move around a
  selection (selected environments) as well?
  
  Nikos



Re: Drag and Drop

2009-07-31 Thread Abdelrazak Younes

Nikos Alexandris wrote:

On Fri, 2009-07-31 at 11:43 -0400, Michael Joyner:


Drag and drop text is one the most annoying things I have found with
word processors.
It is too easy to do it by accident, not notice, and output garbage
for people to read.



I don't mean drag-n-drop with the mouse. I mean select 2 lines (say
title and it's text) and move it with Alt + arrow.


Doesn't look any simpler than select 2 lines, Ctr+X, move the cursor 
with arrows or mouse and Ctrl+V...


Abdel.



Re: Drag and Drop

2009-07-31 Thread Johannes Knaus
First of all, I simply didn't realize that mouse drag'n'drop did not  
work in Lyx and thought this could maybe a platform specific issue,  
not a general one.



On Fri, 2009-07-31 at 11:43 -0400, Michael Joyner:
Drag and drop text is one the most annoying things I have found  
with

word processors.
It is too easy to do it by accident, not notice, and output garbage
for people to read.



I can't imagine how one could mark some text with the mouse hold-and- 
click it and drag it around by accident.


I think the discussion on going on here is somewhat dogmatic. Many  
people use Ctrl+X and then Ctrl+V to shift textparts around. That's  
o.k. and that's what I do as I have no other chance in Lyx to do this.
My point is: Drag and drop is something many Mac Users (I am one) and  
Windows users may be very used to in everyday work. So implementing  
this feature would make Lyx a little easier to work with when you are  
new to Lyx.
Those who don't like drag and drop are not forced to use it, it would  
be just another editing option (maybe to be activated or deactivated  
via GUI). Still, I don't see the problem in having this feature – if  
you want to use it, use it, if not, don't. I don't think this can  
create any trouble by accident.


It certainly would be a problem, if implementing this feature really  
costs a lot of time. I simply don't know this as I'm not a programmer.


Another thing is that is maybe not the most urgent feature on the Lyx- 
feature-wish-list. That's o.k. It was only a question.

Still, voting for it is legitimate.




Re: Drag and Drop

2009-07-31 Thread Abdelrazak Younes

Johannes Knaus wrote:
It certainly would be a problem, if implementing this feature really 
costs a lot of time. I simply don't know this as I'm not a programmer.


To answer your question, this feature is straight forward to implement 
as we have developed own text work area and do not rely on a given text 
widget from Qt.




Another thing is that is maybe not the most urgent feature on the 
Lyx-feature-wish-list. That's o.k. It was only a question.

Still, voting for it is legitimate.


The feature request is very legitimate indeed. A generalized dragdrop 
feature (including from external application) would be welcome.


Abdel.



Re: Drag and Drop

2009-07-31 Thread Abdelrazak Younes

Abdelrazak Younes wrote:

Johannes Knaus wrote:
It certainly would be a problem, if implementing this feature really 
costs a lot of time. I simply don't know this as I'm not a programmer.


To answer your question, this feature is straight forward to implement 


Hum... this feature is *not* straight forward to implement...

Abdel.



Re: Drag and Drop

2009-07-31 Thread Steve Litt
On Friday 31 July 2009 12:20:27 Abdelrazak Younes wrote:
 Nikos Alexandris wrote:
  On Fri, 2009-07-31 at 11:43 -0400, Michael Joyner:
  Drag and drop text is one the most annoying things I have found with
  word processors.
  It is too easy to do it by accident, not notice, and output garbage
  for people to read.
 
  I don't mean drag-n-drop with the mouse. I mean select 2 lines (say
  title and it's text) and move it with Alt + arrow.

 Doesn't look any simpler than select 2 lines, Ctr+X, move the cursor
 with arrows or mouse and Ctrl+V...

 Abdel.

Agreed. It's easy as all getout to move text around the current program, with 
Ctrl+X and Ctrl+V, or even the outlining feature (thanks for adding that). I'd 
prioritize a lot of things more than another way to move text around. I'd love 
to have a log of how layouts get loaded (I gave an overview of that in another 
message), and a /usr/share/lyx/configure.py that EXACTLY matches the action of 
Tools-Reconfigure in the LyX environment.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt




Re: Drag and Drop

2009-07-31 Thread Joe(theWordy)Philbrook

It would appear that on Jul 31, Johannes Knaus did say:

 I can't imagine how one could mark some text with the mouse hold-and-click it
 and drag it around by accident.

You have never seen *ME* try to use the mouse... Though it is
frequently the easiest way to copy/paste text between applications
when one or more of the source/destination applications do NOT
support  ^C ^V and shifted arrows for marking... I for one would
find it umm frustrating if some text automatically relocated because
I was being a klutz while attempting to drag the the mouse pointer
across a range of text to copy to the (gpm?) buffer some text I
wanted to paste into an xterm.
 
 I think the discussion on going on here is somewhat dogmatic. Many people use
 Ctrl+X and then Ctrl+V to shift textparts around. That's o.k. and that's what
 I do as I have no other chance in Lyx to do this.

I for one am glad many people use that technique, It means it's
unlikely that LyX's keyboard control methods will be phased out any
time soon.

 Those who don't like drag and drop are not forced to use it, it would be just
 another editing option (maybe to be activated or deactivated via GUI). Still,
# --- --- -- -- ^^ ^^ ^ ^^ ^^^ ^^^ ^^^-- --

When you said this however you got my vote. Just as long as the
feature *CAN* be deactivated by the user... 

[rant-mode]
I might be a keyboard centric computer user who is always having
difficulty dealing with the point N click style dogma that seems
to say that if you make it easy for mouse centric users to click
instead of keypunching, then it's OK if you can't do something
anymore without resorting to that {many paragraphs of expletives
deleted} rodent...

But that doesn't mean that I think mouse centric users should be
denied point n click methods I just don't want them pushed on me.
[/rant-mode]

-- 
|   ---   ___
|   0   -  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
|~\___/~ jtw...@ttlc.net



Re: Drag and Drop

2009-07-31 Thread Marcelo Acuña

> Hello,
> 
> Maybe a stupid question:
> But I realized that I can select/mark a sentence with the
> mouse, but I cannot drag this selected sentence around in
> Lyx, e.g. placing it in the paragraph above. Everytime I try
> this the sentence is deselected.

 With alt + arrow up (arrow down) you get to move the paragraph.
 Marcelo

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar


Re: Drag and Drop

2009-07-31 Thread Nikos Alexandris
On Fri, 2009-07-31 at 06:12 -0700, Marcelo Acuña wrote:
> > Hello,
> > 
> > Maybe a stupid question:
> > But I realized that I can select/mark a sentence with the
> > mouse, but I cannot drag this selected sentence around in
> > Lyx, e.g. placing it in the paragraph above. Everytime I try
> > this the sentence is deselected.
> 
>  With alt + arrow up (arrow down) you get to move the paragraph.
>  Marcelo

Wouldn't it be useful to extend this functionality to move around a
selection (selected environments) as well?

Nikos



Re: Drag and Drop

2009-07-31 Thread Michael Joyner ᏩᏯ
"Drag and drop" text is one the most annoying things I have found with
word processors.
It is too easy to do it by accident, not notice, and output garbage for
people to read.
Nikos Alexandris wrote:
> On Fri, 2009-07-31 at 06:12 -0700, Marcelo Acuña wrote:
>   
>>> Hello,
>>>
>>> Maybe a stupid question:
>>> But I realized that I can select/mark a sentence with the
>>> mouse, but I cannot drag this selected sentence around in
>>> Lyx, e.g. placing it in the paragraph above. Everytime I try
>>> this the sentence is deselected.
>>>   
>>  With alt + arrow up (arrow down) you get to move the paragraph.
>>  Marcelo
>> 
>
> Wouldn't it be useful to extend this functionality to move around a
> selection (selected environments) as well?
>
> Nikos
>
>   


-- 
LyX: http://www.lyx.org/ OpenOffice: http://www.openoffice.org/
Inkscape: http://www.inkscape.org/ Scribus: http://www.scribus.net/
GIMP: http://www.gimp.org/ PDF: http://www.pdfforge.org/



signature.asc
Description: OpenPGP digital signature


Re: Drag and Drop

2009-07-31 Thread Nikos Alexandris

On Fri, 2009-07-31 at 11:43 -0400, Michael Joyner:

> "Drag and drop" text is one the most annoying things I have found with
> word processors.
> It is too easy to do it by accident, not notice, and output garbage
> for people to read.


I don't mean drag-n-drop with the mouse. I mean select 2 lines (say
title and it's text) and move it with Alt + arrow.

Nikos


> Nikos Alexandris wrote: 
> > On Fri, 2009-07-31 at 06:12 -0700, Marcelo Acuña wrote:
> >   
> > > > Hello,
> > > > 
> > > > Maybe a stupid question:
> > > > But I realized that I can select/mark a sentence with the
> > > > mouse, but I cannot drag this selected sentence around in
> > > > Lyx, e.g. placing it in the paragraph above. Everytime I try
> > > > this the sentence is deselected.
> > > >   
> > > With alt + arrow up (arrow down) you get to move the paragraph.
> > >  Marcelo
> > > 
> > 
> > Wouldn't it be useful to extend this functionality to move around a
> > selection (selected environments) as well?
> > 
> > Nikos



Re: Drag and Drop

2009-07-31 Thread Abdelrazak Younes

Nikos Alexandris wrote:

On Fri, 2009-07-31 at 11:43 -0400, Michael Joyner:


"Drag and drop" text is one the most annoying things I have found with
word processors.
It is too easy to do it by accident, not notice, and output garbage
for people to read.



I don't mean drag-n-drop with the mouse. I mean select 2 lines (say
title and it's text) and move it with Alt + arrow.


Doesn't look any simpler than "select 2 lines, Ctr+X, move the cursor 
with arrows or mouse and Ctrl+V"...


Abdel.



Re: Drag and Drop

2009-07-31 Thread Johannes Knaus
First of all, I simply didn't realize that mouse drag'n'drop did not  
work in Lyx and thought this could maybe a platform specific issue,  
not a general one.



On Fri, 2009-07-31 at 11:43 -0400, Michael Joyner:
"Drag and drop" text is one the most annoying things I have found  
with

word processors.
It is too easy to do it by accident, not notice, and output garbage
for people to read.



I can't imagine how one could mark some text with the mouse hold-and- 
click it and drag it around by accident.


I think the discussion on going on here is somewhat dogmatic. Many  
people use Ctrl+X and then Ctrl+V to shift textparts around. That's  
o.k. and that's what I do as I have no other chance in Lyx to do this.
My point is: Drag and drop is something many Mac Users (I am one) and  
Windows users may be very used to in everyday work. So implementing  
this feature would make Lyx a little easier to work with when you are  
new to Lyx.
Those who don't like drag and drop are not forced to use it, it would  
be just another editing option (maybe to be activated or deactivated  
via GUI). Still, I don't see the problem in having this feature – if  
you want to use it, use it, if not, don't. I don't think this can  
create any trouble by accident.


It certainly would be a problem, if implementing this feature really  
costs a lot of time. I simply don't know this as I'm not a programmer.


Another thing is that is maybe not the most urgent feature on the Lyx- 
feature-wish-list. That's o.k. It was only a question.

Still, voting for it is legitimate.




Re: Drag and Drop

2009-07-31 Thread Abdelrazak Younes

Johannes Knaus wrote:
It certainly would be a problem, if implementing this feature really 
costs a lot of time. I simply don't know this as I'm not a programmer.


To answer your question, this feature is straight forward to implement 
as we have developed own text work area and do not rely on a given text 
widget from Qt.




Another thing is that is maybe not the most urgent feature on the 
Lyx-feature-wish-list. That's o.k. It was only a question.

Still, voting for it is legitimate.


The feature request is very legitimate indeed. A generalized drag 
feature (including from external application) would be welcome.


Abdel.



Re: Drag and Drop

2009-07-31 Thread Abdelrazak Younes

Abdelrazak Younes wrote:

Johannes Knaus wrote:
It certainly would be a problem, if implementing this feature really 
costs a lot of time. I simply don't know this as I'm not a programmer.


To answer your question, this feature is straight forward to implement 


Hum... "this feature is *not* straight forward to implement"...

Abdel.



Re: Drag and Drop

2009-07-31 Thread Steve Litt
On Friday 31 July 2009 12:20:27 Abdelrazak Younes wrote:
> Nikos Alexandris wrote:
> > On Fri, 2009-07-31 at 11:43 -0400, Michael Joyner:
> >> "Drag and drop" text is one the most annoying things I have found with
> >> word processors.
> >> It is too easy to do it by accident, not notice, and output garbage
> >> for people to read.
> >
> > I don't mean drag-n-drop with the mouse. I mean select 2 lines (say
> > title and it's text) and move it with Alt + arrow.
>
> Doesn't look any simpler than "select 2 lines, Ctr+X, move the cursor
> with arrows or mouse and Ctrl+V"...
>
> Abdel.

Agreed. It's easy as all getout to move text around the current program, with 
Ctrl+X and Ctrl+V, or even the outlining feature (thanks for adding that). I'd 
prioritize a lot of things more than another way to move text around. I'd love 
to have a log of how layouts get loaded (I gave an overview of that in another 
message), and a /usr/share/lyx/configure.py that EXACTLY matches the action of 
Tools->Reconfigure in the LyX environment.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt




Re: Drag and Drop

2009-07-31 Thread Joe(theWordy)Philbrook

It would appear that on Jul 31, Johannes Knaus did say:

> I can't imagine how one could mark some text with the mouse hold-and-click it
> and drag it around by accident.

You have never seen *ME* try to use the mouse... Though it is
frequently the easiest way to copy/paste text between applications
when one or more of the source/destination applications do NOT
support  ^C ^V and shifted arrows for marking... I for one would
find it umm frustrating if some text automatically relocated because
I was being a klutz while attempting to drag the the mouse pointer
across a range of text to copy to the (gpm?) buffer some text I
wanted to paste into an xterm.
 
> I think the discussion on going on here is somewhat dogmatic. Many people use
> Ctrl+X and then Ctrl+V to shift textparts around. That's o.k. and that's what
> I do as I have no other chance in Lyx to do this.

I for one am glad many people use that technique, It means it's
unlikely that LyX's keyboard control methods will be phased out any
time soon.

> Those who don't like drag and drop are not forced to use it, it would be just
> another editing option (maybe to be activated or deactivated via GUI). Still,
# --- --- -- -- ^^ ^^ ^ ^^ ^^^ ^^^ ^^^-- --

When you said this however you got my vote. Just as long as the
feature *CAN* be deactivated by the user... 

[rant-mode]
I might be a keyboard centric computer user who is always having
difficulty dealing with the point N click style "dogma" that seems
to say that if you make it easy for mouse centric users to click
instead of keypunching, then it's OK if you can't do something
anymore without resorting to that {many paragraphs of expletives
deleted} rodent...

But that doesn't mean that I think mouse centric users should be
denied point n click methods I just don't want them pushed on me.
[/rant-mode]

-- 
|   ---   ___
|   <0>   <->  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
|~\___/~ <>



RE: Drag and Drop

2009-07-29 Thread Vincent van Ravesteijn - TNW
Hello,

Maybe a stupid question:
But I realized that I can select/mark a sentence
with the mouse, but I cannot drag this selected
sentence around in Lyx, e.g. placing it in the
paragraph above. Everytime I try this the sentence
is deselected.

As I don't remember well: Is this behaviour expected
in Lyx or is it a bug?

Let's call it a missing feature.

Personally, I'd prefer to cutpaste anyway.

Vincent


Re: Drag and Drop

2009-07-29 Thread Johannes Knaus

Let's call it a missing feature.

Personally, I'd prefer to cutpaste anyway.

Vincent



So, would this be a good idea to propose this for future Lyx versions?
I'm not a programmer, so I really can't even guess how much work this  
would mean.
IMHO this would be really a nice feature. I'm quite used to it; in  
nearly all Applications I regularly use (even in the Editor I use for  
basic python scripts) I can do this internal drag and drop.


How do others think about this?



Re: Drag and Drop

2009-07-29 Thread Jürgen Spitzmüller
Johannes Knaus wrote:
 So, would this be a good idea to propose this for future Lyx versions?

There's already a feature request for this:
http://www.lyx.org/trac/ticket/5643

Jürgen


Re: Re: Drag and Drop

2009-07-29 Thread Ignacio García
Johannes Knaus wrote Wed, 29 Jul 2009

 But I realized that I can select/mark a sentence
 with the mouse, but I cannot drag this selected
 sentence around in Lyx, e.g. placing it in the
 paragraph above. Everytime I try this the sentence
 is deselected.

 So, would this be a good idea to propose this for future Lyx versions?

 How do others think about this?

I think it's already a wanted feature.
Do you know the FeaturePoll wiki page?
Have a look at this  page if you want
http://wiki.lyx.org/LyX/FeaturePoll
(7.4, 7.5)

In this page you can _Vote for the feature YOU would like to see included!_

Ignacio


Re: Re: Drag and Drop

2009-07-29 Thread Rich Shepard

On Wed, 29 Jul 2009, Ignacio Garc?a wrote:


But I realized that I can select/mark a sentence with the mouse, but I
cannot drag this selected sentence around in Lyx, e.g. placing it in the
paragraph above. Everytime I try this the sentence is deselected.



So, would this be a good idea to propose this for future Lyx versions?



How do others think about this?



I think it's already a wanted feature. Do you know the FeaturePoll wiki
page? Have a look at this page if you want
http://wiki.lyx.org/LyX/FeaturePoll (7.4, 7.5)



In this page you can _Vote for the feature YOU would like to see included!_


  I don't see where I can add my name to not include this feature. Using the
keyboard to cut/copy and paste works well and is common in the UNIX
environment. Developers have more important issues for their attention.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


RE: Drag and Drop

2009-07-29 Thread Vincent van Ravesteijn - TNW
Hello,

Maybe a stupid question:
But I realized that I can select/mark a sentence
with the mouse, but I cannot drag this selected
sentence around in Lyx, e.g. placing it in the
paragraph above. Everytime I try this the sentence
is deselected.

As I don't remember well: Is this behaviour expected
in Lyx or is it a bug?

Let's call it a missing feature.

Personally, I'd prefer to cutpaste anyway.

Vincent


Re: Drag and Drop

2009-07-29 Thread Johannes Knaus

Let's call it a missing feature.

Personally, I'd prefer to cutpaste anyway.

Vincent



So, would this be a good idea to propose this for future Lyx versions?
I'm not a programmer, so I really can't even guess how much work this  
would mean.
IMHO this would be really a nice feature. I'm quite used to it; in  
nearly all Applications I regularly use (even in the Editor I use for  
basic python scripts) I can do this internal drag and drop.


How do others think about this?



Re: Drag and Drop

2009-07-29 Thread Jürgen Spitzmüller
Johannes Knaus wrote:
 So, would this be a good idea to propose this for future Lyx versions?

There's already a feature request for this:
http://www.lyx.org/trac/ticket/5643

Jürgen


Re: Re: Drag and Drop

2009-07-29 Thread Ignacio García
Johannes Knaus wrote Wed, 29 Jul 2009

 But I realized that I can select/mark a sentence
 with the mouse, but I cannot drag this selected
 sentence around in Lyx, e.g. placing it in the
 paragraph above. Everytime I try this the sentence
 is deselected.

 So, would this be a good idea to propose this for future Lyx versions?

 How do others think about this?

I think it's already a wanted feature.
Do you know the FeaturePoll wiki page?
Have a look at this  page if you want
http://wiki.lyx.org/LyX/FeaturePoll
(7.4, 7.5)

In this page you can _Vote for the feature YOU would like to see included!_

Ignacio


Re: Re: Drag and Drop

2009-07-29 Thread Rich Shepard

On Wed, 29 Jul 2009, Ignacio Garc?a wrote:


But I realized that I can select/mark a sentence with the mouse, but I
cannot drag this selected sentence around in Lyx, e.g. placing it in the
paragraph above. Everytime I try this the sentence is deselected.



So, would this be a good idea to propose this for future Lyx versions?



How do others think about this?



I think it's already a wanted feature. Do you know the FeaturePoll wiki
page? Have a look at this page if you want
http://wiki.lyx.org/LyX/FeaturePoll (7.4, 7.5)



In this page you can _Vote for the feature YOU would like to see included!_


  I don't see where I can add my name to not include this feature. Using the
keyboard to cut/copy and paste works well and is common in the UNIX
environment. Developers have more important issues for their attention.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


RE: Drag and Drop

2009-07-29 Thread Vincent van Ravesteijn - TNW
>Hello,
>
>Maybe a stupid question:
>But I realized that I can select/mark a sentence
>with the mouse, but I cannot drag this selected
>sentence around in Lyx, e.g. placing it in the
>paragraph above. Everytime I try this the sentence
>is deselected.
>
>As I don't remember well: Is this behaviour expected
>in Lyx or is it a bug?

Let's call it a missing feature.

Personally, I'd prefer to cut anyway.

Vincent


Re: Drag and Drop

2009-07-29 Thread Johannes Knaus

Let's call it a missing feature.

Personally, I'd prefer to cut anyway.

Vincent



So, would this be a good idea to propose this for future Lyx versions?
I'm not a programmer, so I really can't even guess how much work this  
would mean.
IMHO this would be really a nice feature. I'm quite used to it; in  
nearly all Applications I regularly use (even in the Editor I use for  
basic python scripts) I can do this internal drag and drop.


How do others think about this?



Re: Drag and Drop

2009-07-29 Thread Jürgen Spitzmüller
Johannes Knaus wrote:
> So, would this be a good idea to propose this for future Lyx versions?

There's already a feature request for this:
http://www.lyx.org/trac/ticket/5643

Jürgen


Re: Re: Drag and Drop

2009-07-29 Thread Ignacio García
Johannes Knaus wrote Wed, 29 Jul 2009

>>> But I realized that I can select/mark a sentence
>>> with the mouse, but I cannot drag this selected
>>> sentence around in Lyx, e.g. placing it in the
>>> paragraph above. Everytime I try this the sentence
>>> is deselected.

> So, would this be a good idea to propose this for future Lyx versions?

> How do others think about this?

I think it's already a wanted feature.
Do you know the FeaturePoll wiki page?
Have a look at this  page if you want
http://wiki.lyx.org/LyX/FeaturePoll
(7.4, 7.5)

In this page you can _Vote for the feature YOU would like to see included!_

Ignacio


Re: Re: Drag and Drop

2009-07-29 Thread Rich Shepard

On Wed, 29 Jul 2009, Ignacio Garc?a wrote:


But I realized that I can select/mark a sentence with the mouse, but I
cannot drag this selected sentence around in Lyx, e.g. placing it in the
paragraph above. Everytime I try this the sentence is deselected.



So, would this be a good idea to propose this for future Lyx versions?



How do others think about this?



I think it's already a wanted feature. Do you know the FeaturePoll wiki
page? Have a look at this page if you want
http://wiki.lyx.org/LyX/FeaturePoll (7.4, 7.5)



In this page you can _Vote for the feature YOU would like to see included!_


  I don't see where I can add my name to not include this feature. Using the
keyboard to cut/copy and paste works well and is common in the UNIX
environment. Developers have more important issues for their attention.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: drag-and-drop with non-ascii characters

2005-09-11 Thread Roy Schestowitz

_/ On Sun 11 Sep 2005 12:18:31 BST, [Pol] wrote : \_


Hi,

I was not able to copy a file by drag and drop from konqueror into
the lyx editor, since the non-ascii character in the file name (an
accented letter, in my case) is erased during the procedure.
Is it possible to fix that?

I do not know if it is a lyx or kde related issue, so i am sending to
both discussion forums.

thank you

--pol


Hi Pol,

Things appear to work fine when I copy accented text (tried Sørtun and
Levänen)
from Mozilla Firefox to LyX directly. Konqueror is inferior in terms of
language support (Firefox can display Chinese, Arabic, Thai, etc.), so I
suggest you try Firefox.

Sometimes I find myself having to copy and paste text from Konqueror to KWrite
(or KEdit) and then copy it to LyX from that intermediate application.
It tends
to be a little fragile, but Firefox is more robust than most alternatives.

If the above suggestion does not work, save the Web page and copy text
from the
source (X)HTML or import it into LyX as is.

If all fails, begin to question the capabilities of your Linux distribution.

Hope it helps,

Roy

--
Roy S. Schestowitz  | (S)oftware (U)nd (S)ystem(E)ntwicklung
http://Schestowitz.com  |SuSE Linux| PGP-Key: 74572E8E
 2:35pm  up 17 days 13:03,  4 users,  load average: 0.44, 0.99, 0.92



Re: drag-and-drop with non-ascii characters

2005-09-11 Thread Angus Leeming
Roy Schestowitz wrote:
 Hi,

 I was not able to copy a file by drag and drop from konqueror into
 the lyx editor, since the non-ascii character in the file name (an
 accented letter, in my case) is erased during the procedure.
 Is it possible to fix that?

 I do not know if it is a lyx or kde related issue, so i am sending to
 both discussion forums.

 thank you

This is almost certainly caused by a mismatch in font encodings used by the
two apps. Everything in konqueror is encoded in UTF-8. LyX understands
Latin-1.

Angus

-- 
Angus



Re: drag-and-drop with non-ascii characters

2005-09-11 Thread Peter Flynn

Pol wrote:

Hi,

I was not able to copy a file by drag and drop from konqueror into the 
lyx editor, since the non-ascii character in the file name (an accented 
letter, in my case) is erased during the procedure.

Is it possible to fix that?


Non-ASCII characters in URIs should not be used unencoded.

I don't know who is at fault here: the page author for publishing a page
with a non-ASCII character in the URI, or Konq for passing it on (or
not, as the case may be); hardly LyX, unless it was LyX that elided it.

I do not know if it is a lyx or kde related issue, so i am sending to 
both discussion forums.


Tell the author to change the name of the file to use ASCII characters, 
and all will be well. If they argue, tell them to read RFC 2396, eg

http://www.gbiv.com/protocols/uri/rfc/rfc2396.html#rfc.section.2.1

///Peter


Re: drag-and-drop with non-ascii characters

2005-09-11 Thread Pol

Roy Schestowitz wrote:
Things appear to work fine when I copy accented text (tried Sørtun and 
Levänen)

from Mozilla Firefox to LyX directly. Konqueror is inferior in terms of
language support (Firefox can display Chinese, Arabic, Thai, etc.), so I
suggest you try Firefox.



Thank you Roy (and Peter, for the other reply) - I am sorry my 
description was incomplete. I was referring to konqueror as file manager 
(a role in which i believe it is unparalled as far as functionality and 
stability is concerned; i am very satisfied with it), not as web browser.


Probably Angus has spotted the issue, due to different font encodings

--pol



Re: drag-and-drop with non-ascii characters

2005-09-11 Thread Roy Schestowitz

_/ On Sun 11 Sep 2005 12:18:31 BST, [Pol] wrote : \_


Hi,

I was not able to copy a file by drag and drop from konqueror into
the lyx editor, since the non-ascii character in the file name (an
accented letter, in my case) is erased during the procedure.
Is it possible to fix that?

I do not know if it is a lyx or kde related issue, so i am sending to
both discussion forums.

thank you

--pol


Hi Pol,

Things appear to work fine when I copy accented text (tried Sørtun and
Levänen)
from Mozilla Firefox to LyX directly. Konqueror is inferior in terms of
language support (Firefox can display Chinese, Arabic, Thai, etc.), so I
suggest you try Firefox.

Sometimes I find myself having to copy and paste text from Konqueror to KWrite
(or KEdit) and then copy it to LyX from that intermediate application.
It tends
to be a little fragile, but Firefox is more robust than most alternatives.

If the above suggestion does not work, save the Web page and copy text
from the
source (X)HTML or import it into LyX as is.

If all fails, begin to question the capabilities of your Linux distribution.

Hope it helps,

Roy

--
Roy S. Schestowitz  | (S)oftware (U)nd (S)ystem(E)ntwicklung
http://Schestowitz.com  |SuSE Linux| PGP-Key: 74572E8E
 2:35pm  up 17 days 13:03,  4 users,  load average: 0.44, 0.99, 0.92



Re: drag-and-drop with non-ascii characters

2005-09-11 Thread Angus Leeming
Roy Schestowitz wrote:
 Hi,

 I was not able to copy a file by drag and drop from konqueror into
 the lyx editor, since the non-ascii character in the file name (an
 accented letter, in my case) is erased during the procedure.
 Is it possible to fix that?

 I do not know if it is a lyx or kde related issue, so i am sending to
 both discussion forums.

 thank you

This is almost certainly caused by a mismatch in font encodings used by the
two apps. Everything in konqueror is encoded in UTF-8. LyX understands
Latin-1.

Angus

-- 
Angus



Re: drag-and-drop with non-ascii characters

2005-09-11 Thread Peter Flynn

Pol wrote:

Hi,

I was not able to copy a file by drag and drop from konqueror into the 
lyx editor, since the non-ascii character in the file name (an accented 
letter, in my case) is erased during the procedure.

Is it possible to fix that?


Non-ASCII characters in URIs should not be used unencoded.

I don't know who is at fault here: the page author for publishing a page
with a non-ASCII character in the URI, or Konq for passing it on (or
not, as the case may be); hardly LyX, unless it was LyX that elided it.

I do not know if it is a lyx or kde related issue, so i am sending to 
both discussion forums.


Tell the author to change the name of the file to use ASCII characters, 
and all will be well. If they argue, tell them to read RFC 2396, eg

http://www.gbiv.com/protocols/uri/rfc/rfc2396.html#rfc.section.2.1

///Peter


Re: drag-and-drop with non-ascii characters

2005-09-11 Thread Pol

Roy Schestowitz wrote:
Things appear to work fine when I copy accented text (tried Sørtun and 
Levänen)

from Mozilla Firefox to LyX directly. Konqueror is inferior in terms of
language support (Firefox can display Chinese, Arabic, Thai, etc.), so I
suggest you try Firefox.



Thank you Roy (and Peter, for the other reply) - I am sorry my 
description was incomplete. I was referring to konqueror as file manager 
(a role in which i believe it is unparalled as far as functionality and 
stability is concerned; i am very satisfied with it), not as web browser.


Probably Angus has spotted the issue, due to different font encodings

--pol



Re: drag-and-drop with non-ascii characters

2005-09-11 Thread Roy Schestowitz

_/ On Sun 11 Sep 2005 12:18:31 BST, [Pol] wrote : \_


Hi,

I was not able to copy a file by drag and drop from konqueror into
the lyx editor, since the non-ascii character in the file name (an
accented letter, in my case) is erased during the procedure.
Is it possible to fix that?

I do not know if it is a lyx or kde related issue, so i am sending to
both discussion forums.

thank you

--pol


Hi Pol,

Things appear to work fine when I copy accented text (tried Sørtun and
Levänen)
from Mozilla Firefox to LyX directly. Konqueror is inferior in terms of
language support (Firefox can display Chinese, Arabic, Thai, etc.), so I
suggest you try Firefox.

Sometimes I find myself having to copy and paste text from Konqueror to KWrite
(or KEdit) and then copy it to LyX from that intermediate application.
It tends
to be a little fragile, but Firefox is more robust than most alternatives.

If the above suggestion does not work, save the Web page and copy text
from the
source (X)HTML or import it into LyX as is.

If all fails, begin to question the capabilities of your Linux distribution.

Hope it helps,

Roy

--
Roy S. Schestowitz  | (S)oftware (U)nd (S)ystem(E)ntwicklung
http://Schestowitz.com  |SuSE Linux| PGP-Key: 74572E8E
 2:35pm  up 17 days 13:03,  4 users,  load average: 0.44, 0.99, 0.92



Re: drag-and-drop with non-ascii characters

2005-09-11 Thread Angus Leeming
Roy Schestowitz wrote:
>> Hi,
>>
>> I was not able to copy a file by drag and drop from konqueror into
>> the lyx editor, since the non-ascii character in the file name (an
>> accented letter, in my case) is erased during the procedure.
>> Is it possible to fix that?
>>
>> I do not know if it is a lyx or kde related issue, so i am sending to
>> both discussion forums.
>>
>> thank you

This is almost certainly caused by a mismatch in font encodings used by the
two apps. Everything in konqueror is encoded in UTF-8. LyX understands
Latin-1.

Angus

-- 
Angus



Re: drag-and-drop with non-ascii characters

2005-09-11 Thread Peter Flynn

Pol wrote:

Hi,

I was not able to copy a file by drag and drop from konqueror into the 
lyx editor, since the non-ascii character in the file name (an accented 
letter, in my case) is erased during the procedure.

Is it possible to fix that?


Non-ASCII characters in URIs should not be used unencoded.

I don't know who is at fault here: the page author for publishing a page
with a non-ASCII character in the URI, or Konq for passing it on (or
not, as the case may be); hardly LyX, unless it was LyX that elided it.

I do not know if it is a lyx or kde related issue, so i am sending to 
both discussion forums.


Tell the author to change the name of the file to use ASCII characters, 
and all will be well. If they argue, tell them to read RFC 2396, eg

http://www.gbiv.com/protocols/uri/rfc/rfc2396.html#rfc.section.2.1

///Peter


Re: drag-and-drop with non-ascii characters

2005-09-11 Thread Pol

Roy Schestowitz wrote:
Things appear to work fine when I copy accented text (tried Sørtun and 
Levänen)

from Mozilla Firefox to LyX directly. Konqueror is inferior in terms of
language support (Firefox can display Chinese, Arabic, Thai, etc.), so I
suggest you try Firefox.



Thank you Roy (and Peter, for the other reply) - I am sorry my 
description was incomplete. I was referring to konqueror as file manager 
(a role in which i believe it is unparalled as far as functionality and 
stability is concerned; i am very satisfied with it), not as web browser.


Probably Angus has spotted the issue, due to different font encodings

--pol