Ticket #2989 (new Bugs)

Opened 5 months ago

Last modified 3 months ago

Insufficient FOP button positions autogenerated for small layout rectangles

Reported by: Nick_Lewis Assigned to: p_lindheimer
Priority: minor Milestone: Cut Line
Component: Core Version: SVN-HEAD
Keywords: Cc:
Confirmation: Unreviewed SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

Revision [6180] introduced the auto generation of FOP button positions from the defined layout rectangles (see ticket #2699). There is a bug in this auto generation when the vertical height of a rectangle is less than three buttons.

Attachments

retrieve_op_conf_from_mysql.patch (7.8 kB) - added by Nick_Lewis on 08/04/08 01:03:43.

Change History

08/04/08 01:03:43 changed by Nick_Lewis

  • attachment retrieve_op_conf_from_mysql.patch added.

08/04/08 01:17:46 changed by Nick_Lewis

I have attached a patch that corrects the generation of style info from layout info in the styleinfo function of the retrieve_op_conf_from_mysql.pl file.

The patch also includes the changes to allow the layout to be under the control of the freepbx database:

(i) If a "panel" table exists in the freepbx database then layout info is taken from the database. This is primarily a hook for a forthcoming panel module but can be used now with phpMyAdmin

(ii) Legends can be customised without breaking the association between buttons and rectangles. This permits non-english legends to be specified in layout info

(iii) Some layout constants are made explicit

(iv) Color2 for conference rectange is improved

The panel database can be edited from phpMyAdmin or from a panel module that can be found at:

http://freepbx.org/trac/browser/contributed_modules/modules/panel

10/16/08 09:44:57 changed by Nick_Lewis

The previously attached patch has now had extensive and prolonged testing so may I please request that it is applied to the trunk