* No way to cancel SendFiles() in obexd
@ 2009-12-14 17:01 Bastien Nocera
2009-12-14 18:44 ` Vinicius Gomes
0 siblings, 1 reply; 3+ messages in thread
From: Bastien Nocera @ 2009-12-14 17:01 UTC (permalink / raw)
To: BlueZ development
Heya,
I have a slight problem with SendFiles().
When sending multiple files, and refusing one of them on the phone, the
subsequent files are still sent.
Is there a way to avoid that? Or should I rework the UI slightly to
mention that some files were not sent?
For a single file, you'll get a nice "retry" button if the phone refused
the connection. I'd prefer it if the agent could ask me whether to carry
on sending files, or cancel all the sending.
Cheers
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: No way to cancel SendFiles() in obexd
2009-12-14 17:01 No way to cancel SendFiles() in obexd Bastien Nocera
@ 2009-12-14 18:44 ` Vinicius Gomes
2009-12-14 19:16 ` Bastien Nocera
0 siblings, 1 reply; 3+ messages in thread
From: Vinicius Gomes @ 2009-12-14 18:44 UTC (permalink / raw)
Cc: BlueZ development
Hi Bastien,
On Mon, Dec 14, 2009 at 2:01 PM, Bastien Nocera <hadess@hadess.net> wrote:
> Heya,
>
> I have a slight problem with SendFiles().
>
> When sending multiple files, and refusing one of them on the phone, the
> subsequent files are still sent.
>
> Is there a way to avoid that? Or should I rework the UI slightly to
> mention that some files were not sent?
>
As of now, there's no way to avoid that. Personally, I like the
current behavior, at least, it is consistent with other tools, cp for
example.
> For a single file, you'll get a nice "retry" button if the phone refused
> the connection. I'd prefer it if the agent could ask me whether to carry
> on sending files, or cancel all the sending.
>
Between those two options, I prefer cancel all the sending.
> Cheers
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
Cheers,
--
Vinicius Gomes
INdT - Instituto Nokia de Tecnologia
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: No way to cancel SendFiles() in obexd
2009-12-14 18:44 ` Vinicius Gomes
@ 2009-12-14 19:16 ` Bastien Nocera
0 siblings, 0 replies; 3+ messages in thread
From: Bastien Nocera @ 2009-12-14 19:16 UTC (permalink / raw)
To: Vinicius Gomes; +Cc: BlueZ development
On Mon, 2009-12-14 at 15:44 -0300, Vinicius Gomes wrote:
> Hi Bastien,
>
> On Mon, Dec 14, 2009 at 2:01 PM, Bastien Nocera <hadess@hadess.net> wrote:
> > Heya,
> >
> > I have a slight problem with SendFiles().
> >
> > When sending multiple files, and refusing one of them on the phone, the
> > subsequent files are still sent.
> >
> > Is there a way to avoid that? Or should I rework the UI slightly to
> > mention that some files were not sent?
> >
>
> As of now, there's no way to avoid that. Personally, I like the
> current behavior, at least, it is consistent with other tools, cp for
> example.
That's fine if you're implementing a command-line tool. Most UIs that do
copy will block until the user acknowledges the problem.
> > For a single file, you'll get a nice "retry" button if the phone refused
> > the connection. I'd prefer it if the agent could ask me whether to carry
> > on sending files, or cancel all the sending.
> >
>
> Between those two options, I prefer cancel all the sending.
That would be fine by me, at least I can implement re-sending in some
way, even if it's not the way it currently works.
Marcel, what do you think?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-12-14 19:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-14 17:01 No way to cancel SendFiles() in obexd Bastien Nocera
2009-12-14 18:44 ` Vinicius Gomes
2009-12-14 19:16 ` Bastien Nocera
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).