Bug 112761 - CSS2 media style sheets: media="projection" does not work properly
Summary: CSS2 media style sheets: media="projection" does not work properly
Status: RESOLVED DUPLICATE of bug 91842
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 3.4.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-16 20:46 UTC by Damir Perisa
Modified: 2005-10-17 13:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Damir Perisa 2005-09-16 20:46:25 UTC
Version:           3.4.2 (using KDE 3.4.2, Arch Linux)
Compiler:          Target: i686-pc-linux-gnu
OS:                Linux (i686) release 2.6.13-rc5-mm1-ARCH

konqueror (khtml) is not able to render the css2 media=projection properly

an example presentation:
http://weblogs.mozillazine.org/tor/svgopen2005/mozsvg-public.html

mozilla firefox is rendering it properly with background and navigation control as described in css. 

konqueror is rendering first (while loading) the whole presentation as one website and then (after successfull loading) the title slide as plain-text (without styles from css) and you cannot navigate (go to next slide)

the css2 media type is described here:
http://www.w3.org/TR/REC-CSS2/media.html

and this is a nice resource for more info:
http://www.codestyle.org/css/media/projection-ProjectingYourStyle.shtml

hope this gets fixed soon in khtml, because the xhtml/css2 media=projection is more and more used for presentations (for example i use it often as alternative to kpresenter or openoffice2)
Comment 1 Damir Perisa 2005-09-16 20:50:49 UTC
i just found out, that sometimes, it renders it correctly ... but not always. i will try to investigate, why this is so...
Comment 2 Damir Perisa 2005-09-16 21:00:09 UTC
ok, here a better description on happenings:

- start konqueror
- open the uri "http://weblogs.mozillazine.org/tor/svgopen2005/mozsvg-public.html"
- see that it renders the thing wrongly (as mentioned in bug description)

- reload the tab
- observe, that the presentation is now rendered correctly

instead of reloading, it also works, if the presentation is loaded in a already running konqueror in a second tab 

seems that it does not like to be loaded first, after a fresh start of konqueror instance

why: i have no idea
reproducable: the way now described: always 
urgence: as i know now the workaround, this bug is not that urgent ;-)

maybe we need to have some additional handling in konqueror for the media={projection,screen,print} situations... what about a button in the status-bar, when a presentation is detected (e.g. the website has css2 for media=screen and media=projection), where you can switch between the media=screen and media=projection modes? (like the [RSS] button, that appears, when a website contains a rss-feed)... this way, the surfer/presenter can swicth from one mode (=presentation) to the other (=reading the contents)... and after toggling from one to the other, khtml will know for sure that it should now render in projection mode ... just some thoughts...
Comment 3 Tommi Tervo 2005-10-17 13:49:40 UTC
// S5 slides.js -- released under CC by-sa 2.0 license
//
// Please see http://www.meyerweb.com/eric/tools/s5/credits.html for information 

*** This bug has been marked as a duplicate of 91842 ***