Re: Feedback: Six Nautilus annoyances
- From: Fabio Gomes <bugtraq gs2 com br>
- To: Alexander Larsson <alexl redhat com>
- Cc: Daniel Brodie <daniel brodienet com>, Nautilus <nautilus-list gnome org>
- Subject: Re: Feedback: Six Nautilus annoyances
- Date: Tue, 10 Feb 2004 12:04:09 -0300
Em Ter, 2004-02-10 �11:53, Fabio Gomes escreveu:
> Em Ter, 2004-02-10 �10:41, Alexander Larsson escreveu:
> > On Tue, 2004-02-10 at 14:20, Daniel Brodie wrote:
> > > On Tue, 2004-02-10 at 06:21, Alexander Larsson wrote:
> > > > You don't actually need to reload the window to make the paste menu
> > > > work, selecting a file is enough. But it is rather lame, yes.
> > > >
> > > > The underlying reason for this is a problem with X11. There is no way to
> > > > get told when the owner of a selection changes, so we can't update the
> > > > sensitivity of the paste menu. The fix for this is in the XFIXES X
> > > > extension, but that hasn't ended up in a widely distributed Xserver yet.
> > > > I added some code to cvs that makes it notice changes from inside
> > > > nautilus, so the basic cut/paste cycle in nautilus should work better
> > > > now. It can still be confused if other X clients modify the clipboard
> > > > though.
> > >
> > > Well, since the main problem should most of the time be copying and
> > > pasting between nautilus windows, which are usually in the same process
> > > anyway, can't there be a little hack so that for inter-nautilus
> > > copy&paste it could notify about the other windows about it internally?
> > >
> > > It might not be worth it, if there is a proper fix for it that should be
> > > popular, but I just have no idea on the status of XFixes and so forth.
> > Note how I wrote: "I added some code to cvs that makes it notice changes
> > from inside nautilus, so the basic cut/paste cycle in nautilus should
> > work better now."
> Is it possible to hook some code to be trigged when the "Edit" menu and
> the folder context menu are popped up to check if there is data on the
> clipboard and make the Paste item (in)sensitive accordingly?
After posting this, I realized that every GNOME application has the
"Paste" command always enabled (sensitive) regardless of the presence of
data in clipboard, probably because it is hard to detect such
Maybe Nautilus should follow this behavior for consistence, at least
until there is a better standard approach. :)
Fabio Gomes de Souza <fabio gs2 com br> (+55 81 9127-0597)
.- GS2 TECNOLOGIA DA INFORMACAO LTDA :: www.gs2.com.br
|- IT Infrastructure :: Security :: Embedded systems :: Linux
`- Olinda, Brazil - +55 81 3492-7777 - negocios gs2 com br
] [Thread Prev