Re: External material/graphics empty samples

2011-07-31 Thread Tommaso Cucinotta
Il 31/07/2011 20:27, Pavel Sanda ha scritto: Tommaso Cucinotta wrote: Il 31/07/2011 11:19, Pavel Sanda ha scritto: whats your qt version? i already tested its gray even in 1.6.1-10. unless my memory play nasty games with me, this really worked - i was able to set size of external images.. what

Re: External material/graphics empty samples

2011-07-31 Thread Pavel Sanda
Tommaso Cucinotta wrote: > Il 31/07/2011 11:19, Pavel Sanda ha scritto: >> whats your qt version? i already tested its gray even in 1.6.1-10. unless >> my memory play nasty games with me, this really worked - i was able to set >> size of external images.. what remains is that something in qt chang

Re: External material/graphics empty samples

2011-07-31 Thread Tommaso Cucinotta
Il 31/07/2011 11:19, Pavel Sanda ha scritto: whats your qt version? i already tested its gray even in 1.6.1-10. unless my memory play nasty games with me, this really worked - i was able to set size of external images.. what remains is that something in qt changed. Btw, the attached patch brin

Re: External material/graphics empty samples

2011-07-31 Thread Tommaso Cucinotta
Il 31/07/2011 11:19, Pavel Sanda ha scritto: whats your qt version? i already tested its gray even in 1.6.1-10. unless my memory play nasty games with me, this really worked - i was able to set size of external images.. what remains is that something in qt changed. ii libqt4-dev

Re: External material/graphics empty samples

2011-07-31 Thread Pavel Sanda
Tommaso Cucinotta wrote: > sure, I had a look: the size tab of the External Material dialog is gray > and can never be activated (I just tried dia, xfig and chess). > However, the ext_templates file uses the options Rotate etc.., so it should > appear instead. (just checked it's not my patch's fa

Re: External material/graphics empty samples

2011-07-30 Thread Tommaso Cucinotta
Il 30/07/2011 11:44, Pavel Sanda ha scritto: If you had a look at those 2 patches (images and ext material), I had a common need, i.e., the patch below. Do you think it may be a safe/right one, or might it be dangerous or have unforeseeable side effects ? iirc we return zip type for files whi

Re: External material/graphics empty samples

2011-07-30 Thread Pavel Sanda
Tommaso Cucinotta wrote: > Il 29/07/2011 10:30, Pavel Sanda ha scritto: >>> So, my question: does it make sense to have these 2 separate insets ? >> to me yes. spreadsheat table is no graphics material. >> secondly its kind of API for people who want to develop their own external >> material. > > T

Re: External material/graphics empty samples

2011-07-29 Thread Tommaso Cucinotta
Il 29/07/2011 10:30, Pavel Sanda ha scritto: So, my question: does it make sense to have these 2 separate insets ? to me yes. spreadsheat table is no graphics material. secondly its kind of API for people who want to develop their own external material. Thanks for your comments, Pavel. If you

Re: External material/graphics empty samples

2011-07-29 Thread Pavel Sanda
Tommaso Cucinotta wrote: > Il 23/07/2011 21:14, Pavel Sanda ha scritto: >> hmm and where is the edit button? :) > > there's no edit button in that dialog. The LyX workflow would be: > 1) insert->external material... > 2) fill details in the dialog, click Ok > 3) right-click on the previewed image,

Re: External material/graphics empty samples

2011-07-24 Thread Tommaso Cucinotta
Il 23/07/2011 21:14, Pavel Sanda ha scritto: hmm and where is the edit button? :) there's no edit button in that dialog. The LyX workflow would be: 1) insert->external material... 2) fill details in the dialog, click Ok 3) right-click on the previewed image, choose Edit... shouldn't it be the

Re: External material/graphics empty samples

2011-07-24 Thread Tommaso Cucinotta
Il 23/07/2011 21:03, Pavel Sanda ha scritto: so we ought to ship binary files which will be the new ones? why not ask the external application instead? simply because not every application supports opening a non-existent file. Shipping sample files seems to me the easiest thing to do. T.

Re: External material/graphics empty samples

2011-07-23 Thread Pavel Sanda
Pavel Sanda wrote: > Tommaso Cucinotta wrote: > > Il 22/07/2011 18:47, Pavel Sanda ha scritto: > >> Tommaso Cucinotta wrote: > >>> I dropped the new patch on #3205, so that we don't forget about it. > >> its uncomfortable to comment on the patches coming in gzip form, i.e. > >> the chances to get s

Re: External material/graphics empty samples

2011-07-23 Thread Pavel Sanda
Tommaso Cucinotta wrote: > Il 22/07/2011 18:47, Pavel Sanda ha scritto: >> Tommaso Cucinotta wrote: >>> I dropped the new patch on #3205, so that we don't forget about it. >> its uncomfortable to comment on the patches coming in gzip form, i.e. >> the chances to get some reaction is smaller this wa

Re: External material/graphics empty samples

2011-07-22 Thread Tommaso Cucinotta
Il 22/07/2011 18:47, Pavel Sanda ha scritto: Tommaso Cucinotta wrote: I dropped the new patch on #3205, so that we don't forget about it. its uncomfortable to comment on the patches coming in gzip form, i.e. the chances to get some reaction is smaller this way. pavel because it contained binary

Re: External material/graphics empty samples

2011-07-22 Thread Pavel Sanda
Tommaso Cucinotta wrote: > I dropped the new patch on #3205, so that we don't forget about it. its uncomfortable to comment on the patches coming in gzip form, i.e. the chances to get some reaction is smaller this way. pavel

Re: External material/graphics empty samples

2011-07-22 Thread Tommaso Cucinotta
I dropped the new patch on #3205, so that we don't forget about it. T. Il 22/07/2011 06:22, Tommaso Cucinotta ha scritto: Hi all, I just reworked the patch on the current trunk, plus I added a few desirable things: -) Insert->External Material...-> enter filename (e.g., foo.dia or foo.

Re: External material/graphics empty samples

2011-07-21 Thread Tommaso Cucinotta
Hi all, I just reworked the patch on the current trunk, plus I added a few desirable things: -) Insert->External Material...-> enter filename (e.g., foo.dia or foo.ods or foo.gnumeric), press Create and you get an empty template; -) type a file-name with an extension, and the template type is

Re: External material/graphics empty samples

2011-04-24 Thread Tommaso Cucinotta
Il 23/04/2011 23:48, Tommaso Cucinotta ha scritto: I say "preliminary" because things that one may want to add are: -) launch also the editor, when you press "Create..." -) add another "Edit..." button for launching the external editor -) better control of *where* the new file is created (in the