
Copy link to clipboard
Copied
Whenever I do ctrl +c to select a something the whole stylesheet gets selected. And that is not what I want.
Even is I want to copy something from an other css into the css I am working on it won't do the job.
Anyone having the same problem and found a solution?
1 Correct answer
Forgive me as I'm new to DW CS4, but I may have a solution. I encountered the css copy problem as well, but I turned off (unchecked) "Enable Related Files" (Edit -> Preferences -> General -> Document Options -> Enable Related Files). I had to restart Dreamweaver, but this seems to have fixed the bug.
I've never used the "Enable Related Files" feature, so it's not a big deal to me - much less of a big deal than not being able to copy and paste. At least it seems to be a stable work around to t
...Copy link to clipboard
Copied
> I'm sorry but that is entirely irrelevant here. DW is a commercial product
> which is part of an expensive commercial suite of products which one can
> reasonably expect to work as promoted.
I agree, but this is a user-to-user forum. Murray and I can only tell
you about our own experiences. We are not Adobe employees and cannot do
anything about your bug. I have, however, emailed the product manager
alerting him to the concerns expressed here.
--
David Powers
Adobe Community Expert, Dreamweaver
http://foundationphp.com
Copy link to clipboard
Copied
I reckon this bug might be more prevalent than you think.
Copy link to clipboard
Copied
Although I work entirely in php these days, I just had cause to open an old script with sections of php mixed with sections of HTML. When attempting to copy a line or character of php code, DW selects the entire section of php code but no more. At the same time, the arrows and vertical line in the side margin show the entire (DW) selected block of code.
...so it's not just the whole script that gets selected!
Copy link to clipboard
Copied
I will fill out the bug report form as well
Copy link to clipboard
Copied
Thank you for emailing the product manager. I hope that he bumps this bug up the order of priorities because I really don't want to have to start learning a new app interface after all these years of using DW.
Copy link to clipboard
Copied
I highly suspect the "Element View" (right click on a div in design view) has something to do with it since it seems to want to select whole-blocks as though the element views were set to "hidden."
Does anyone have a quicker work-around?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
The bug only occurs when one first switches to a page/script, so if one is working on a single script then it will only show itself until one carries out an action that negates it e.g. when first selecting a script, place the cursor anywhere among the code, press return, then delete. Once this is done the bug remains hidden until another script is selected.
As mentioned above, the area that is selected by the bug is limited to the current section of php (for example) if one is working on a script with both php and html within.
So, if you work with single scripts and do not hand-code, you may not notice the bug but if like me you are constantly cutting or copying and pasting code from script to script, this is a serious impediment to work flow efficiency.
Copy link to clipboard
Copied
> Further info about the bug now that I am using DW4 more...
That's useful information. I'll pass it on to the QA team to see if it
helps them identify the cause.
Small nitpick, it's DW CS4. DW4 is an ancient version. Confusing name, I
know, but referring to the wrong one could give the incorrect impression
that you're talking about an ancient version that's no longer supported.
--
David Powers
Adobe Community Expert, Dreamweaver
http://foundationphp.com
Copy link to clipboard
Copied
quote:
Originally posted by: Newsgroup User
Small nitpick, it's DW CS4. DW4 is an ancient version. Confusing name, I
know, but referring to the wrong one could give the incorrect impression
that you're talking about an ancient version that's no longer supported.
Noted - thank you.
Copy link to clipboard
Copied
news:gqfmsj$kn9$1@forums.macromedia.com...
> Roy Sinclair wrote:
>> Further info about the bug now that I am using DW4 more...
>
> That's useful information. I'll pass it on to the QA team to see if it
> helps them identify the cause.
>
> Small nitpick, it's DW CS4. DW4 is an ancient version. Confusing name, I
> know, but referring to the wrong one could give the incorrect impression
> that you're talking about an ancient version that's no longer supported.
I didn't know Adobe was still supporting Dreamweaver CS4. That's good to
know :-)
--
Al Sparber - PVII
http://www.projectseven.com
Dreamweaver Menus | Galleries | Widgets
http://www.projectseven.com/go/apm
An Accessible & Elegant Accordion
Copy link to clipboard
Copied
> I didn't know Adobe was still supporting Dreamweaver CS4. That's good to
> know :-)
:-)
--
David Powers
Adobe Community Expert, Dreamweaver
http://foundationphp.com
Copy link to clipboard
Copied
Copy link to clipboard
Copied
> Update: After restarting my Mac at the weekend and opening only DW CS4, Firefox
> and Mail, the bug is no longer apparent. This means that it is probably being
> triggered by another app, or a sub-app within CS4. This is good news (that it
> might be traceable) so I will watch for it returning then note what I did and
> will report back.
Please do. Several people seem to have this problem, but most people are
not affected. Tracking down the trigger is the key to solving this mystery.
--
David Powers
Adobe Community Expert, Dreamweaver
http://foundationphp.com

Copy link to clipboard
Copied
Copy link to clipboard
Copied
I am experiencing a copy-paste problem very similar to that described in this thread. Thankfully, I was able to find this thread and hence a workaround. For me, copy-paste in an HTML document simply didn't work in my custom workspace. The text selection would highlight properly and when I pressed Ctrl-C the highlight color would change. When pressing Ctrl-V, however, the only thing that happened was that the selection highlight disappeared. The text was not copied.
Switching my workspace to Classic and back has fixed the problem for now. I've only just discovered the problem (I'm a new user and this is my first custom workspace) so I don't know how it will play out over time. Thanks to the people in this thread, however, I have an apparent workaround. 8^)
Copy link to clipboard
Copied
Forgive me as I'm new to DW CS4, but I may have a solution. I encountered the css copy problem as well, but I turned off (unchecked) "Enable Related Files" (Edit -> Preferences -> General -> Document Options -> Enable Related Files). I had to restart Dreamweaver, but this seems to have fixed the bug.
I've never used the "Enable Related Files" feature, so it's not a big deal to me - much less of a big deal than not being able to copy and paste. At least it seems to be a stable work around to the "css copy paste" problem.
Hope it helps! Let me know if this resolves the issue for anyone else.
-- Trevor
Vista Home Premium 64
DW CS4 Version 10.0 Build 4117

Copy link to clipboard
Copied
NOT really a fix, Turning OFF related files, is a burden, if you have become accustomed to using it! I like to see the list of related files and quickly click on one to start editing without the need to go to the site pane and find it there! Especially when working with php, all the includes are listed in order of occurance. Very NICE
I have this same issue, WHAT A PAIN.. if you click out side of DW on another app and then back in, the problem dissapears for a little while. then comes back..
I am on xp 64 dual monitor also. This seems to be common.
I wish there was a real fix for this issue!!
Copy link to clipboard
Copied
Specifically regarding the alleged "turn off 'related files'" fix: it doesn't fix the problem for me. I have had that feature off the entire time.
Copy link to clipboard
Copied
I too am experiencing this issue, and it looks like I am not alone. I too am using DW CS4, Vista 64-bit, with dual monitors. Others' descriptions of the bug are close to or mirror my own.
While this thread has not yet identified a specific series of actions to reproduce the bug, that doesn't mean that one doesn't exist, and meanwhile we have identified many similarities among users who do experience the bug:
1. DW CS4
2. Vista 64 bit
3. Dual Monitors
4. Just opened a file
5. The user attempts to highlight and copy a specific set of text, but a larger set is highlighted or copied.
6. The problem stops when the user takes some sort of textual editing action, e.g. typing a character and then deleting it.
This should be helpful in isolating the bug. I will file a bug report, and I am sure that volume matters in addition to content, so others should do the same.
This impacts some of Adobe's most important users - those who are doing serious enough work that they actually work across 2 monitors and went for 64-bit OS's. I don't think that Adobe should simply ignore this audience or this issue.
Unfortunately, Adobe does not frequently push out bug fixes to DW. This is bad enough that my workaround may be to simply use a different, non-Adobe product (e.g. Zend Studio). Selecting and copying text needs to work for me to do my job.

Copy link to clipboard
Copied
The copy/paste problem I've encountered has also been intermittent. What happens in my case is that the entire file is copied and then a new file is created, a copy of course. The only remedy I've found has been to stop/restart DW, which is a time-consuming pain.
Copy link to clipboard
Copied
Well, I have the same problem and am looking hard for a solution. So far none found. This problem is not related to CSS only. When I develop PHP scripts, I get the same.
Testcase 1
I tried to reproduce the bug with the following code in a file:
<?php
function some_function($str)
{
// just a comment
}?>
When I open the file and try to select and copy the function name (some_function), the whole page gets selected. I tried to select with double click and click and drag, both with the same bug. Also tried to copy with CTRL + C and copy command from context menu, also with same bug result.
But, when I open the file and type something random somewhere and the try to copy the function name. All goes as planned.
Testcase 2
<?php
function some_function($str)
{
// just a comment
}
?>
<html>
<head>
</head><body>
</body>
</html>
Tried the same as in testcase 1 (select and copy name of function), this time not the whole doc gets selected, but only the PHP part (from <?php to ?>). Also tried to copy the <html> tag, but fails.
Testcase 3
<?php
function some_function($str)
{
// just a comment
}?>
<html>
<head>
</head><body>
</body>
</html>
<?function another_function()
{
}?>
This case got some other weird bug. When I click after the last ?> (at the end of the document) and try to select all using CTRL + A, nothing gets selected. When I click inside a PHP code block and press CTRL + A, only that PHP code block gets selected, instead of the whole document.
Also when I click after the </html> tag and press the arrow down key on the keyboard (to place the cursor before <?), the whole PHP code block is selected. When I try to copy this selection, it works.
Hope someone at Adobe can reproduce and identify the bug with above information.
Cheers, Roel
Copy link to clipboard
Copied
Hope someone at Adobe can reproduce and identify the bug with above information.
Information like that should be useful in tracking down the problem. However, the forums are not regularly monitored by the Dreamweaver development team. Please submit the details through the official bug report form.
Copy link to clipboard
Copied
That's a shame. Anyway, I filled in the form. Hope it helps. Thanks for giving the link to the form.

Copy link to clipboard
Copied
I am having a similar issue (in HTML, PHP and JS files) and have been using PHP in my files as well. Not sure if that's when it started. But, I have been able to use Paste Special to paste text into my code in Dreamweaver CS4.
