Integer data column alignment
Hello,
My JApplet displays a table of values in the required alignment except for columns of integers.
How do I effect alignment of the integer value columns
starting precisely to the right side of the column field without impacting alignment of the other columns?
import java.applet.*;
import java.awt.*;
import java.io.*;
import java.text.*;
import javax.swing.*;
import java.net.*;
import java.util.*;
<applet code= "Table" width=700 height=200>
</applet>
public class Table extends JApplet {
final int MAX_ROW = 5;
final int MAX_FACTOR_COL = 3;
JTextArea TA;
String location[] = { "City", "Anycity", "No City", "nowhere CITY", "CITY CA"};
int population[] = new int[MAX_ROW];
double factor[][] = new double[MAX_ROW][MAX_FACTOR_COL];
int fatalities[] = new int[MAX_ROW];
String output = "";
public void init() {
GUI();
TA.setText( results() );
private void GUI(){
setLayout( new BorderLayout() );
Box box = Box.createVerticalBox();
TA = new JTextArea(output, 80,100);
TA.setEditable(false);
add(TA);
box.add( new JScrollPane( TA));
add(box, BorderLayout.CENTER);
} // end GUI()
private String results(){
int i;
int j;
for( i = 0; i<MAX_ROW; i++){
population[i] = i*i*i*i;
for (j = 0; j < MAX_FACTOR_COL; j++){
factor[i][j] = 0.123 *(i + j);
fatalities[i] = (int)(population[i] * i * 0.1);
Formatter f = new Formatter();
f.format("%s\t\t%8d\t%6.4f\t%6.4f\t%6.4f\t%8d", location, population[i], factor[i][0], factor[i][1], factor[i][2], fatalities[i]);
output += "\t" + f + "\n";
return output;
}// end results()
} // end Table class
OK, I have tried one solution by conversion/manipulation of string in concert with placing space character to shift digit characters to right side. It is interesting to notice that the increment generally requires two space characters per digit placeholder since apparently not all types of characters are spaced equally in the string. This solution requires advance knowledge of the maximum number of digits representing integers in order to modify the placeholder logic. But, hey! I'm still interested in a better solution. The solution code is as follows:
import java.applet.*;
import java.awt.*;
import java.io.*;
import java.text.*;
import javax.swing.*;
import java.net.*;
import java.util.*;
<applet code= "Table" width=700 height=200>
</applet>
public class TableSolution1 extends JApplet {
final int MAX_ROW = 5;
final int MAX_FACTOR_COL = 3;
JTextArea TA;
String location[] = { "City", "Anycity", "No City", "nowhere CITY", "CITY CA"};
int population[] = new int[MAX_ROW];
double factor[][] = new double[MAX_ROW][MAX_FACTOR_COL];
int fatalities[] = new int[MAX_ROW];
String output = "";
public void init() {
GUI();
TA.setText( results() );
private void GUI(){
setLayout( new BorderLayout() );
Box box = Box.createVerticalBox();
TA = new JTextArea(output, 80,100);
TA.setEditable(false);
add(TA);
box.add( new JScrollPane( TA));
add(box, BorderLayout.CENTER);
} // end GUI()
private String results(){
int i;
int j;
String spop[] = new String[MAX_ROW];
String sfat[] = new String[MAX_ROW];
for( i = 0; i<MAX_ROW; i++){
population[i] = i*i*i*i;
// prepare population data alignment
if(100<population[i] && population[i] < 1000)
spop[i] = " ";
else if(10<population[i] && population[i] < 100)
spop[i] = " ";
else
spop[i] = " ";
spop[i] = spop[i] + population;
for (j = 0; j < MAX_FACTOR_COL; j++){
factor[i][j] = 0.123 *(i + j);
fatalities[i] = (int)(population[i] * i * 0.1);
// prepare fatalities data alignment
if(100<fatalities[i] && fatalities[i] < 1000)
sfat[i] = " ";
else if(10<fatalities[i] && fatalities[i] < 100)
sfat[i] = " ";
else
sfat[i] = " ";
sfat[i] = sfat[i] + fatalities[i];
Formatter f = new Formatter();
f.format("%s\t\t%s\t%6.4f\t%6.4f\t%6.4f\t%s", location[i], spop[i], factor[i][0], factor[i][1], factor[i][2], sfat[i]);
output += "\t" + f + "\n";
return output;
}// end results()
} // end TableSolution1 class
Message was edited by:
AnalysisGuru
Message was edited by:
AnalysisGuru
NUMBER datatype don't have formatting when they are saved in database, if you need to format the output use TO_CHAR() function,
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14200/functions181.htm#i79330
Similar Messages
-
Data display - aligning group data and carry over on new page logic - 11G
I am fairly new to BI Publisher, so any help would be much appreciated. I am working with a standard pdf form to display Purchase Order Data. I have saved the image of the pdf as the background of the page. I have a simple table where I am inserting all the data and aligning it on the page so it appears to be in the correct place on the form.
The form has a section containing 10 blank lines to display the PO data. Each line is .25 inches.
The problem occurs that at the line description can have 254 characters but the space on the line allows for 51 characters. So I need to display the data something like this (for simplicity sake)
TableA.id TableA.Description254
Line 1 1 Blah, 1-51 characters of line descr
Line 2 Blah blah, 52 - 102 characters
Line 3 2 Blah, 1-51 characters of line descr
Line 4 3 Blah, 1-51 characters of line descr
Line 5 Blah blah, 52 - 102 characters
Line 6 Blah blah, 103 - 153 characters
anything that carries over needs to go to a second page with a different background image. So I have several questions.
1. Any suggestions on how to display the PO Line, so I can substring the PO line description and display the remaining data on a following line? A second line would write the next 51 characters of data if it exists, and would not display the first column, (TableA.Id)
2. Any suggestions on how to load the carry over data (anything over the 10 lines on the first page) and display on the following page.
I am including a screen shot so this might make more sense. I have lightly dashed orange lines showing of my table which I use for aligning the data. It is only for reference.
[ http://www.fifthq.com/bi.jpg|Pdf image]
http://www.fifthq.com/bi.jpgOk, just in case anyone runs into the same issue. Here was my solution.
I added a made up record to the existing xsd template that served as a place holder for my dynamic content.
I created an app package that has two properties.
1. Full String
2. Single Line String
The Method takes in the column width as a parameter. It searches through the Full String until it finds the last available word before the column width. It then returns that as the Single Line String and updates the Full String to what's remaining.
If I have any of the Full String remaining I keep calling the method.
I can provide more specific details about the method if anyone needs it. -
Algning new folder with other data columns in a document library
Hi All,
I have created an InfoPath form that used to create a new form & a new document library and the description to that folder.
Now my InfoPath form has some text boxes to store data. Also there is an attachment control to upload documents. These documents should be uploaded to the newly created folder.
The new folder should display at the document library as in the same row with other data columns that were inserted to the data library. I have the problem with the new folder aligning in the same row with other data.
So if someone can know how to solve this matter please enlighten me.
Thank You,
Chiranthaka.Can you provide more detail on what exactly you need to achieve and how your system is functioning at the moment? It sounds like you have an Infopath form that can have documents attached to it, you then store these documents into a new folder and wish to
have the folder represented in the list view for the form in the form library you are using? -
Last 6 months of data based on date feild that is an integer data type
Hi Folks
I have a date column called 'YYYYMM' that is an Integer data type in YYYYMM format (eg. 201309). I want to return records from the last 6 months.
If the column was in a date format I could use something like
[YYYYMM] >DATEADD(M, -6, CURRENT_TIMESTAMP)
Therefore I assume I need to do a CONVERSION of INT into a date format with something like
CONVERT (DATE, [YYYYMM]
But I get the message "Explicit conversion from data type int to date is not allowed"
Can someone suggested a work around?
Many thanks Steveanother way is this
SELECT *
FROM Table
WHERE DATEADD(mm,(dateintfield%100)-1,DATEADD(yy,(dateintfield/100) -1900,0)) >=DATEADD(mm,DATEDIFF(mm,0,GETDATE())-6,0)AND DATEADD(mm,(dateintfield%100)-1,DATEADD(yy,(dateintfield/100) -1900,0)) < DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0)
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
How to get Week,Month and Year details from a date column
Hi frenz,
I've a column like tran_date which is a date column..... I need the next week details based on this column and so on...
I need month and year details as well based on this tran_date column.... can any one tell me how...
Thanks in advanceMy example for objects:
create or replace type date_object as object
centure number,
year number,
month number,
day number,
hour number,
minute number,
second number,
daypart number,
week number,
constructor function date_object(p_dt date)
return SELF as result
create or replace type body date_object is
constructor function date_object(p_dt date)
return SELF as result
as
begin
SELF.centure:= trunc(to_char(p_dt,'YYYY')/100);
SELF.year:= to_char(p_dt,'YYYY');
SELF.month:= to_char(p_dt,'MM');
SELF.day:= to_char(p_dt,'DD');
SELF.hour:= to_char(p_dt,'HH24');
SELF.minute:= to_char(p_dt,'MI');
SELF.second:= to_char(p_dt,'SS');
SELF.daypart:= p_dt-trunc(p_dt,'DD');
SELF.week:= to_char(p_dt,'IW');
return;
end;
end;
select date_object(sysdate),
date_object(sysdate).year
from dual;Regards,
Sayan M. -
ADF Unable to filter / sort date column in table
Hi,
I am using JDeveloper 11.1.1.7.
I have a read only table inside a panel collection. One of the columns in the table is a date field. I have filterable and sortable properties set to true for all columns. Filter and sort property works for all columns expect the date column. The filter and sort options is not even shown for the date field (shown below).
<af:column headerText="#{bindings.ASRTCreateRequestVO1.hints.CreationDate.label}"
id="c7" sortable="true" width="100"
filterable="true">
<af:outputText value="#{row.CreationDate}"
id="ot7">
<af:convertDateTime pattern="#{bindings.ASRTCreateRequestVO1.hints.CreationDate.format}"/>
</af:outputText>
</af:column>
Please let me know if I am missing anything here.
Thanks,
AshwinHi Ashwin,
As mentioned by Timo, for me also the filtering is working as usual.
But while browsing through the ADF UI Guide I came across with below note
If you want to use a component other than an inputText component for your filter (for example, an inputDate component), then instead of setting filterVisible to true, you can add the needed component to the filter facet.
To do so:
1. In the Structure window, right-click the column to be filtered and choose Insert inside af:column > JSF Core > Filter facet.
2. From the Component Palette, drag and drop a component into the facet.
3. Set the value of the component to the corresponding attribute within the FilterableQueryDescriptor class created in Step 1(not above step but you can find it in pg:390). Note that the value must take into account the variable used for the row, for example:
#{af:inputDate label="Select Date" id="name" value="row.filterCriteria.date"}.
This is in the section: 12.5.1 How to Add Filtering to a Table(pg:390).
I hope it helps.
Regards,
Peddi. -
Date Column not getting sorted in a table in web Dynpro Java
Hi All,
I am facing an issue while sorting the date column in a table in my web dynpro java application.
When the date is displayed in the sql format in tha table, I am able to sort the date column successfully but when we convert the date field from sql format to util format in our table and then sort it does not work.
Kindly let us know the steps to be followed in this case to sort the date column of a table in Simple Date format as we do not want date in the sql format to be displayed.
Thanks & Regards,
AnuragHi,
You might want to check whether both your browser's language settings are identical. The browser language could also determine the date format.
As a workaround, you could add an extra attribute to your context, and set the calculated property to 'true'.
In your table, add a new column and bind to this new attribute, and hide your original date column
If you sort using the date column that's hidden now, you could use the calculated field to fixed-format your date the way you prefer (by using the SimpleDateFormatter class for instance)
Cheers,
Robin -
Using MODEL clause and COUNT for not numeric data columns....
Hi ,
Is it possible somehow to use the COUNT function to transform a non-numeric data column to a numeric data value (a counter) and be used in a MODEL clause....????
For example , i tried the following in the emp table of SCOTT dataschema with no desired result...
SQL> select deptno , empno , hiredate from emp;
DEPTNO EMPNO HIREDATE
20 7369 18/12/1980
30 7499 20/02/1981
30 7521 22/02/1981
20 7566 02/04/1981
30 7654 28/09/1981
30 7698 01/05/1981
10 7782 09/06/1981
20 7788 18/04/1987
10 7839 17/11/1981
30 7844 08/09/1981
20 7876 21/05/1987
30 7900 03/12/1981
20 7902 03/12/1981
10 7934 23/01/1982
14 rows selected Now , i want to use the MODEL clause in order to 'predict' the number of employees who were going to be hired in the 1990 per deptno...
So , i have constructed the following query which , as expected, does not return the desired results....
SQL> select deptno , month , year , count_
2 from
3 (
4 select deptno , to_number(to_char(hiredate,'mm')) month ,
5 to_number(to_char(hiredate , 'rrrr')) year , count(ename) count_
6 from emp
7 group by deptno , to_number(to_char(hiredate,'mm')) ,
8 to_number(to_char(hiredate , 'rrrr'))
9 )
10 model
11 partition by(deptno)
12 dimension by (month , year)
13 measures (count_ )
14 (
15 count_[1,1990]=count_[1,1982]+count_[11,1982]
16 )
17 /
DEPTNO MONTH YEAR COUNT_
30 5 1981 1
30 12 1981 1
30 2 1981 2
30 9 1981 2
30 1 1990
20 4 1987 1
20 5 1987 1
20 4 1981 1
20 12 1981 1
20 12 1980 1
20 1 1990
10 6 1981 1
10 11 1981 1
10 1 1982 1
10 1 1990 As you see , the measures for the 1990 year is null...because the measure(the count(deptno)) is computed via the group by and not by the MODEL clause...
How should i transform the above query... so as the "count_[1,1982]+count_[11,1982]" will return non-null results per deptno...????
Thanks , a lot
SimonConnected to Oracle Database 10g Express Edition Release 10.2.0.1.0
Connected as hr
SQL>
SQL> SELECT department_id, MONTH, YEAR, count_
2 FROM (SELECT e.department_id
3 ,to_number(to_char(e.hire_date, 'mm')) MONTH
4 ,to_number(to_char(e.hire_date, 'rrrr')) YEAR
5 ,COUNT(e.first_name) count_
6 FROM employees e
7 WHERE e.department_id = 20
8 GROUP BY e.department_id
9 ,to_number(to_char(e.hire_date, 'mm'))
10 ,to_number(to_char(e.hire_date, 'rrrr')));
DEPARTMENT_ID MONTH YEAR COUNT_
20 8 1997 1
20 2 1996 1
SQL> --
SQL> SELECT department_id, MONTH, YEAR, count_
2 FROM (SELECT e.department_id
3 ,to_number(to_char(e.hire_date, 'mm')) MONTH
4 ,to_number(to_char(e.hire_date, 'rrrr')) YEAR
5 ,COUNT(e.first_name) count_
6 FROM employees e
7 WHERE e.department_id = 20
8 GROUP BY e.department_id
9 ,to_number(to_char(e.hire_date, 'mm'))
10 ,to_number(to_char(e.hire_date, 'rrrr')))
11 model
12 PARTITION BY(department_id)
13 dimension BY(MONTH, YEAR)
14 measures(count_)(
15 count_ [1, 1990] = count_ [2, 1996] + count_ [8, 1997]
16 );
DEPARTMENT_ID MONTH YEAR COUNT_
20 8 1997 1
20 2 1996 1
20 1 1990 2
SQL> ---
SQL> SELECT department_id, MONTH, YEAR, count_
2 FROM (SELECT e.department_id
3 ,to_number(to_char(e.hire_date, 'mm')) MONTH
4 ,to_number(to_char(e.hire_date, 'rrrr')) YEAR
5 ,COUNT(e.first_name) count_
6 FROM employees e
7 GROUP BY e.department_id
8 ,to_number(to_char(e.hire_date, 'mm'))
9 ,to_number(to_char(e.hire_date, 'rrrr')))
10 model ignore nav
11 PARTITION BY(department_id)
12 dimension BY(MONTH, YEAR)
13 measures(count_)(
14 count_ [1, 1990] = count_ [2, 1996] + count_ [8, 1997]
15 );
DEPARTMENT_ID MONTH YEAR COUNT_
100 8 1994 2
30 12 1997 1
100 3 1998 1
30 7 1997 1
5 1999 1
30 12 1994 1
30 11 1998 1
30 5 1995 1
100 9 1997 2
100 12 1999 1
30 8 1999 1
1 1990 0
30 1 1990 0
100 1 1990 0
90 9 1989 1
20 8 1997 1
70 6 1994 1
93 rows selected
SQL> -
Column alignment in tabular form
Hi,
how to change column alignment in f.e Text Fields in tabular form.
Manual option doesn.t work (alingment not heading). I tried to add
style=text-align:right ( i cut quote)in element column formatting options but I didn't find solution.
Anyone know how to change this?
Maybe sth simillar to the same problem in IR:
.apexir_WORKSHEET_DATA td, .apexir_WORKSHEET_DATA td div{text-align:right}I understand ".apexir_WORKSHEET_DATA" it's only IR definition and it doesn't work with tabular form
Edited by: nirud on 2010-03-12 07:53Hi,
Go edit your tabular form Column Attributes where you like apply that style.
Then add to Element Attributes
style=text-align:rightBr,Jari
Edited by: jarola on Mar 14, 2010 11:22 AM
Forum do not like my code
wrap text-align:right to double quotes -
How to get date prompts from one date column
i have a requirement where i have to filter the data between two date prompts. i have only one date column and the date in the prompts shuld be selected by calendar.
i have seen may approaches to do this and i got one where two dummy date columns should be declared in repository and used to define the date prompts.
but using other methods i could not get the calendar option in prompt.
but is there any other way to get the prompts with calndar selection without defining the dummy columns in repository
thanksyou can do that first select the date column you want to use in dashboard prompt then select another column and in the dashboard prompts then open the fx of the date prompt you first selected copy that and paste it in the second column and in the control section click on calender it will work you can use same date column as two prompts with out creating new column.
-
I have downloaded and installed the latest version of numbers on my mac. Everytime I save and then try to reopen that document, I receive a message telling me that I need a new version of numbers. Also, when I try to sort the date column, it sorts out of order. The last version sorted fine.
Welcome to Apple Support Communities
When you install the new iWork version, the old iWork version is kept, so it looks like you are opening your old version.
To fix this, open a Finder window, choose Applications in the sidebar and drag the new Numbers version to the Dock, so you can access to it quickly. Open all documents from this version. I don't recommend you to delete the old Numbers version in case you need it.
Respecting to the second question, you will get better answers in the Numbers for OS X forum -
Column Alignment in Column Attributes under Report Attributes Not Working
After changing the default setting and applying the new setting for changing column alignment from left to right, the numbers in the column stay to the left when I run the page. I've cleared the cache and the setting stays on "right" even after logging out of the browser completely and going back in. The numbers in the column of the report are aligned left despite the alignment setting for the column begin "right." I have this problem with more than one column and on completely different page of the application. What am I missing?
Hi,
Is the Display As setting set to "Standard Report Column"? Is this just a standard report or a tabular form and the numbers in INPUT items?
Andy -
How to load data into Planning/Essbase from multiple data column
Dear All,
I have a interface file which contains multiple data column as follows.
Year,Department,Account,Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec
FY10,Department1,Account1,1,2,3,4,5,6,7,8,9,10,11,12
FY10,Department2,Account1,1,2,3,4,5,6,7,8,9,10,11,12
FY10,Department3,Account1,1,2,3,4,5,6,7,8,9,10,11,12
I created a data rule to load these interface file.
I want to use ODI to upload this interface. I try to specify the rule name in ODI and run the interface.
But, it came out following errors.
2010-02-22 11:40:25,609 DEBUG [DwgCmdExecutionThread]: Error occured in sending record chunk...Cannot end dataload. Analytic Server Error(1003014): Unknown Member [FY09,032003,910201,99,0,0,0,0,0,0,0,0,0,0,0,0] in Data Load, [1] Records Completed
Any idea to fix the column, I sure the member name is correct as I can load data from data load rule correctly.
ThanksDear John,
I updated the data load rule delimter to "," and found different error message as follows.
'A910201.99','HSP_InputValue','HKDepart','No_WT','032003','NO_Lease','FY09','Actual','Final','Local','0','0','0','0','0','0','0','0','0','0','0','0','Cannot end dataload. Analytic Server Error(1003014): Unknown Member [0] in Data Load, [1] Records Completed'
It seems that the data load rule can recognize the some member except the figures of Jan to Dec..
thanks for your help -
XML Publisher - Dynamic Data Columns Issue
Hi,
I am creating a amortization report where I need to show the amortization schedule for unearned revenue. Customers have signed different years of contract and I need to show the amount as per their remaining contract months. So if there are 2 month remaining in the contract then I should show the data for 2 months only and if there are 10 months then I should display 10 months. If we run the report for both customers then it should display two lines in report. For first customer the data should be only for 2 months and for second row(customer) there should be data for next 10 months. These months should be columns in the report(like excel columns, not rows). I need to display all months in columns instead of rows.
I have acheived that using Dynamic Data Columns as mentioned in the user guide. Everything is working fine except following issues -
1. How to create page level total?_
I have created page total in my template using <?add-page-total:TOTUREV;'UREV'?> and displaying using <?show-page-total:TOTUREV?> but when I run the report in excel format these page total do not display. These columns are static columns not dynamic.
If I run the report in pdf format then the static column total is displayed correctly.
2. When I run the report in excel format then report run fine and it shows all the columns properly but if I run the report in pdf format then the dynamic column are not displayed in their own columns, all the columns are overwriting each other in a single columns itself, its not expanding.
3. How do I get the total for the dynamic columns?_
I need to display the page level total for the dynamic columns also, how do I do that?
4. When I run the report in excel format the 2 decimal places of the numbers are gone(it works fine in pdf output), like 12.50 becomes 12.5 and 14.00 becomes 14. I need to maintain those 2 decimal places. I have tried using <fo:bidi-override direction="ltr" unicode-bidi="bidi-override"><?format-number:CVALUE;'999999D99'?></fo:bidi-override> but this does not solve my problem completely. It shows the values correctly in excel but then I am not able to do any calculation on those columns, looks like it converts them to text values.
Any help is really appreicated. Please let me know if you need the xml template and data file.
Regards
HiteshHi Hitesh,
Can you please upload your RTF and XML template file? I will try to spend sometime on this issue.
Cheers
Sachin -
Update External data Column in share point2010 list
Hi all,
i have list and i am using External data column (From BCS).
I am trying to update the external data field value. its updating and showing in view correctly but when i try to edit its showing old value only.
Ex: I have a external data with field values ( test1,test2,test3,... so on)
in the list i have a value test1, i am trying to update with test2..its updating in display and view but when i am trying edit its showing default still test1..Hi,
The following articles for your reference:
SharePoint 2010 BCS Field - Setting the field/column
http://thealbuquerqueleftturn.blogspot.de/2011/12/sharepoint-2010-bcs-field-setting.html?m=1
Programmatically Setting BCS Fields in SharePoint Custom Lists Client-Side through Web Services / SOAP
http://blog.avanade.com/asg-collaboration-services/other/programmatically-setting-bcs-fields-sharepoint-custom-lists-client-side-web-services-soap/
SharePoint 2013 – Update an External Data field using PowerShell
http://veenstra.xyz/2014/06/03/sharepoint-2013-update-an-external-data-field-using-powershell/
Best Regards
Dennis Guo
TechNet Community Support
Maybe you are looking for
-
BW Reporting & Analysis Overview
Hi folks, I need a high-level presentation on SAP BW Reporting & Analysis. Basically, I'm looking for a condensed presentation of TBW20 or BW305 course. Say 50 pager material with diagrams + summary text. Knowledge Warehouse content is too detailed f
-
please delete this post as I posted in the wrong forum - I have now reported in what I think is the correct place Edited by: 858217 on May 11, 2011 10:45 AM Edited by: 858217 on May 11, 2011 10:46 AM
-
I cannot install Firefox on my iBook G4 with OS X 10.5.8
I did download Firefox to my iBook G4 but the system showed that Firefox cannot be installed to Application. It shows the stop sign on Firefox. I changed my hard drive and Operation System. So, I need to re-install Firefox again. I try to install but
-
Windows 8 and NumLock on Lockscreen
Hi there, I have a really annoying problem on all of my Win8 laptops. Whenever fast startup is enabled, NumLock on the Keyboard is disabled on the Lockscreen. When I turn off fast startup or do a reboot everything works fine. This scenario is reprodu
-
Desktop freezes occasionally and recovers after around 10s in 2.6.35-2
Top shows i915 is taking 100% CPU. The system is a thinkpad SL410, running latest versions of Xorg, intel-video, openbox + xcompmgr. Killing xcompmgr seems to resolve the problem. No such issue while with 2.6.34. Perhaps some conflicts with out-of-da