You are not logged in.
Offline
~ >>> for i in $(loliclip -h | grep -o "text/.*"); do loliclip -b "$i"; echo "\n----"; done
\n----
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\n----
\n----
ÿþBeginners' subforum for general Arch issues. Please consult the
excellent Arch wiki and web before posting. Also try the forum search
function at the upper left.\n----
~ >>>
this is when you follow steps from before, just after 8:
1. Kill all running loliclip processes.
2. Delete .local/share/loliclip/
3. Start loliclip.
4. Open Firefox, go to bbs.archlinux.org, copy this text below newbie corner subforum (not this one, the one on the forum website).Beginners' subforum for general Arch issues. Please consult the excellent Arch wiki and web before posting. Also try the forum search function at the upper left.
5. Close Firefox.
6. Open gcw, write "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" (don't paste this or anything, write with your keyboard), copy it.
7. Close gcw.
8. Open Firefox, go to Gmail, compose new mail, paste in mail contents area.
Last edited by karabaja4 (2012-10-21 12:41:53)
Offline
There you go.
\n----
\n----
\n----
ÿþYou've reached the website for <strong>Arch Linux</strong>, a
lightweight and flexible Linux® distribution that tries to Keep It
Simple.\n----
EDIT: I can select aaaaaaaaaaa in lolictrl.
Last edited by Šaran (2012-10-21 12:41:37)
Offline
Seems like the Beginners forum text is in some selection.. This is the same bug as the libreoffice one and the CLEAR_SELECTIONS will remedy it. And there is no easy workaround since I can't decide in which order to give the selections to application.
for i in $(loliclip -h | grep -o "text/.*"); do loliclip -b "$i"; echo -e "\n--$i--"; done
Can you give me output with this again, so I know from which selection it is, thanks.
Last edited by Cloudef (2012-10-21 12:47:42)
Offline
That line is identical to the one you gave before?
Offline
~ >>> for i in $(loliclip -h | grep -o "text/.*"); do loliclip -b "$i"; echo -e "\n--$i--"; done
--text/uri-list--
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
--text/plain--
--text/richtext--
ÿþBeginners' subforum for general Arch issues. Please consult the
excellent Arch wiki and web before posting. Also try the forum search
function at the upper left.
--text/html--
I should mention that if I try to paste in gcw in the last step instead of Gmail textbox, it works fine and pastes "aaaaaaaaaaaaaaaa...".
Last edited by karabaja4 (2012-10-21 12:53:04)
Offline
--text/uri-list--
--text/plain--
--text/richtext--
ÿþYou've reached the website for <strong>Arch Linux</strong>, a
lightweight and flexible Linux® distribution that tries to Keep It
Simple.
--text/html--
EDIT: It pastes aaaaaaaaaaaa in recipient field in gmail (or in text field in dwb), but text field gets Arch text.
Last edited by Šaran (2012-10-21 12:53:58)
Offline
P.S. I edited the post above. I missed the last line that said "--text/html--".
Offline
Yeah, the text is in text/html, where firefox takes it from.
Can you try put these to 1 in config.h:
REGISTER_SELECTION("text/plain", 1),
REGISTER_SELECTION("text/richtext", 1),
REGISTER_SELECTION("text/html", 1),
Does it still happen? This is quite bad workaround.. And I think making CLEAR_SELECTIONS default would be better.
EDIT: Actually, I have good idea.. brb
Last edited by Cloudef (2012-10-21 12:57:07)
Offline
Still the same.
Offline
One more thing - I'm not sure if this comes from dwb or loliclip.
Copying from dwb's command line (or current url or new tab field) with ctrl+c only closes dialog (nothing in lolictrl or "for i in $(loli...)", but right click copy works.
Offline
Pushed update to git, can you test again and post the output of the command before.
One more thing - I'm not sure if this comes from dwb or loliclip.
Copying from dwb's command line (or current url or new tab field) with ctrl+c only closes dialog (nothing in lolictrl or "for i in $(loli...)", but right click copy works.
That's dwb.
Offline
--text/uri-list--
ÿþBeginners' subforum for general Arch issues. Please consult the
excellent Arch wiki and web before posting. Also try the forum search
function at the upper left.
--text/plain--
ÿþBeginners' subforum for general Arch issues. Please consult the
excellent Arch wiki and web before posting. Also try the forum search
function at the upper left.
--text/richtext--
ÿþBeginners' subforum for general Arch issues. Please consult the
excellent Arch wiki and web before posting. Also try the forum search
function at the upper left.
--text/html--
Still no aaaaaaaaaaaaa.
Offline
It works now for me, it pastes aaaaaaaaaaa
~ >>> for i in $(loliclip -h | grep -o "text/.*"); do loliclip -b "$i"; echo -e "\n--$i--"; done
--text/uri-list--
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
--text/plain--
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
--text/richtext--
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
--text/html--
Why doesn't it work for Šaran now ... ?
Last edited by karabaja4 (2012-10-21 13:56:49)
Offline
Now it's different but it still works:
~ >>> for i in $(loliclip -h | grep -o "text/.*"); do loliclip -b "$i"; echo -e "\n--$i--"; done
--text/uri-list--
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
--text/plain--
--text/richtext--
--text/html--
Cloudef, could you please elaborate a bit on what was wrong?
Offline
New problem - now copying images in Gimp doesn't work (after you copy, close Gimp, open it and try to paste the copied image).
Offline
New problem - now copying images in Gimp doesn't work (after you copy, close Gimp, open it and try to paste the copied image).
Should be fixed now.
Cloudef, could you please elaborate a bit on what was wrong?
There was nothing wrong. I just introduced new options to config.h that allows to workaround the issue, without using CLEAR_SELECTIONS.
Basically the special selections marked with reset bit, gets reset when new data is copied.
Also now every special clipboard can have their own shared data block, or sperate one.
Last edited by Cloudef (2012-10-21 14:25:34)
Offline
I think everything works now.
Thanks for your effort!
Offline
It doesn't work here. I have tried removing loliclip, history, rebuilding few times, and even rebooting.
--text/uri-list--
--text/plain--
--text/richtext--
ÿþBeginners' subforum for general Arch issues. Please consult the
excellent Arch wiki and web before posting. Also try the forum search
function at the upper left.
--text/html--
Offline
It doesn't work here. I have tried removing loliclip, history, rebuilding few times, and even rebooting.
Even before this latest change, your output of the "for i" line was different from mine. You are probably doing something different to reproduce the bug.
If you would write your exact steps we could try to reproduce it exactly.
P.S. Also, make sure you have the latest git version (2.4-3).
Last edited by karabaja4 (2012-10-21 15:38:02)
Offline
I have 2.4-3.
I'm doing everything like you do, only difference is Geany instead of gcw.
Kill loliclip, delete ~/.local/share/loliclip, start loliclip deamonised (-d).
Copy text on Arch forums in Firefox, then close it.
Open geany, type aaaaaa and copy it. Close geany.
Open Gmail in Firefox and paste in new mail. I get text from forum in new mail, but aaaaaa in everything else.
I can't paste aaaaaaaa in Gmail even if I select it in lolictrl.
Offline
I have 2.4-3.
I'm doing everything like you do, only difference is Geany instead of gcw.Kill loliclip, delete ~/.local/share/loliclip, start loliclip deamonised (-d).
Copy text on Arch forums in Firefox, then close it.
Open geany, type aaaaaa and copy it. Close geany.
Open Gmail in Firefox and paste in new mail. I get text from forum in new mail, but aaaaaa in everything else.
I can't paste aaaaaaaa in Gmail even if I select it in lolictrl.
I'm not able to reproduce with your steps. Do you have modified config.h?
Does this happen even if you use CLEAR_SELECTIONS bitflag?
Offline
My config.h isn't modified and it works with CLEAR_SELECTIONS.
Offline