#512 ✓resolved
Roger

unable to open locked folders on linux/windows via drb

Reported by Roger | April 28th, 2011 @ 12:09 AM

Hello.
Currently if you create a "locked" redcar project (ex: open a directory, then kill -9 that redcar instance), then you start up another redcar instance in a window (that doesn't open that directory), then close it so that it is running in the background, waiting for drb instances, then open the "locked" redcar project, nothing happens, and the following occurs:

https://gist.github.com/945409

This seemed to work, since apparently it dislikes having no parent shell. [Note, this is reproducible in linux and windows].

Cheers!

-r

diff --git a/plugins/application_swt/lib/application_swt.rb b/plugins/application_swt/lib/application_swt.rb
index 391cf23..db7c623 100644
--- a/plugins/application_swt/lib/application_swt.rb +++ b/plugins/application_swt/lib/application_swt.rb @@ -129,7 +129,7 @@ module Redcar

 end

 def create_fake_window
  • if Redcar.platform == :osx
  •   if Redcar.platform == :osx || Redcar.platform == :windows
     @fake_shell = Swt::Widgets::Shell.new(ApplicationSWT.display, Swt::SWT::NO_TRIM)
     @fake_shell.open
     @fake_shell.set_size(0, 0)
    

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A programmer's text editor for Gnome.

People watching this ticket

Pages