(Upload) text on button active but not button - wind theme bug?

andy duggan

Joined: 2006-05-21
Posts: 90
Posted: Wed, 2011-12-14 15:20

Had several people complaining the folder does not open for upload after clicking "Select photos (xx MB max)".

Only if the mouse is clicked exactly on the central text does it work - not in other areas on the button. I think users expect if they click the button in any area it should work - me too!

Button area should be active - not just the text.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2011-12-14 15:51

That button has alot of padding and extra width.
Look for this css and adjust to your needs:

#g-add-photos-canvas object, #g-add-photos-button {
    left: 137px;
    margin: 0.5em 0;
    padding: 0.4em 1em;
    position: absolute;
    top: 0;
    width: 175px;
}

modules/gallery/css/gallery.css line ~30

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
andy duggan

Joined: 2006-05-21
Posts: 90
Posted: Thu, 2011-12-15 10:29

Just pointing out that general users out there think it doesn't work when they click the buttons and nothing happens - should be fixed in the software and not a hand edit for those that want to fix it. But thanks for that - I will probably do the edit but hope it is changed in the next release (rather than editing forever).

 
andy duggan

Joined: 2006-05-21
Posts: 90
Posted: Thu, 2011-12-15 10:35

Actually, just looking at it again, only half the button is active!!!

Im using the wide theme and the css is:
#g-add-photos-canvas object,
#g-add-photos-button {
left: 90px;
margin: .5em 0;
padding: .4em 1em;
position: absolute;
top: 0;
width: 300px;
}

But "Select Photos (20MB max per file)...", only the first half of the button is active up to 20M. After that, 1/2 of it is not active - useless.

Editing to 175px makes the whole button become active - this is a bug with the wide theme.

 
andy duggan

Joined: 2006-05-21
Posts: 90
Posted: Thu, 2011-12-15 10:54

It gets worse ... after adjusting the ccs width to 175px the button is now active, but fails. It does not open a folder explorer window. It just reloads to the album page.

This is from the 'Add some' link. And also the same from the Add photo menu.

Setting the width back to 300px with only 1/2 active button works again ... 1/2 a working button.

Not just the wide wind theme ... doing the same on the standard wind theme.

The cancel button at the bottom isnt active either unless its uploading. Not ideal behavior ...

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2011-12-15 12:47

The only active portion of the button is the flash object. Not the surrounding html element.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
andy duggan

Joined: 2006-05-21
Posts: 90
Posted: Fri, 2011-12-16 17:07

Appreciate the help but I posted here because 'simple' users click the button and it doesn't work ... and I have sympathy for them because they are right. Its pure and simple - an error in design.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2011-12-16 18:48

Please file a bug and we will fix this issue. It might get lost in the forums if there is not a bug filed.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
andy duggan

Joined: 2006-05-21
Posts: 90
Posted: Mon, 2012-01-02 09:44

will do ...soon.

 
andy duggan

Joined: 2006-05-21
Posts: 90
Posted: Sun, 2012-06-03 13:27

Sorry, left it too long. This wasn't fixed in 3.0.3.
Will try and log in the bug tracker and do it now.

 
andy duggan

Joined: 2006-05-21
Posts: 90
Posted: Wed, 2012-06-13 03:26

Now submitted on the bug tracker.