Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 22 Oct 2014, 05:49
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
jwm+fullscreen flash bug traced - how to fix?
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Mon 03 May 2010, 00:55    Post_subject:  jwm+fullscreen flash bug traced - how to fix?  

Many have noted the really annoying bug in jwm prior to flash 10 jwm prevented fullscreen

I think I have finally discovered why by playing with the group settings to try and force it.

the flash video gets its name from the parent (checked using sleep5 && xwininfo <-- needed sleep so I could click the fullscreen button)

adding these should force fullscreen
<Group>
<Class>seamonkey-bin</Class>
<Name>seamonkey-bin</Name>
<Option>pignore</Option>
<Option>hmax</Option>
<Option>vmax</Option>
<Option>maximized</Option>
</Group>

the maximized tag works as normal for seamonkey-bin as long as hmax or vmax is not in place, however adding them PREVENTS instead of forcing maximization

it appears that flash10 just uses maximize while flash9 uses HMAX and VMAX

flash9 is still being updated and is 2MB smaller with less dependencies so it would be nice to get this fixed ... who knows what other issues it will fix along the way - I think there was a related gxine bug too

Hopefully someone can confirm - I could be completely off base because I have zero C skills... anyone???

EDIT --- further info
from joewing.net documentation
hmax Make windows in this group maximize horizontally by default.
vmax Make windows in this group maximize vertically by default.

hmax expected - window opens maximized horizontally
hmax actual - window opens as normal when maximize is press it ONLY maximizes horizontally

hmax & vmax expected - window opens maximized horizontally and vertically
hmax & vmax actual - window opens as normal when maximize is press it does not maximize at all

it seems like jwm is setting the window state as maximized (V or H) instead of performing the action

for instance in hint.h there is

    ATOM_NET_WM_ACTION_MAXIMIZE_HORZ,
    ATOM_NET_WM_ACTION_MAXIMIZE_VERT,


and

    ATOM_NET_WM_STATE_MAXIMIZED_VERT,
    ATOM_NET_WM_STATE_MAXIMIZED_HORZ,


seems like this is a likely culprit, but I don't think I can debug any further

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
AF Branden


Joined: 15 Sep 2009
Posts: 175
Location: United States, WA

PostPosted: Sat 25 Dec 2010, 22:41    Post_subject:  

I would LOVE to see this fixed, unfortunately I have no programming skills. Also, this isn't just limited prior to flash 10; I have flash 10.1 r53 and I still have this problem. Also using seamonkey 1.1.15.


I'll probably try HairyWill's patch and see how it works
http://www.murga-linux.com/puppy/viewtopic.php?p=272409#272409

_________________

Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Wed 29 Dec 2010, 11:26    Post_subject:  

patriot's patch fixes this and is now upstream as of jwm-svn-500
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Off-Topic Area » Programming
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0443s ][ Queries: 11 (0.0044s) ][ GZIP on ]