Val(a)IDE cannot edit files on Windows

Bug #758167 reported by ron@horizonchess.com
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
valide
Confirmed
Critical
Nicolas Joseph

Bug Description

Attempting to edit any file results in a pop-up message:

Val(a)IDE doesn't support this type of document,
would you like to open this with the default program?

If I answer 'Yes' nothing happens. If I answer 'No' nothing happens. If I close the pop-up, the box disappears and I am back in Val(a)IDE

I am using Val(a)IDE 0.7.1 on WindowsXP64, SP1

Tags: win32
Changed in valide:
importance: Undecided → Critical
assignee: nobody → Nicolas Joseph (gege2061)
milestone: none → 0.7.2
tags: added: win32
Changed in valide:
status: New → Confirmed
Revision history for this message
Mike Hohm (mikehohm42) wrote :

This bug also occurs in Windows 7 32-bit.

Revision history for this message
Monkey (monkey-libre) wrote :

Please, could you try with last valide trunk?
https://code.launchpad.net/~valide/valide/trunk

Thanks in advance

Revision history for this message
Gwendal (gwendal) wrote :

Hi,

I hava this bug as well. I wanted to try the last valide trunk, but i'm not sure how to proceed. Could you please give me guidelines ? Should I cross-compile from a linux system, or should I compile under MS Windows directly ?

If I manage to test the last valide trunk, I would be able to tell you if this bug was corrected or not.

Revision history for this message
ron@horizonchess.com (ron-horizonchess) wrote : Re: [Bug 758167] Re: Val(a)IDE cannot edit files on Windows

Hi Erwan,

Workaround: Use the Geany editor instead of Valaide to edit files and
use Valaide to manage your project and make the builds.

At the time I filed the Valaide bug report I was investigating
Vala/Genie as a possible language for my project. Because I had some
small but important Vala language issues on the Windows platform I
decided to abandon the language in favor of plain old C.

I never built Valaide for Windows, so I cannot give you any guidelines.
Sorry.

My impression is that Vala/Genie is designed to run optimally on
Linux-based systems. Windows support is minimal. There are very few
people in the Vala/Genie community that know Windows well enough to help
with workarounds.

Try posting your guidelines question to this maillist group for help:
http://<email address hidden>/index.html

Good luck!

Best regards,
Ron

On 11/11/2011 7:42 AM, Erwan Bousse wrote:
> Hi,
>
> I hava this bug as well. I wanted to try the last valide trunk, but i'm
> not sure how to proceed. Could you please give me guidelines ? Should I
> cross-compile from a linux system, or should I compile under MS Windows
> directly ?
>
> If I manage to test the last valide trunk, I would be able to tell you
> if this bug was corrected or not.
>

Revision history for this message
Johan Mattsson (johan-mattsson-m) wrote :

This bug affects Val(a)ide on Windows Vista too. It seems like a problem connected to the mimetype detection code. Files with .vala extention get the mimetype "application/x-ext-vala" and since it does not begin with "text/*" will val(a)ide try to open the file in an external editor. Same mime type issue does affect .vide files as well.

It wold be so nice with a new binara relase to fix this.

Thanks.

Revision history for this message
voodooattack (voodooattack) wrote :

To fix this edit the registry like so:

In Computer\HKEY_CLASSES_ROOT\.vala

Create a new string key: "Content Type" (without quotes)

Edit the value and change it to: text/plain

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.