Bug#712936: iceweasel: can't print to file in the $HOME folder
On 17/02/2014 23:02, Mike Hommey wrote: On Mon, Feb 17, 2014 at 03:58:50PM +0100, Sylvestre Ledru wrote: On 17/02/2014 15:32, Vincent Lefevre wrote: Control: retitle -1 iceweasel: when printing to file to latest (default) Save folder, tmp PDF file is unlinked without being copied to this folder On 2014-02-17 14:08:15 +0100, Sylvestre Ledru wrote: I cannot reproduce this issue. Do you have more information on the bug ? (error in the terminal for example) ? I'm wondering whether this is a bug in iceweasel, because there was no major upgrade recently. Perhaps a bug in some gtk library (the one that provides the print feature?). I'm wondering whether I could test with another gtk2 application that uses the print feature. OK. Your guess is probably right. Trying with both upstream 29 (currently, aurora: an 'alpha' release) and iceweasel 24 29 does not show the bug, 24 shows it. Mike, correct me if I am wrong but, AFAIK, iceweasel is using the libraries provided by Debian while upstream ships patched versions of upstream libraries. Yes and no. Most notably, we're using the in-tree cairo in iceweasel. That being said, i doubt this is related. Can you try iceweasel 29 from mozilla.debian.net? I tried with iceweasel 29 from m.d.n (29.0~a2+20140214004003-1) and I can reproduce the problem that I had with 24 Debian packages but not with the upstream binary tarball. Sylvestre -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#712936: iceweasel: can't print to file in the $HOME folder
Hello Vincent, I cannot reproduce this issue. Do you have more information on the bug ? (error in the terminal for example) ? Are you sure this is not trigger by one of your extensions ? Thanks S -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#712936: iceweasel: can't print to file in the $HOME folder
Control: retitle -1 iceweasel: when printing to file to latest (default) Save folder, tmp PDF file is unlinked without being copied to this folder On 2014-02-17 14:08:15 +0100, Sylvestre Ledru wrote: I cannot reproduce this issue. Do you have more information on the bug ? (error in the terminal for example) ? No errors in the terminal, but the behavior has slightly changed: the last Save folder is now remembered. If I print to file without changing the Save folder, everything seems fine, but the PDF file doesn't appear in this folder. For instance: 0. Default Save folder is A. 1. I print to file, without changing the Save folder. - The file doesn't appear in A. 2. I print to file, changing the Save folder to B. - The file appears in B. OK. 3. I remove the file from B. 4. I print to file, without changing the Save folder. - The file doesn't appear in B. 5. I print to file, changing the Save folder to A. - The file appears in A. OK. 6. I remove the file from A. 7. I print to file, without changing the Save folder. - The file doesn't appear in A. I'm wondering whether this is a bug in iceweasel, because there was no major upgrade recently. Perhaps a bug in some gtk library (the one that provides the print feature?). I'm wondering whether I could test with another gtk2 application that uses the print feature. This may be a problem related to how the Save folder is remembered. Perhaps it is OK in the dialog box, but it is not remembered correctly for the save operation. Are you sure this is not trigger by one of your extensions ? I've just done the test with a new profile (so, no extensions except DOM Inspector), and I can still reproduce the bug. I can see a difference in the strace -f output. Below, the write corresponds to the generation of the PDF file, apparently in some temporary file under /tmp (see 3rd line of each trace). When I changed the Save folder to home: [...] 1551 write(77, %EOF\n, 5)= 5 1551 close(77) = 0 1551 open(/tmp/G2KGBX.tmp, O_RDONLY) = 77 1551 fstat(77, {st_mode=S_IFREG|0600, st_size=68049, ...}) = 0 1551 lseek(77, 0, SEEK_SET)= 0 1551 open(/home/vlefevre/mozilla.pdf, O_WRONLY|O_CREAT|O_EXCL, 0666) = 78 [...] When I do not change the Save folder: [...] 1476 write(42, %EOF\n, 5)= 5 1476 close(42) = 0 1476 open(/tmp/CCRDBX.tmp, O_RDONLY) = 42 1476 fstat(42, {st_mode=S_IFREG|0600, st_size=70156, ...}) = 0 1476 lseek(42, 0, SEEK_SET)= 0 1476 stat(/tmp/CCRDBX.tmp, {st_mode=S_IFREG|0600, st_size=70156, ...}) = 0 1476 lstat(/tmp/CCRDBX.tmp, {st_mode=S_IFREG|0600, st_size=70156, ...}) = 0 1476 unlink(/tmp/CCRDBX.tmp) = 0 1476 close(42) = 0 [...] i.e. the temporary PDF file is removed without an attempt to copy it to the Save folder first! -- Vincent Lefèvre vinc...@vinc17.net - Web: https://www.vinc17.net/ 100% accessible validated (X)HTML - Blog: https://www.vinc17.net/blog/ Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#712936: iceweasel: can't print to file in the $HOME folder
On 17/02/2014 15:32, Vincent Lefevre wrote: Control: retitle -1 iceweasel: when printing to file to latest (default) Save folder, tmp PDF file is unlinked without being copied to this folder On 2014-02-17 14:08:15 +0100, Sylvestre Ledru wrote: I cannot reproduce this issue. Do you have more information on the bug ? (error in the terminal for example) ? I'm wondering whether this is a bug in iceweasel, because there was no major upgrade recently. Perhaps a bug in some gtk library (the one that provides the print feature?). I'm wondering whether I could test with another gtk2 application that uses the print feature. OK. Your guess is probably right. Trying with both upstream 29 (currently, aurora: an 'alpha' release) and iceweasel 24 29 does not show the bug, 24 shows it. Mike, correct me if I am wrong but, AFAIK, iceweasel is using the libraries provided by Debian while upstream ships patched versions of upstream libraries. Sylvestre -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#712936: iceweasel: can't print to file in the $HOME folder
On Mon, Feb 17, 2014 at 03:58:50PM +0100, Sylvestre Ledru wrote: On 17/02/2014 15:32, Vincent Lefevre wrote: Control: retitle -1 iceweasel: when printing to file to latest (default) Save folder, tmp PDF file is unlinked without being copied to this folder On 2014-02-17 14:08:15 +0100, Sylvestre Ledru wrote: I cannot reproduce this issue. Do you have more information on the bug ? (error in the terminal for example) ? I'm wondering whether this is a bug in iceweasel, because there was no major upgrade recently. Perhaps a bug in some gtk library (the one that provides the print feature?). I'm wondering whether I could test with another gtk2 application that uses the print feature. OK. Your guess is probably right. Trying with both upstream 29 (currently, aurora: an 'alpha' release) and iceweasel 24 29 does not show the bug, 24 shows it. Mike, correct me if I am wrong but, AFAIK, iceweasel is using the libraries provided by Debian while upstream ships patched versions of upstream libraries. Yes and no. Most notably, we're using the in-tree cairo in iceweasel. That being said, i doubt this is related. Can you try iceweasel 29 from mozilla.debian.net? Mike -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#712936: iceweasel: can't print to file in the $HOME folder
Control: found -1 24.2.0esr-1 Control: severity -1 important I'm raising this bug to important, because though there's a very easy workaround, by default Iceweasel seems to really print the print to PDF (a box shortly appears) and gives no error messages. In case of a temporary page (not cached), if the user closes it without checking that the PDF file is there, the contents are definitively lost! -- Vincent Lefèvre vinc...@vinc17.net - Web: http://www.vinc17.net/ 100% accessible validated (X)HTML - Blog: http://www.vinc17.net/blog/ Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#712936: iceweasel: can't print to file in the $HOME folder
Package: iceweasel Version: 21.0-1 Severity: minor I want to print to some PDF file (mozilla.pdf). In the Print dialog, I choose Print to File. I can choose the folder (Save in folder). If I keep the default choice (vinc17, which corresponds to $HOME, AFAIK, as this was the case with old Iceweasel/Firefox versions), the PDF file is generated (a Printing window appears for a short time), but the file isn't created in $HOME; I don't get any error message. If I choose another folder, everything is fine. This is always reproducible, and this is a regression. -- Package-specific info: -- Extensions information Name: -Global Styles- userstyle Status: enabled Name: Adblock Plus Location: ${PROFILE_EXTENSIONS}/{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}.xpi Status: enabled Name: Add-on Compatibility Reporter Location: ${PROFILE_EXTENSIONS}/compatibil...@addons.mozilla.org.xpi Status: enabled Name: AlloCiné userstyle Status: enabled Name: Bamboo Feed Reader Location: ${PROFILE_EXTENSIONS}/{b2e69492-2358-071a-7056-24ad0c3defb1} Status: enabled Name: Cinémathèque Française userstyle Status: enabled Name: Combine Stop/Reload buttons userstyle Status: enabled Name: DOM Inspector Location: ${PROFILE_EXTENSIONS}/inspec...@mozilla.org Status: enabled Name: Default theme Location: /usr/lib/iceweasel/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd} Package: iceweasel Status: enabled Name: Dictionnaire français «Moderne» Location: ${PROFILE_EXTENSIONS}/fr-mode...@dictionaries.addons.mozilla.org Status: enabled Name: Different cursor for links that open in new windows userstyle Status: enabled Name: Disable autocomplete userstyle Status: user-disabled Name: Disable marquee userstyle Status: user-disabled Name: DownloadHelper Location: ${PROFILE_EXTENSIONS}/{b9db16a4-6edc-47ec-a1f4-b86292ed211d} Status: enabled Name: Firebug Location: ${PROFILE_EXTENSIONS}/fire...@software.joehewitt.com.xpi Status: enabled Name: Flagfox Location: ${PROFILE_EXTENSIONS}/{1018e4d6-728f-4b20-ad56-37578a4de76b} Status: enabled Name: Flashblock Location: ${PROFILE_EXTENSIONS}/{3d7eb24f-2740-49df-8937-200b1cc08f8a} Status: enabled Name: Font Finder Location: ${PROFILE_EXTENSIONS}/fontfin...@bendodson.com.xpi Status: enabled Name: Forecastfox Location: ${PROFILE_EXTENSIONS}/{0538E3E3-7E9B-4d49-8831-A227C80A7AD3} Status: enabled Name: FxIF Location: ${PROFILE_EXTENSIONS}/{11483926-db67-4190-91b1-ef20fcec5f33}.xpi Status: enabled Name: GLPI - assistance.ens-lyon.fr userstyle Status: enabled Name: Google Search userstyle Status: enabled Name: Greasemonkey Location: ${PROFILE_EXTENSIONS}/{e4a8a97b-f2ed-450b-b12d-ee082ba24781}.xpi Status: enabled Name: HeadingsMap Location: ${PROFILE_EXTENSIONS}/headi...@niquelheadings.net.xpi Status: enabled Name: IMDb userstyle Status: enabled Name: Link Widgets Location: ${PROFILE_EXTENSIONS}/linkwid...@clav.mozdev.org Status: enabled Name: Live HTTP headers Location: ${PROFILE_EXTENSIONS}/{8f8fe09b-0bd3-4470-bc1b-8cad42b8203a} Status: enabled Name: Move tabbar to the bottom userstyle Status: user-disabled Name: Move tabbar to the left userstyle Status: user-disabled Name: Move tabbar to the right userstyle Status: user-disabled Name: Multiple row bookmark toolbar userstyle Status: user-disabled Name: Nerim userstyle Status: enabled Name: Open in Browser Location: ${PROFILE_EXTENSIONS}/openinbrow...@www.spasche.net.xpi Status: enabled Name: PeopleForCinema userstyle Status: enabled Name: Pinger Location: ${PROFILE_EXTENSIONS}/jane...@pinger.xpi Status: enabled Name: QuickWiki Location: ${PROFILE_EXTENSIONS}/{EE223D7A-F30F-11DD-8F0A-D2AD55D89593}.xpi Status: enabled Name: SearchStatus Location: ${PROFILE_EXTENSIONS}/{d57c9ff1-6389-48fc-b770-f78bd89b6e8a}.xpi Status: enabled Name: Showcase Location: ${PROFILE_EXTENSIONS}/{89506680-e3f4-484c-a2c0-ed711d481eda}.xpi Status: enabled Name: Slashdot.org - Remove ads userstyle Status: enabled Name: SourceForge font size in comments userstyle Status: enabled Name: Stylish Location: ${PROFILE_EXTENSIONS}/{46551EC9-40F0-4e47-8E18-8E5CF550CFB8}.xpi Status: enabled Name: Stylish-Custom Location: ${PROFILE_EXTENSIONS}/stylish-cus...@choggi.dyndns.org Status: enabled Name: Tab Mix Plus Location: ${PROFILE_EXTENSIONS}/{dc572301-7619-498c-a57d-39143191b318}.xpi Status: enabled Name: TinEye Reverse Image Search Location: ${PROFILE_EXTENSIONS}/tin...@ideeinc.com Status: enabled Name: United States English Spellchecker dictionary Location: ${PROFILE_EXTENSIONS}/en...@dictionaries.addons.mozilla.org Status: enabled Name: Web Developer Location: ${PROFILE_EXTENSIONS}/{c45c406e-ab73-11d8-be73-000a95be3b12}.xpi Status: enabled Name: Wikipedia font size userstyle Status: enabled Name: X-Ray Location: ${PROFILE_EXTENSIONS}/{3f1182ea-3243-4d32-8826-71fb1cc9c328} Status: enabled Name: YesScript Location: ${PROFILE_EXTENSIONS}/yesscr...@userstyles.org.xpi Status: enabled Name: allocine-imdb greasemonkey-user-script Status: enabled Name: