THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Emmanuel Lepage Vallee (Elv13) 

Attached to Project - awesome
Summary - Tag index need to be reset when changing screen (or removed)
Task Type - Bug Report
Category - awful
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Normal
Reported Version - git/master
Due in Version - Undecided
Due Date - Undecided
Details - Hi,

When I try to move a tag from screen 2 to 1, awful.tag.gettags() add the tag at 
the "wrong" index. This is really not what is expect. In this example, I use 
awful.get.setscreen to move the tag and this code to print the output on some 
signals:

local new_tags = tag.gettags(s)
for k,v in ipairs(new_tags) do
    print(v.name,k,s,tag.getscreen(v),tag.getidx(v))
end

Here is the first one at the end of my rc.lua:


awesome() [0x40e089]
Term    1       1       1       1
Internet        2       1       1       2
Files   3       1       1       3
Develop 4       1       1       4
Edit    5       1       1       5
Media   6       1       1       6
Doc     7       1       1       7

Internet        1       2       2       1
IRC     2       2       2       2




Here is the one after setscreen:

Term    1       1       1       1
Internet        2       1       1       2
IRC     3       1       1       3
Files   4       1       1       4
Develop 5       1       1       5
Edit    6       1       1       6
Media   7       1       1       7
Doc     8       1       1       8


As you can see, IRC moved to 3 for no apparent reasons (it was on 2 in screen 
2). I think it should be added to the end, not at a random index. I also think, 
as stated in an other bug, that tag index should be removed completely as it is 
broken by design.

*I report this now not because it is a major critical regression, but because I 
still try to build a working taglist based on signals.

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=details&task_id=1241

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Reply via email to