Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resizing column won't make clipped names fully visible immediately #211

Open
GoogleCodeExporter opened this issue Jun 28, 2015 · 7 comments

Comments

@GoogleCodeExporter
Copy link

1.click new task button
2.enter a name.
3.examine display of task name.
4.move the mouse between the "Name" and "Begin date" column titles and notice 
the cursor change to a double arrow.  
5.hold down the left mouse button while dragging the mouse to the right until 
the column is resized to have enough space as you think would look good.  
6.examine display of task name.
7.move the mouse over the middle partition between the 2 left-right window 
panels that divide the task text (names, dates) from the graphic stuff.  
the cursor should change to a double arrow.
8.hold down the left mouse button while dragging the mouse to the right, until 
the panel is sized the way you think would have enough space for the text.
9. examine display of task name.

What do you see instead?
have to double click task and hit Esc key to make it display the task name 
without truncating the name with an ellipsis.  
this truncation does not go away if you resize the  task name section or the 

What is the expected output? 
applying an ellipsis should not be "sticky".  calculation of whether to replace 
"rest of string" with an ellipsis should be done on-the-fly during resizing to 
anything that is in the display window.
for large projects, it would cause too much useless cpu overhead in string 
processing to process extremely large projects that involve multiple project 
files, when you can simply if-then-else it out regarding the display window.

What version of the product are you using? 2.0.10

On what operating system? XP Pro sp3 32-bit, 3GB ram, pentium 4 HT (1 core 2 
threads)

Please provide any additional information below.
for a semi-java pseudocode example: 
if task[i] is in displaywindow then
    numChars = display.taskname.widthInPixels / font.widthInPixels //find out width of display taskname in characters
    if (task[i].text.length() <= numChars) then
        display.taskname.text = task[i].text
    else 
    /*not a 
        if (numChars <= 3) then
            display.taskname.text = "...".substr(0,numChars)
        else
            display.taskname.text = task[i].taskname.substr(0,numChars-3)+"..." //assuming 2nd arg of substr is number of characters rather than char position
        endif
    endif
endif
/* if the task is in the display window, then the following operations will be 
performed:

Original issue reported on code.google.com by jmich...@yahoo.com on 9 Mar 2011 at 4:32

@GoogleCodeExporter
Copy link
Author

May I ask you to record a video? On my GP 2.0.10 running on Mac and GP Praha 
running on Linux when I do step 8 I eventually get a horizontal scroll bar. 
Name column remains wide enough to hold the whole name with no ellipsis.

Original comment by dbarashev on 9 Mar 2011 at 10:57

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

I can use wink to export the video in swf format and put it on my format.  
http://JesusnJim.com/z/ganttbug2.htm
the last operation I do in the video is click on the task.



Original comment by jmich...@yahoo.com on 10 Mar 2011 at 9:11

@GoogleCodeExporter
Copy link
Author

Sorry, but the video image size is extremely small, I can't see anything. Is it 
possible to get a reasonably sized picture?

Original comment by dbarashev on 25 Mar 2011 at 11:02

@GoogleCodeExporter
Copy link
Author

I used debugmode.com's wink for windows.  I think I used dreamweaver CS5 to 
make the web page, however, I have just learned I should have used wink to make 
the web page, it works much better.  enjoy your 1182x765 I think it is.

that's the original's size.

Original comment by jmich...@yahoo.com on 26 Mar 2011 at 4:20

@GoogleCodeExporter
Copy link
Author

it works now. try the refresh button on your browser. the code output by wink 
does not work when put on a web site in a subdirectory and I can't explain why. 
 I examined all the code and it looks perfect, but it just doesn't work.  so I 
redid it in dreamweaver and had to resize the display.

Original comment by jmich...@yahoo.com on 27 Mar 2011 at 3:40

@GoogleCodeExporter
Copy link
Author

Thanks.

Original comment by dbarashev on 27 Mar 2011 at 4:26

  • Changed title: Resizing column won't make clipped names fully visible immediately
  • Changed state: Accepted
  • Added labels: TasksTable, UI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant