Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-26-2008, 07:22 AM
Special Member
 
Posts: 103
Default [SOLVED] Calendar display issue after 5.0.4 upgrade

We upgraded from 5.0.2 to 5.0.4 Network Edition last night and now shared calendar entries are faded. What I mean by that is, it looks like if the calendar entry is shared, the font used is grey and the color used for the calendar have their opacity set really low. This makes it difficult to see the calendar entries that are shared. Is there a way to disable this feature?
Reply With Quote
  #2 (permalink)  
Old 03-26-2008, 07:38 AM
Special Member
 
Posts: 103
Default

Just found out that the faded entries are marked as "Free" and not "Busy". This "feature" possible to be disabled or changed so that even Free entries are legible?
Reply With Quote
  #3 (permalink)  
Old 03-26-2008, 01:15 PM
Special Member
 
Posts: 103
Default

Anyone know where the css code would be for what I need changed? I played around with the css and couldn't find what I was looking for. Maybe someone else has a better idea.
Reply With Quote
  #4 (permalink)  
Old 03-26-2008, 01:20 PM
Moderator
 
Posts: 6,236
Default

Add your voice to Bug 26106 - Visual indication of Free/Busy/OoO status on own calendar

Quote:
RFE is now:
Make the visual distinction of Free/Busy/OoO status on own calendar less
pronounced, so that reminders to self are still readable.

Possible resolutions:
- Continue to desaturate the background color, but leave the text sharp and
readable.
- Change the text style to italics or strikethrough.
Reply With Quote
  #5 (permalink)  
Old 03-26-2008, 01:32 PM
Special Member
 
Posts: 103
Default

Comments added. So I guess I'm out of luck until Zimbra addresses the issue? There aren't any CSS changes I can make to accomplish this?
Reply With Quote
  #6 (permalink)  
Old 03-26-2008, 01:52 PM
Special Member
 
Posts: 103
Default

I just learned some additional information from some of my users. Depending on their monitor and color settings, the entries can be so "dimed" that they are invisible to the user. In other words, I need a workaround fairly quickly. If no one has any ideas I'll open up a ticket with support. Thanks!
Reply With Quote
  #7 (permalink)  
Old 03-26-2008, 03:35 PM
Special Member
 
Posts: 103
Default

Using Firebug I was able to find the HTML that is setting the opacity to .2 (or 20%) and now I just need to find it in the code in order to manually change it. Here is the full HTML:
Quote:
<div style="position: absolute; cursor: default; width: 1410px; height: 20px; opacity: 0.2; left: 2px; top: 4px;" class="appt" id="DWT218"></div>
If I can find that, I should be able to remove it. Ideas?
Reply With Quote
  #8 (permalink)  
Old 03-26-2008, 04:18 PM
Special Member
 
Posts: 103
Default

OK, I found some lines regarding opacity of appointments in ZmCalColView.js and in Calendar_all.js that said something like:

Quote:
ZmCalColView._OPACITY_APPT_NORMAL = 100;
ZmCalColView._OPACITY_APPT_DECLINED = 20;
ZmCalColView._OPACITY_APPT_TENTATIVE = 70;
ZmCalColView._OPACITY_APPT_DND = 60;
I changed all values to 100 and that seemed to have no effect. Is there something I must do to get the values recognized? Seems like before I had to extract the js files from the zgz files, make my changes, and then recompress them. Is that necessary here, as well? If so, does anyone have directions on uncompressing/decompressing these files because its different than using gzip if I recall?
Reply With Quote
  #9 (permalink)  
Old 03-26-2008, 05:25 PM
Zimbra Employee
 
Posts: 269
Default

This is being addressed by this bug:

Bug 25854 - Need to better differentiate free/busy status from participant status

In the meantime, if you made a change the javascript *source*, you'll have to redeploy the webclient via ANT:

under <src>/ZimbraWebClient, run "ant prod deploy"

If you installed from a pre-built binary, you'll have to unzip the gzip package file for calendar (since you modified ZmCalColView.js). I think the one you'll want is calendar_all.js.zgz (or something like that). Once unzipped, make the change, re-gzip it (but be sure to backup the original in case you fubar everything) and restart jetty.

IMO, you're better off voting for the above bug and waiting for the 5.0.5 release.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #10 (permalink)  
Old 03-27-2008, 08:47 AM
Special Member
 
Posts: 103
Default

Perfect. Unzipped Calendar_all.js.zgz and modified the values of OPACITY to 100 for all of them and voila calendar completely legible again. I realize this "feature" will get re-enabled at the next upgrade, but at least for now my users are happy. And maybe that bug will be released in 5.0.5 and it won't be an issue.

To recap and the solution:
1. cd /opt/zimbra/jetty/webapps/zimbra/js
2. gzip -d -S .zgz Calendar_all.js.zgz
3. Search for the following setting: ZmCalColView._OPACITY_APPT_NORMAL
4. Change the values of all the _OPACITY's to your preference (I used 100 for them all to comletely remove the dimming "feature")
5. Save this File
6. gzip -S .zgz Calendar_all.js
7. Clear browser cache, logout of Zimbra, close browser, reopen browser and try looking at your calendar again. Problem should be resolved.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.