Strange backdrop on transparent windows with xcompmgr and i3
Hi there! I have disabled title bars in my i3 config, and I use xcompmgr for a little transparency. However, in the space where the title bar would be, garbage is visible behind the transparent backround of some windows.
Any ideas? I tried a few other compositing managers and the problem was reproducable on several.
Wow psychadelic!
I found xcompmgr to be rather buggy when I used to use it. Try xcompmgr-dana (dcompmgr I think) or Compton. I used to use Compton and it worked pretty well.
I stopped using real transparency in favor of pseudo-transparency because I sometimes use the tabbed mode on multiple terminals... tell me how awesome it is to read three terminals stacked on each other
Similar Messages
-
Transparency (true) with transset and xcompmgr
Could someone please point me to a script or tell me have to achieve true transparency in Openbox with xcompmgr and transset (or transset-df)?
I have it working to where you can set them each individually, but I want it set automatically when I start X. I've also tried a couple other things such as the perl script on the transset-df page, but Ihaving gotten something working full proof. Does anything know of something that will help?What do you mean by "set automatically"?
If you want to have xcompmgr started with X you should add it to your .xinitrc file.
If you want some per app settings, it will be difficult. There's transd but it didn't work for me. I was playing with xcompmgr only for a short time and I used the following script to make urxvt windows transparent.
urxvtc &
sleep 1
transset-df --id `xprop -root | grep "_NET_ACTIVE_WINDOW(WINDOW): window id # " | grep -o -E -e 0x[a-z0-9]+` 0.65 &> /dev/null
I use urxvtd deamon and every new window is a client (urxvtc). The script just starts new window, waits a second, then finds an ID of active window (which should be the urxvtc window opened just before) and sends that ID to transset-df. It's just a quick hack but maybe useful for you. -
Strange behavior in a table with dropTarget and delete action
I am having a strange behavior in a table with drag and drop and action component to delete row.
Steps:
Drag the first row to the table and appears in the destination table (works well)
Select and change the value by 156, appears an error (works fine)
delete the row, the row disappears (works well)
Add the first row again and the value is 156 instead of 158 (why ????)
I guess the error is the deletion that is not correct, but do not know how?
Can anyone help?
I add the source code if you see where I'm wrong
Java class:
+public class BeanExample {+
private ArrayList<RowExample> starttValues;
private ArrayList<RowExample> endValues;
+public BeanExample() {+
super();
+}+
+public void setStarttValues(ArrayList<BeanExample.RowExample> starttValues) {+
this.starttValues = starttValues;
+}+
+public ArrayList<BeanExample.RowExample> getStarttValues() {+
+if (starttValues == null) {+
starttValues = new ArrayList<BeanExample.RowExample>();
starttValues.add(new RowExample("1", new Number(158)));
starttValues.add(new RowExample("21", new Number(12565464)));
+}+
return starttValues;
+}+
+public void setEndValues(ArrayList<BeanExample.RowExample> endValues) {+
this.endValues = endValues;
+}+
+public ArrayList<BeanExample.RowExample> getEndValues() {+
+if (endValues == null) {+
endValues = new ArrayList<BeanExample.RowExample>();
+}+
return endValues;
+}+
+public void validatorExample(FacesContext facesContext, UIComponent uIComponent, Object object) {+
Number number = (Number)object;
+if ((number.longValue() % 2) == 0) {+
FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_ERROR, "ES PAR", "ES PAR");
throw new ValidatorException(message);
+}+
+}+
+public DnDAction handleDrop(DropEvent dropEvent) {+
Transferable transferable = dropEvent.getTransferable();
DataFlavor<RowKeySet> rowKeySetFlavor = DataFlavor.getDataFlavor(RowKeySet.class, "loteDrag");
RowKeySet rowKeySet = transferable.getData(rowKeySetFlavor);
+if (rowKeySet != null) {+
CollectionModel dragModel = transferable.getData(CollectionModel.class);
+if (dragModel != null) {+
Object currKey = rowKeySet.iterator().next();
dragModel.setRowKey(currKey);
RowExample table = (RowExample)dragModel.getRowData();
getEndValues().add(new RowExample(table.getId(), table.getValue()));
return dropEvent.getProposedAction();
+}+
+}+
return DnDAction.NONE;
+}+
+public void borrarFila(ActionEvent actionEvent) {+
endValues.remove(0); RequestContext.getCurrentInstance().addPartialTarget(FacesContext.getCurrentInstance().getViewRoot().findComponent("pc1:t2"));
+}+
+public static class RowExample {+
private String id;
private Number value;
+public RowExample(String id, Number value) {+
super();
this.id = id;
this.value = value;
+}+
+public void setId(String id) {+
this.id = id;
+}+
+public String getId() {+
return id;
+}+
+public void setValue(Number value) {+
this.value = value;
+}+
+public Number getValue() {+
return value;
+}+
+}+
+}+JSF
+<?xml version='1.0' encoding='windows-1252'?>+
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"+
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
+<jsp:directive.page contentType="text/html;charset=windows-1252"/>+
+<f:view>+
+<af:document id="d1">+
+<af:form id="f1">+
+<af:panelGroupLayout id="pgl1">+
+<af:table value="#{beanExample.starttValues}" var="row"+
rowBandingInterval="0" id="t1" rowSelection="single"
displayRow="selected" contentDelivery="immediate">
+<af:column sortable="false" headerText="Id" align="start" id="c2">+
+<af:outputText value="#{row.id}" id="ot1"/>+
+</af:column>+
+<af:column sortable="false" headerText="Value" align="start" id="c1">+
+<af:outputText value="#{row.value}" id="ot2"/>+
+</af:column>+
+<af:collectionDragSource actions="COPY" modelName="loteDrag"/>+
+</af:table>+
+<af:panelCollection id="pc1">+
+<f:facet name="toolbar" >+
+<af:toolbar id="dc_t2" >+
+<af:commandToolbarButton shortDesc="Delete"+
icon="/imagesDemo/delete_ena.png"
id="dc_ctb3" immediate="true"
+actionListener="#{beanExample.borrarFila}"/>+
+</af:toolbar>+
+</f:facet>+
+<af:table value="#{beanExample.endValues}" var="row"+
+rowBandingInterval="0" id="t2">+
+<af:column sortable="false" headerText="Id" align="start" id="c3">+
+<af:outputText value="#{row.id}" id="ot3"/>+
+</af:column>+
+<af:column sortable="false" headerText="Value" align="start" id="c4" >+
+<af:inputText value="#{row.value}" autoSubmit="true" id="it1" validator="#{beanExample.validatorExample}"/>+
+</af:column>+
+<af:collectionDropTarget actions="COPY" modelName="loteDrag"+
+dropListener="#{beanExample.handleDrop}"/>+
+</af:table>+
+</af:panelCollection>+
+</af:panelGroupLayout>+
+</af:form>+
+</af:document>+
+</f:view>+
+</jsp:root>+I think the problem is the validator
I changed the practical case, I added an InputText to enter new values in the first row.
+<af:inputText immediate="true" label="new value" id="it2"+
+valueChangeListener="#{beanExample.newvalue}" autoSubmit="true"/>+
+public void newvalue (ValueChangeEvent valueChangeEvent) {+
+String valor = (String)valueChangeEvent.getNewValue();+
+Number valorNumber=null;+
+try {+
+valorNumber = new Number (valor);+
+} catch (SQLException e) {+
+}+
+RowExample example = (RowExample) endValues.get(0);+
+example.setValue(valorNumber);+
+example.setId(valorNumber.toString());+
+RichTable table = (RichTable)FacesContext.getCurrentInstance().getViewRoot().findComponent(id);+
+RequestContext.getCurrentInstance().addPartialTarget(table);+
+}+
Case 1
I drag the first row to the target table (ok)
The new row appears (ok)
Enter the value 77 in the InputText (ok)
id content and value change (ok)
Case2
I drag the first row to the destination table
The new row appears (ok)
Change the value of the first row by 80 (ok)
errors appears (by validator) (ok)
Enter the value 77 in the InputText (ok)
the id is changed but the value NO (*KO*)
I do not understand the behavior
Edited by: josefuente on 27-oct-2010 16:03 -
Create Window with Textbox and Button For getting Input Value
Hi All,
I have create plugin application but i want to take input from user. Therefore i want to create window with textbox and button.
please may i get solution...Or if that's all you need to do, just use JavaScript or a form.
-
Problem with xcompmgr and i3 window manager
Hey guys,
Had a hard time trying to search for this problem. and nothing came up for the exact problem I was having. Anyways this is my problem. with xcompmgr is that it doesn't seem to be refreshing or something. it leaves trails of previous windows for some reason. not sure why. Anyone have this problem or someone know how to fix it??!?
Here is a link to show you what i mean.
http://oi45.tinypic.com/2nlaghy.jpg
Thanks in advance for your kind and prompt attention.
Sincerely,
SicariuxsWow psychadelic!
I found xcompmgr to be rather buggy when I used to use it. Try xcompmgr-dana (dcompmgr I think) or Compton. I used to use Compton and it worked pretty well.
I stopped using real transparency in favor of pseudo-transparency because I sometimes use the tabbed mode on multiple terminals... tell me how awesome it is to read three terminals stacked on each other -
Replacing preinstalled Windows with "normal" and clean Windows installation (T500)
Hello,
is there any way, how to replace preinstalled Windows with my super-clean installation of Windows? I'm really not happy with partitioning (honestly, I'm using Linux, so I want just Win partition, Boot partition, Extended partition (with root, home, swap) --- no recovery partition, no foobar partition, which just make no sense for me), given features which I don't need etc. I would rather have clean setup of Windows 7 and have computer installed my way. Also I don't like such toolbar things, and crappy ware of Lenovo already installed.
I can backup Windows 7 activation and restore it to new clean installation - so I don't need to buy new disc... But - where can I get that clean Windows 7 Ultimate shiny disc? Do anyone know? Is it possible to download it from MS site?The preloaded Windows 7 will probably run faster than a retail version due to the EE optimized drivers. Just uninstall Norton, the Office 2010 Starter trial, the additional media software, and you should be good to go.
W520: i7-2720QM, Q2000M at 1080/688/1376, 21GB RAM, 500GB + 750GB HDD, FHD screen
X61T: L7500, 3GB RAM, 500GB HDD, XGA screen, Ultrabase
Y3P: 5Y70, 8GB RAM, 256GB SSD, QHD+ screen -
Video tearing with xcompmgr and mplayer
Hello, recently I've noticed a lot of tearing when playing movies with xcompmgr loaded. When i kill xcompmgr it goes away (almost) completely and when I enable it again the tearing starts to reappear. I'm running kernel 2.6.29, xorg 1.6 and the latest nvidia beta.
I run into this tearing no matter what video output i select, xv, vdpau or gl, it doesn't matter, video still tears.
Since I really like the effects of xcompmgr + openbox (fast but still reasonably looking) and don't really want to do without xcompmgr, I was wondering if anyone here have experienced the issue and came up with some kind of solution to this issue.
Thanks, GBG-Johan.
I forgot to mention that the video tearing still occurs when i use xine-ui instead of mplayer, so I guess it's not an issue related to which player i use.
Last edited by göteborg-johan (2009-04-18 21:46:59)System info :
Dell Studio 14z
NVidia 9400 M
built-in monitor and Sharp 1080p TV connected via HDMI
KDE 4.4
X.Org version: 1.7.5
NVidia Driver Version: 190.53
uname -a :
Linux shinny 2.6.32-ARCH #1 SMP PREEMPT Tue Feb 9 15:12:10 CET 2010 x86_64 Intel(R) Core(TM)2 Duo CPU T6600 @ 2.20GHz GenuineIntel GNU/Linux
I am experiencing video tearing when using VDPAU output with mplayer. If I use XV output instead, there is no tearing. If I use Dragon Player (which doesn't support VDPAU) there is also no tearing. Playing around with the VSync option in nvidia-settings only has an effect if I'm using XV.
On my other box running Funtoo, I had experienced the same issue. After some searching on the Web, I found that someone suggested to add :
Section "Extensions"
Option "Composite" "Disable"
EndSection
to /etc/X11/xorg.conf. On my Funtoo system this fixed the issue. However, doing the same on my Archlinux Studio 14z didn't fix the problem.
I also tried recompiling mplayer (as if that would change anything...) to no avail.
The issue also occurs even if I use the laptop screen without any external monitor connected.
Does anyone have a clue of what else I should try? The suggestion to use only XV is not suitable because I have some 1080p content that I can not decode fast enough using only the CPU.
Another test I might try is to run my Funtoo on my laptop. This will tedious and it might not be exactly the same, since the kernel on my Funtoo machine is custom built with only the drivers for the hardware in that box.
Last edited by Prozzaks (2010-02-19 03:28:19) -
Transparency issues with INDCS3 and Pantone color
Running Windows XP, Serv Pk 2, Creative Suite CS3, All updates.
Heres the deal: We are having problems with PDFs printing and Ripping when using transparencies and drop shadows.
Issue 1: INDD CS3 file with transparent PDF placed as image. Separate frame filled with paper, stroke and drop shadow placed under trans PDF file. Filled frame areas of percentage tint using a PANTONE color used on same page. File re-PDFed (compat to v6) and file printed correctly to XEROX 7760 and HP color. PDF views correctly. Recommended ordering policy applied to all layers as to keep drop shadow below text. PROBLEM: User running Acro 7 to printing to same color printers, receives copy with color tint areas missing.
Issue 2: INDD CS3 file with solid Pantone color on background. Several text frames layered above. Under text frame a solid box with SOLID Drop shadow. PDFed using Acro 8. PROBLEM: User's RIP and DIGITAL presses do not recognize the drop shadow? White knockout box appears in this area.
It seems that CS3 is handling transparency issues differently and/or that Acro 8 (compat to v6) is doing something different. The Acro 8 users have no problem printing or PDFing.
Could this also be the "known issue" of transparencies and PANTONE colors? We are testing out converting all the colors to CMYK.
Please respond at your earliest.
KEN PANTHEN, Albany, NYKen,
If your final output is to the Xerox, which can't print Spot colors without converting them to CMYK, you should use process colors instead.
Also, read the articles from InDesign Secrets:
http://indesignsecrets.com/eliminating-the-white-box-effect.php
http://indesignsecrets.com/eliminating-ydb-yucky-discolored-box-syndrome.php
Peter -
Installation of CRM 2007 in Windows with oracle and cluster environment
Dear Experts,
We are about to start the installation of CRM 2007 (ABAP+JAVA) with
Oracle 10g on Windows x64 in cluster environment. In the SAPINST dialog
box under High availability option, I could see installation options like ASCS
Instance, SCS Instance, First MSCS node, Database Instance, Additional
MSCS Node, Enqueue Replication Server, Central Instance and Dialog
Instance.
I have gone through the installation guide. I have below queries
regarding the same. Can you please clarify the same
1) Our requirement is we want to have an ACTIVE-ACTIVE cluster setup
with sap service running in Node A and Database running in Node B. Can
we have this setup in ABAP+JAVA setup
2) Also,in the SAPINST dialog box as said above except last two
(Central and Dialoge instance) as per standard installation guide are
to be installed in shared drives as per the requirement. But, central
and dialog are said to be installed locally on any one node in MSCS or
in separate server. As per my understanding Dialog instance will be
used for load balancing which we do not require now. Hence I feel this
is optional in our case. Where as Central Instance I am not able to
understand why this option is for? Is it mandatory to be installed or optional. If
so, when I installed it in one of the MSCS node the incase of failover
how does it effect the system. As per my understanding ASCS and SCS
comprise central instance.
Please clarify and thanks in advance.
Regards,
Sharath Babu M
+91-9003072891I am following as per the standard installation guide.
Regards
Sharath -
Pop-up windows with webutil and Forms
Hello,
We are using webutil for file transfer : webutil_file.xxx
But with oracle forms, it call a black windows to execute the command.
How to hide this windows?The pop-up is for a look up table. So for example they can
choose from a drop menu and if your choice is not there then they
can select add to look up and a pop-up open and allows then to
add/edit or delete fields in the look up table. I want to have the
pop-up window adjust dynamically to the size of the look-up
list....make sense?
You can check it out here.
Look
up edit
B -
Composing transparent images with WritableImage and PixelWriter
Hi all,
I am trying to port some Swing apps over to JavaFX and have encountered a problem with transparency.
My code is as follows:
WritableImage bgImage = new WritableImage(960, 240);
Image bgTile = new Image(getClass().getResourceAsStream("/resources/background.png"));
Image bgCloud = new Image(getClass().getResourceAsStream("/resources/cloud.png"));
PixelWriter bgWriter = bgImage.getPixelWriter();
for (int i = 0; i < 60; i++) {
bgWriter.setPixels(16 * i, 0, 16, 240, bgTile.getPixelReader(), 0, 0);
bgWriter.setPixels(20, 20, 96, 64, bgCloud.getPixelReader(), 0, 0);
bgWriter.setPixels(500, 20, 96, 64, bgCloud.getPixelReader(), 0, 0);The image background.png is 16x240 and is repeated 60 times along the X axis.
The image cloud.png is 96x64 and is pasted twice on top of the background.
The image cloud.png has transparent edges, but they aren't transparent in the resulting image, they end up being white.
Analogous code in Swing using a BufferedImage works just fine.
Am I missing something here ?Likely a bug as that form of setPixels is supposed to take transparency into account.
File it with an executable test case and image files to: https://forums.oracle.com/forums/ann.jspa?annID=1713
As a workaround, you could create a Canvas and put the images in the canvas. -
Can you build an iOS app on windows with dreamweaver and submit it to the apple store?
Hi
I am interested in starting to develop my own apps for the App Store,
I own a windows computer and I am wondering if its possible to build an app
In dreamweaver and then submit it through phonegap build to the apple store.
Can't seem to find the answer anywhere =(
Thanks,
NicI am interested in starting to develop my own apps for the App Store,
I own a windows computer and I am wondering if its possible to build an app
In dreamweaver and then submit it through phonegap build to the apple store.
I have an app in the App Store that I designed in Photoshop, developed in Dreamweaver CS6, and packaged with Adobe PhoneGap Build. The first three steps - design, development, and packaging I did on a Windows computer. But I used a Mac for my developer certificate and provisioning profile, as well as the finall step of preparing and submitting it to the App Store through Application Loader.
Here is some info: Building for iOS
You'll also need an Apple Developer account, and an Intel-based Mac running Mac OS X Snow Leopard or later to develop and distribute iOS apps. If you're building an app for a client, you'll use their developer account for the submission process.
Here is a little more info: iOS Developer Program -
Hello,
Recently I used a software requiring a large memory. And I have tried to allocate more memory for this application, and I find some interesting phenomena which is different from the case I searched from Internet. Therefore, I am very curious about the mechanism
of memory management of WoW64.
With default setting, my application can only apply for 1.6GB memory (less than 2 GB barrier). And I use increaseuserva command by BCDedit, and it worked. With this setting, it can apply for 144 MB more memory (far less than 3 GB described on MSDN https://msdn.microsoft.com/en-us/library/windows/desktop/aa366718(v=vs.85).aspx).
And then I modified the PE headers to add a LARGE_ADDRESS_AWARE flag, and it worked. The limit was changed to be 2.2GB, and it is far less than 4GB as they said!
What happened? How can I increase the limit to 4 GB?
I have tried two systems 64bit Win7 home premium and 64bit Windows10 TP.
Could anybody tell me what is the problem is?I'd try them over here.
http://answers.microsoft.com/en-us/windows
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. -
Terminal shows blank window with 80x24 and nothing happens
Hi!
I was trying to make Isync work with my unsupported nokia 6086 phone, and it required pasting text using vi editor. later I tried vim, and at some point just closed the terminal window. Now the terminal does not show bin/bash prompt, just a blank window where I can type anything, but nothing happens..
I tried to create another user account to reset the shell but same thing happens there..Same happened to me today trying to install Clang, did you find a fix for this? Thanks
-
Hi There:
With the new Safari 7.0, sometimes a new windows open with propaganda or publicity. That's very unusual because I block the new windows in Safari preferences.
What can I do. My new Safari are vulnerable.
Please Comment.
Hola :
Con el nuevo Safari 7.0, algunas veces se abren nuevas ventanas con propaganda o publicidad. Eso es inusual porque está bloqueada la apertura de v entanas emergentes en las preferencias de Safari.-
Que puedo hacer? El nuevo Safari es vulnerable?
Comenten por favor.From the Safari menu bar, select
Safari ▹ Preferences ▹ Extensions
Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.
Maybe you are looking for
-
Envy 4500 returns test page instead of scanned picture. No problem with text documents
Scanning pictures returns printer test page instead of jpeg as expected.
-
Internationalization in ABAP Webdynpro
Hi All, What is the methodology for implementing ABAP webdynpro. Can any body let me know what are the various possiblities for Internationlization. Regards Vijay
-
My mac os x 10.6 gets very hot which results to a jam sometimes.
It gets so hot when i charge it, and my battery condition is: replace soon, so is that the case and would it be solved if a get a new battery? Thank you.
-
/BI0/0200000157 in R3P10DATA type *FILE not found
Hi all, while exporting BW 3.5 database, I got this error : (EXP) ERROR: DbSlPrepare/BegRead failed rc = 103, table "/BI0/0200000157" (SQL error 204) error message returned by DbSl: /BI0/0200000157 in R3P10DATA type *FILE not found. MSGID= Job=
-
Where is a location of bios chip in HP G71-343US?
Do you know where is the loction of BIOS chip on HP G71-343US? Can you help?