View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007053 | mantisbt | tools | public | 2006-05-08 08:01 | 2013-08-16 06:33 |
Reporter | vboctor | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Product Version | 1.0.3 | ||||
Summary | 0007053: Mantis Plugin for Cropper (a free screen capture utility for Windows) | ||||
Description | It is often needed to taken screenshots and attach them to Mantis issue. I've decided to look for one that is free and can integrate well with Mantis. I've found Cropper ( http://blogs.geekdojo.net/brian/comments/9730.aspx ) to be a good one. It requires Windows and .NET. I've implemented a plug-in for Cropper that saves the snapshot as a JPG and puts the full path to the captured filename in the clipboard. This way the file path can be pasted into the issue report or issue view pages to attach the screenshot to the issue. This tool + the plugin achieve the following:
To install this plug-in, download Cropper v1.8, install it, then place Futureware.Mantis.Cropper.dll into the following path: It is recommended to use the following Cropper settings:
This issue is dedicated to Cropper, and possibility recommendation of other tools. However, in the case where someone has implemented some similar plug-in that works with another tool, please report this as a separate issue and refer to it from here. I'm really interested to get feedback about this or similar tools that you have been using with Mantis. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
has duplicate | 0005015 | closed | grangeway | Upload screenshots/screen captures and clipboard images |
related to | 0007288 | closed | atrol | Add Functionality to paste a screen shot |
related to | 0008659 | closed | atrol | Snap-shot |
related to | 0010739 | closed | dregad | Inserting Snapshot into bug description in an easier way |
related to | 0012406 | closed | atrol | Screenshot Tool |
Very neat tool! I would prefer, however, if the copy the file path to clipboard feature was added into Cropper itself if that is possible. I know you dont control that code, but maybe you can talk to Brian. Mainly because I would prefer to be able to choose my output format (I much prefer Png over Jpeg for screen shots... smaller file size and much cleaner output). This could be written into the mantis plugin, of course, but you would just be adding menu items below the mantis output menu item that list all the other output types, which seems redundant. (hopefully that makes sense) |
|
There is another great free software which offers this functionality - Screenshot Captor ( http://www.donationcoder.com/Software/Mouser/screenshotcaptor/index.html ). Ability to copy screenshot path to clipboard is a built-in feature since v2.13.01 (so you don't have to install any plugin, just check it in preferences) and it allows to choose output format as kgrubbs requires. |
|
This is really neat. I do think PNG format would be better. |
|
New feature request! How about something that allows us to take a snapshot and forward that directly into a new mantis ticket? I've been keeping an eye on FogBugz, and there's a similar tool available for it that sits in your Tray just like Cropper does. Select it when you want to snap an image, and the image you snap becomes part of a new ticket. 90% of the bugs my team enters would begin this way, so that makes a lot more sense to me rather than cutting and pasting an image. Of course past this point I'd include two avenues to take the shot, one keystroke like F6 that would create the ticket when I took the snapshot, and F7 when I want to add to an existing issue. For F7, just ask for the ticket number, or a list of the most recent issues. |
|
If it is any help I have found (MWSNAP)http://www.mirekw.com/winfreeware/mwsnap.html is a very useful screencapture tool. It also can auto copy to clipboard. |
|
Great tool, unfortunately still no way for a screen shot tool to get the shot directly into Mantis :< |
|
Attached Futureware.Mantis.Cropper.3.zip which includes the following:
I would love to get feedback on this tool in terms of functionality and usability. |
|
Well - I have MantisBT 1.0.8 installed. Works fine. "mc_issue_attachment_add" not defined in service. Did I miss something in configuration?? |
|
Download Mantis 1.1.0rc2 and copy the api/soap folder contents on top of your current mc folder. Do a backup first :) |
|
This is looking awesome! How about creating a new issue? Uploading to an existing one work great. |
|
Hi! Thanks in advance! |
|
Probably this helps others: First I had all the problems above when using an older Mantis version and the Mantis Connector in a custom mt/ folder from here: http://www.futureware.biz/mantisconnect/ Now with it being built in into Mantis 1.1.0rc2 these errors are gone. -- However I still get this error when trying to upload: (I have it all setup like in the dokus the newsest Mantis 1.1.0rc2 and Cropper v1.9.1 with Futureware.Mantis.Cropper.3 plugin) -- |
|
Zander, if you paste the MantisConnectUrl to the browser what do you see? It should look like this one: mcraig88, I am thinking of adding the feature to allow for reporting new issues rather than just supporting attaching screenshots to existing issues. The issue here is to identify the fields that should be settable when reporting such new fields. However, the feature will be added when I do more work on this tool. tronics, are you able to attach screenshots to Mantis through the web interface? Is the upload folder set for the project you are attaching the issue to? Do you have the default upload filter set in the configuration? |
|
Thanks for your feedback but I couldn't yet resolve this issue.
:( |
|
vboctor, yes, I see the same. For example: |
|
::Zander:: 1., I kept on getting the "Fatal error: Cannot redeclare class soapclient in F:\Program Files\xampp\htdocs\mantis\api\soap\nusoap\nusoap.php on line 7240" message, when trying to access: "http://localhost/mantis/api/soap/mantisconnect.php" - it was beacuse of php tried to reinitailize the "soapclient" class, so i had to rename the class to "soapclient_" in the php code on line 6407. It can not be used anymore, but doesn't seem to be needed.
it worked on my side, |
|
::vbdoctor:: Is there a way to set it up to communicate through a proxy(isa) server? Or do You plan to develop an interface for configuring http connection? |
|
1) <Fehler bei der Anforderung mit HTTP-Status 400: Bad Request.> as it tries to fetch the bug note 2) also looking at the apache error logs I get something like [Tue Nov 20 18:57:31 2007] [error] [client 1.2.4.8] request failed: erroneous characters after protocol string: <?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\\" xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\\" xmlns:tns=\"http://futureware.biz/mantisconnect\\" xmlns:types=\"http://futureware.biz/mantisconnect/encodedTypes\\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\\"><soap:Body soap:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\\"><tns:mc_issue_get><username xsi:type=\"xsd:string\">myuser</username><password xsi:type=\"xsd:string\">mypassword3</password><issue_id xsi:type=\"xsd:integer\">9</issue_id></tns:mc_issue_get></soap:Body></soap:Envelope>POST /mantis/webservice/mantisconnect.php HTTP/1.1 Any idea what's going wrong here? I tried disabling mod_security, but that didn'T help see screenshot at |
|
Some errors are solved with: 0008695 |
|
is there a way to inegrate it inside Mantis? |
|
Works great, nice tool. But I agree it would be nice to be able to create a new bug. What about this option: To give an option to copy the link to file the bug report page that is not yet saved. This should be relatively easy to do with
???? |
|
Really nice :-) |
|
Cropper 1.9.1, Mantis 1.1.1 Followed instructions as per note 15917 and it works; leaving the dialog open long enough causes the issue summary to be retrieved, and the screenshot DOES get appended to the Mantis issue. However, after clicking the "OK" button in Cropper, I get a messagebox with the title "Failure" and the words "Access Denied". Does anyone know what the cause of this is? |
|
Hello, |
|
IF you enter an optional note.... 1.1.1: Works I added the parameter locally to my 1.1.2 setup and it now works as expected. |
|
Jmoger, could you be more accurate? What does it mean: "I added the parameter locally to my 1.1.2 setup"??? Thanks Gôm |
|
I found the answer by myself! ;-) <u>Source:</u> http://www.mantisbt.org/bugs/view.php?id=9309#bugnotes (last note) |
|
1.1.2 Function Header which is missing the $p_send_email parameter (Line 102): My bad about this being fixed in 1.2.0a1. Its fixed in 1.2.0a2. Trunk Function Header which includes the $p_send_email parameter (Line 107): |
|
I've a problem. I can upload to mantis, but when I want to download file...error <Ñ SYSTEM WARNING: Cannot modify header information - headers already sent by (output started at F:\wamp\www\mantis\file_download.php:172) also thumbnail didn't work the content of jpg file is: |
|
Even I am facing the same problem as Piccolobill. I have used three different Croppers to attach images to mantis. I am able to attach the images in all three, however, when I download the image it is blank with just <Ñ displayed. I guess it is some parsing error where the api is unable to handle jpg or png images. Any updates? |
|
Solution: The Mantis SOAP API expects the attachement to be encoded before attaching. Therefore, when you try to download it from the Hyperlink, it decodes the attachment and displayes on our screen. When we use a Cropper, the cropper does not Encode the Image when attaching to the bug using Mantisconnect, therefore, when we download it, its decodes the un-encoded file, thus returning garbage value <N or x within the file. Tweak: Change the following lines within .\api\soap\mc_issue_attachment_api file #Existing: #Modification Thus now if you try to attach any file using the cropper, it would attach correctly. Cheers |
|
IT WORKS!!!! |
|
@nusrath: Thanks alot. |
|
Hi, this looks great, but we really need the ability to add a new bug directly from the tool. Is there any chance you would release the source to the plug in? Thanks very much for the hard work. |
|
Thank you! I need to save picture in PNG. Can it? |
|
Hi, we just tried to get it to work with Mantis 1.2.0rc1, but it always says Can anyone confirm that the plugin still works with mantis >=1.2 and cropper 1.9? |
|
I can use Cropper with 1.2.0, but are unable to use it with 1.2.3 and 1.2.4 It is about misformed XML: 0x1A is a invalid character: Line 19, position 1. How can this be solved? |
|
Anyone. We heavinly rely on the use of Cropper, and this is preventing us to update. |
|
I sponsor this if someone could solve my problem! |
|
Finally ( with thanks to Tim Schoondergang of TimmiT.nl ) the solution is found. Problem is in function mci_file_add in mc_file_api.php: The last value in line 119 should been quoted: $query = "INSERT INTO $t_file_table |
|
We actually should have something less dependant of Windows/.net |
|
We have mantis running in LINUX platform, does this plugin be customized to work? Also, a link to initiate the image capture would be of great help. |
|
Can someone point me out where I should look for the code responsible for adding a Note from Cropper to Mantis. It is added as 'private' and I would like to add to Note as 'public'. |
|
Hi, |
|