forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: EZ on October 05, 2003, 04:21:41 pm

Title: Bugs in 1.1.1 and suggested fixes for 1.2.0
Post by: EZ on October 05, 2003, 04:21:41 pm
Many thanks to Morrey for salvaging this post from the old board!

(05-Oct-2003: Re-posted on new Coppermine board).
(07-Sep-2003: Added new bugs & solutions #8, #9).
(12-Sep-2003: Changed solution to #7 to be simpler and better.)
(12-Sep-2003: Added enhancement #10.)

Here are some problems that I've found with development version 1.1.1 and how I have solved them.

Summary:
Title: Bugs in 1.1.1 and suggested fixes for 1.2.0
Post by: Joachim Müller on October 05, 2003, 11:42:33 pm
Thanks for your very well documented bug report and the suggested fixes. I committed 2 of the solutions immediately to the dev version and set up a bug tracker for the other 8 in the dev board. I'll keep you updated on the solution of those bugs.

GauGau
Title: Bugs in 1.1.1 and suggested fixes for 1.2.0
Post by: EZ on October 06, 2003, 06:42:47 pm
GauGau,

You were too quick... I meant to enter the bugs into the racker myself - thanks for doing it.

Please let me know if you (or other developers) need help if my descriptions aren't clear enough. I'll be glad to help.

Eyal.
Title: Bugs in 1.1.1 and suggested fixes for 1.2.0
Post by: Joachim Müller on October 06, 2003, 08:01:49 pm
we don't use the tracker of sf.net, we use our own "non-public" tracker, so it wouldn't have helped if you added it :wink:

GauGau
Title: Bugs in 1.1.1 and suggested fixes for 1.2.0
Post by: EZ on October 09, 2003, 07:11:44 am
Hi again GauGau,

Can you please tell me which of the fixes you'be applied, and for those that you haven't applied - why?

I'm not trying to pressure you to include all my fixes (well maybe just a little), but I want to know if my fixes do not seem appropriate then maybe I can come up with alternative solutions.

Also, is there any way to access the non-public tracker, and for that matter why not just use the SF tracker?

Thanks and kudos for the wonderful job you do in managing the project.

Eyal.
Title: Bugs in 1.1.1 and suggested fixes for 1.2.0
Post by: Joachim Müller on October 09, 2003, 07:52:49 am
EZ,

here's your list and some remarks regarding what we're going to do about it:
Title: Bugs in 1.1.1 and suggested fixes for 1.2.0
Post by: EZ on October 09, 2003, 06:24:25 pm
GauGau,

Here's some followup:

Quote
Fix missing scrollbars in full-size image view on Mozilla browsers.
done

Good, let's drop it from the list.

Quote
Fix incorrect charset in full-size image view.
done

Ditto.

Quote
Fix image file size so it works also with Right-To-Left language.
Although it may seem like a small isssue, we're not happy with the idea of removing the space between the number and the unit, so we'll have to come up with something else. As yo're the specialist in rtl-languages on this board, you may have another idea - how has this been done with other software?

Yes, there is an alternative - enclose the expression (number + units) in a SPAN tag with hard-coded LTR direction. Sounds more complicated than it actually is, so here's an example:

<span dir="LTR">97 KB</span> -- The tags should of couse go in the template, not the code, so this should be a quick and easy fix.

Don't worry about hard coding directionality, as in this case it's the (only) correct solution. Expert info: The BiDi algorithm uses implied logic and it just can't guess correctly in this case. There may be a somewhat more theoretically standard solution: insert a Unicode LTR character before the expression, and a matching "return to previous direction" character after. But this will only work with Unicode (ie. not with WIN-125X or ISO-8859-X) and I'm not even sure browsers support it.

Note: This raises another issue - some config vars are LTR by nature, such as paths and filenames, etc. Those fields should also be forced to LTR, because in RTL mode they show incorrect data. For example the path httpdocs/gallery/ will show in RTL mode as /httpdocs/gallery - very confusing! This should wait for a later version, no doubt, but can you please add it to the tracker?

Quote
Fix login redirect with phpBB.
Login/logout works differently with most bbs, so the solution you propose may work with phpBB, but not with others. We're still talking this over: should there be a var in the config array the user has to fill that will be the redirect target or should we try to introduce a global var that is filled by the script (it tries to find out the script location). You're right with everything you say, but bbs support is still "experimental"

I understand and agree that another config var is worthy of more thinking and planning. Maybe the right thing to do is add an explanation in the readme for the user to apply the patch with his/her path information (I'm willing to write it). What do you think?

Quote
Fix logout redirect with phpBB.
same as login issue

Not quite. The logout issue requires a simple change on Coppermine side (similar to login) but also a deeper change in phpBB, which is out of the scope of Coppermine. The alternative solution that I've suggested may work around the need to change anything in phpBB, but it's a more involved change and I haven't even tried it yet (although I'm pretty sure it will work).

I agree that the full logout fix can't make it into the coming release, so in the meantime I'll try to test it and also check compatability with phpBB v2.0.5/6. Can't promise a time frame though as I'm really tight on time now.

Quote
Cosmetic - in thumbnail view align thumbs in middle of table cells.
we agreed on this, but the changes haven't been committed yet (just a matter of time).

Ok (but it's a matter of 1-2 minutes).

Quote
Fix next/prev arrow images to work also with RTL languages.
good idea - we were also talking about "advanced" prev/next buttons (that will be greyed out at the very beginning/end of an album), but this feature probably won't make it into the release (we're having a feature freeze at the moment), so it'll be the next version probably...

My code doesn't add any feature, it merely fixes incorrect behavior when the page is in RTL orientation. Also the fix is very small and simple, so it doesn't affect anything else. I think it's worth the 2 minute work...

Quote
Fix e-cards for compatability with MS-Outlook.
has been done afaik

I read an old post (still on chezgreg.net) that the problem was identified and resolved, yet the latest development version did not contain the fix. I suggest to verify that \r is indeed removed. Again this is a 2 minute task that can rid us of an annoying problem that affects many people (all Outlook users).

Quote
Fix probelm when buttons don't show in IE 5.X with RTL language.
There has been an argument about the usage of "advanced" browser features and the problems they're causing. We're trying to drop the layer completely. Will probably not make it into the release though.

I'm not sure I understand the issue with "advanced browsers". The position property isn't used at all so I can't see any issue with removing it. It does nothing except confuse IE 5.X so why not get rid of it?

Quote
Enhancement - Allow admin to change category of user albums.
very good point - admin should be god (will eventually not make it into the next release)

Indeed not an urgent issue. Personally I can patch my own site until the fix is merged into the main distribution.

Quote
The reason for having a non-public bug tracker is simple: not all we talk about on the dev board are bugs, but also features some want this way, some the other. If you discuss this in public, possible future users of coppermine might become frightened, coming to think that coppermine was especially buggy.

That's true for almost any project - see for example the trackers for phpBB, Mozilla, OpenOffice - they are really scary and still the apps are very popular. I wouldn't worry about it. Anyway most new users follow the download link (and then support forums) and only few bother to read docs or check the bug tracker.

Quote
Right now we're also trying to set up a way to add/remove project members and organize the roles inside the team, so there might be a change in our "policy" on bug tracking...

Well it's understandable that you don't want to open everything to everyone until there's some privilige system in place.

It might help to remember that posting to the SF tracker requires registration to SF, which will keep most users in read-only mode. Even I, with my interest with several projects on SF, registered just last week...

Quote
P.S. could you look your proposed modifications over, some lines are hard to track, as the code we're working on has changed from the 1.1 version you're refering to, so the line numbers have changed. Could you refer to code you want changed this way:
[search for]
Code: [Select]
foo[/search for]
[replace with]
Code: [Select]
foo bar[/replace with]


Will do - just please let me know which fixes you intend to apply first and I'll provide the info as you request.

Many thanks!

Eyal.