Re: [rkward-devel] icon soup
Hi, On Monday 27 June 2011, meik michalke wrote: Good question. While rk.set.output.html.file() exists, so far, the general assumption in RKWard is that there is _one_ output file, and the user will rarely switch to a different file. personally, i sometimes think it would be nice to have one file per analysis or project, or workspace... in general it would better fit my view on workflows. because when i start RKWard, i usually want to work on something explicitly, and since i often have several projects in parallel, the one output file for all becomes increasingly difficult to read over time. yes, good point. Propertly supporting more than one output file is a long- standing item on the TODO list, but I never got around to implement more than just rk.set.output.html.file(). I guess, having one output file per workspace would be a good default behavior (but of course, users should also be able to start new output files, manually, easily). Besides, each output file should get a separate subdirectory, esp. to keep plot files organized, better. in the meantime, i began to think of something new which i'd find cool for the results. well, it's three things: a) possibility of some form of a table of contents (like named anchors in the HTML), e.g. for longer analysis results, and a top link at the end of each subresult. could be implemented as two functions like rk.insert.TOC() and rk.insert.toplink() and then be used in plugins. the top link would only jump back to the beginning of the plugin results it belongs to. this would make it easier to navigate through results. b) a link to copy only the portion of results it belongs to to the clipboard (full HTML) c) a delete link to remove the portion of results it belongs to from the results file as for b) and c), i can't think of a way to do this in plain HTML, and i have never tried anything like c) before. i think b) could somehow be possible with span and some javascript, where copy to clipboard might be the tricky part. let me know if you think any of this is worth a shot. then, when i have some time, i could try to do some proof-of-concepts there. Absolutely. Each of these features would be good to have. Some comments: a) Plugin output is expected to start with a call to rk.header(level=1). And it is guaranteed to ends with .rk.make.hr(). So, probably, it's enough to make these smarter, and we don't need any additional functions (although .rk.make.hr() should probably be renamed). Regarding the TOC, perhaps this should be written to a separate HTML file, and be displayed in a frame? b) and c) probably cannot be done in plain HTML, indeed. Rather this should probably be implemented in C++, as a context menu. Having proper spans with unique identifiers in the HTML would be a helpful starting point, though. Regards Thomas signature.asc Description: This is a digitally signed message part. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ RKWard-devel mailing list RKWard-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkward-devel
Re: [rkward-devel] icon soup
Am Freitag, 17. Juni 2011, 20:03:43 schrieb Thomas Friedrichsmeier: Essentially, the problem needs fixing in kdelibs (see https://git.reviewboard.kde.org/r/101653/), but I have found a way to work around this in RKWard. So this should be fixed with the next daily build. just a short note on that: it did fix it for the pre-defined output document. but if change the setting to another file, create some output, change output file again, and so on, the problem remains. well, but maybe my approach was a bit too brute force to begin with... is there a better way to tell RKWard to write certain test results into one specific HTML file (other than rk.set.output.html.file())? viele grüße :: m.eik -- dipl. psych. meik michalke abt. fur diagnostik und differentielle psychologie institut fur experimentelle psychologie heinrich-heine-universitat dusseldorf signature.asc Description: This is a digitally signed message part. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ RKWard-devel mailing list RKWard-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkward-devel
Re: [rkward-devel] icon soup
Hi, On Monday 27 June 2011, meik michalke wrote: just a short note on that: it did fix it for the pre-defined output document. but if change the setting to another file, create some output, change output file again, and so on, the problem remains. hm, strange thing. I managed reproduce the problem once, using the following test-script: for (i in 1:5) { rk.set.output.html.file(tempfile()) Sys.sleep (1) rk.print (i) Sys.sleep (1) } and then closing the output windows one by one. After that, somehow I could not reproduce it any more, no matter what I tried. No idea. But I have made one more small modification in SVN, so perhaps it's worth testing once more. Of course, either way, the proper place to fix this, is still in KDElibs. well, but maybe my approach was a bit too brute force to begin with... is there a better way to tell RKWard to write certain test results into one specific HTML file (other than rk.set.output.html.file())? Good question. While rk.set.output.html.file() exists, so far, the general assumption in RKWard is that there is _one_ output file, and the user will rarely switch to a different file. In fact, there is not even a GUI-action for switching to a different output file, so far. Is this for a plugin, or for a (private) script? In the first case, I'd recommend to stick with the one output file for everything approach, unless you have a very convincing reason to do otherwise. In the second case, you have a number of options: 1) Use R2HTML, directly, instead of rk.print() and friends. 2) Use a custom replacement for rk.set.output.html.file(), which does *not* include the line '.rk.do.plain.call(set.output.file, x, synchronous = FALSE)' (like the one in the rkwardtests package). 3) Uncheck Settings-Configure RKWard-Output-Show window on new output . This way you won't be flooded with windows. Regards Thomas signature.asc Description: This is a digitally signed message part. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ RKWard-devel mailing list RKWard-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkward-devel
Re: [rkward-devel] icon soup
hi, am Montag 27 Juni 2011 (17:34) schrieb Thomas Friedrichsmeier: hm, strange thing. I managed reproduce the problem once, using the following test-script: for (i in 1:5) { rk.set.output.html.file(tempfile()) Sys.sleep (1) rk.print (i) Sys.sleep (1) } and then closing the output windows one by one. After that, somehow I could not reproduce it any more, no matter what I tried. No idea. cosider your script pure magic -- i just tried it, and it didn't even produce the problem during the first run 8-) RKWard version 0.5.6z+0.5.7-0daily+3183+201106242148~natty1 Of course, either way, the proper place to fix this, is still in KDElibs. +1 Good question. While rk.set.output.html.file() exists, so far, the general assumption in RKWard is that there is _one_ output file, and the user will rarely switch to a different file. personally, i sometimes think it would be nice to have one file per analysis or project, or workspace... in general it would better fit my view on workflows. because when i start RKWard, i usually want to work on something explicitly, and since i often have several projects in parallel, the one output file for all becomes increasingly difficult to read over time. but that's just me, and actually a different topic than how i got into the current ex-issue ;-) Is this for a plugin, or for a (private) script? it was a script, here's the use case: i had to repeatedly analyze 12 different texts with my koRpus package (which btw. is really fun to work with now ;-)). each analysis ends up spitting out two tables with about 1000 rows and several columns of (mostly) text. if this had all ended up in one huge file, it would have been quite uncomfortable to work with later; i was giving it to students for further analysis of those texts, where they sometimes had to change back and forth within one text. 1) Use R2HTML, directly, instead of rk.print() and friends. sure, could have done that. i just thought, well, there's this nice GUI, let's see if it can help me here, too ;-) 3) Uncheck Settings-Configure RKWard-Output-Show window on new output . This way you won't be flooded with windows. i'll maybe do that the next time. in the meantime, i began to think of something new which i'd find cool for the results. well, it's three things: a) possibility of some form of a table of contents (like named anchors in the HTML), e.g. for longer analysis results, and a top link at the end of each subresult. could be implemented as two functions like rk.insert.TOC() and rk.insert.toplink() and then be used in plugins. the top link would only jump back to the beginning of the plugin results it belongs to. this would make it easier to navigate through results. b) a link to copy only the portion of results it belongs to to the clipboard (full HTML) c) a delete link to remove the portion of results it belongs to from the results file as for b) and c), i can't think of a way to do this in plain HTML, and i have never tried anything like c) before. i think b) could somehow be possible with span and some javascript, where copy to clipboard might be the tricky part. let me know if you think any of this is worth a shot. then, when i have some time, i could try to do some proof-of-concepts there. viele grüße :: m.eik -- dipl. psych. meik michalke institut fur experimentelle psychologie abt. fur diagnostik und differentielle psychologie heinrich-heine-universitat 40225 dusseldorf signature.asc Description: This is a digitally signed message part. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ RKWard-devel mailing list RKWard-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkward-devel
Re: [rkward-devel] icon soup
hi heiko, am Freitag 17 Juni 2011 (09:40) schrieb Heiko Tietze: Am Freitag, 17. Juni 2011, 00:06:09 schrieb meik michalke: here's how everyone can reproduce what i was running into: well, obviously not everyone ;-) Works like a charm. here's what i get: o http://reaktanz.de/stuff/R/RKWard_icon_soup.png do you have the responsible plugins installed and activated in konqueror? viele grüße :: m.eik -- dipl. psych. meik michalke institut fur experimentelle psychologie abt. fur diagnostik und differentielle psychologie heinrich-heine-universitat 40225 dusseldorf signature.asc Description: This is a digitally signed message part. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ RKWard-devel mailing list RKWard-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkward-devel
Re: [rkward-devel] icon soup
do you have the responsible plugins installed and activated in konqueror? I'm using Firefox (4.0.1) with some extensions but never Konqueror. Latter runs with standard settings, e.g. W3 is disabled. Perhaps X.org, graphic driver and some other versions are relevant. X -version X.Org X Server 1.8.0 Release Date: 2010-04-02 X Protocol Version 11, Revision 0 Build Operating System: openSUSE SUSE LINUX Current Operating System: Linux linux-5nff.site 2.6.39.1-32-desktop #1 SMP PREEMPT Sun Jun 12 23:19:51 UTC 2011 (fb46697) x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.39.1-32-desktop Current version of pixman: 0.18.0 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. kwin --version Qt: 4.7.3 KDE: 4.6.4 (4.6.4) KWin: 4.6.4 (4.6.4) cat /var/log/Xorg.0.log | grep DRI [41.461] (II) Loading extension XFree86-DRI [41.463] (II) Loading extension DRI2 [42.480] (II) intel(0): [DRI2] Setup complete [42.480] (II) intel(0): [DRI2] DRI driver: i965 [43.097] (II) intel(0): direct rendering: DRI2 Enabled [43.168] (II) GLX: Initialized DRI2 GL provider for screen 0 RKWard Version 0.5.5.z+0.5.6+test1 Unter KDE 4.6.4 (4.6.4) -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ RKWard-devel mailing list RKWard-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkward-devel
Re: [rkward-devel] icon soup
On Friday 17 June 2011, Heiko Tietze wrote: do you have the responsible plugins installed and activated in konqueror? I'm using Firefox (4.0.1) with some extensions but never Konqueror. Latter runs with standard settings, e.g. W3 is disabled. Perhaps X.org, graphic driver and some other versions are relevant. It only happens for certain (buggy) plugins, so that explains, why you don't see it. Essentially, the problem needs fixing in kdelibs (see https://git.reviewboard.kde.org/r/101653/), but I have found a way to work around this in RKWard. So this should be fixed with the next daily build. Regards Thomass signature.asc Description: This is a digitally signed message part. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ RKWard-devel mailing list RKWard-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkward-devel
Re: [rkward-devel] icon soup
To simulate your issue I created several data sets. Rkward did correctly include an ruler at the right end which can be used to scroll between subwindows. Thereby no unneccessary space will be occupied. If I close one of these windows it's removed completely. Am Donnerstag, 16. Juni 2011, 12:33:20 schrieb meik michalke: hi, i discovered a new problem: i just wrote a small function which created a load of different HTML output docs using rk.set.output.html.file(). i wanted to save each result of a loop to a new HTML file, which actually worked well. but RKWard automatically openend each in a new tab, and it has these little small icons in the bottom info bar: e.g., it added W3 validation icons for each tab. even when an output tab was closed, its icons remained. now, the problem was that there were so many of these icons, that the RKWard window became much larger then the screen (which is a 24 monitor), so i had to close the session. maybe there should either be a limit to the space these icons can occupy, like 1/3 of window width or so. or, another solution would be to show only those icons which actually belong to the active tab (which would also be more intuitive, and even remove them when a tab is closed)? viele grüße :: m.eik -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ RKWard-devel mailing list RKWard-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkward-devel
Re: [rkward-devel] icon soup
Hi, maybe there should either be a limit to the space these icons can occupy, like 1/3 of window width or so. or, another solution would be to show only those icons which actually belong to the active tab (which would also be more intuitive, and even remove them when a tab is closed)? well, usually they should be removed, automatically. In fact, for the adblock icon that works with KDE 4.6 (but used to be broken, with some earlier versions of KDE), but in fact, the icons for the W3 validation konqueror- plugin remain. I think this is a bug in the W3 validation plugin. Interestingly, however, konqueror seems to be able to work around this, somehow. I'll have to find out, how they do it. Could you submit a bug-report? Regards Thomas signature.asc Description: This is a digitally signed message part. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ RKWard-devel mailing list RKWard-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkward-devel
Re: [rkward-devel] icon soup
hi, am Donnerstag 16 Juni 2011 (15:43) schrieb Thomas Friedrichsmeier: maybe there should either be a limit to the space these icons can occupy, like 1/3 of window width or so. or, another solution would be to show only those icons which actually belong to the active tab (which would also be more intuitive, and even remove them when a tab is closed)? well, usually they should be removed, automatically. here's how everyone can reproduce what i was running into: - if you don't have the results tab open, open it (windows - show output) - close the tab again - repeat these steps you should notice a growing number of icons in the status bar, lower right corner. if you repeat it often enough, the icons will increase the width of RKWard's window further and further. Could you submit a bug-report? sure. viele grüße :: m.eik -- dipl. psych. meik michalke institut fur experimentelle psychologie abt. fur diagnostik und differentielle psychologie heinrich-heine-universitat 40225 dusseldorf signature.asc Description: This is a digitally signed message part. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ RKWard-devel mailing list RKWard-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkward-devel