Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

css copy paste problem in Dreamweaver CS4

Guest
Mar 01, 2009 Mar 01, 2009
Having a problem in CS4 when I want to copy and paste things in my stylesheet.
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?
42.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Apr 27, 2009 Apr 27, 2009

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

...
Translate
replies 116 Replies 116
LEGEND ,
Mar 24, 2009 Mar 24, 2009
Roy Sinclair wrote:
> 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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 24, 2009 Mar 24, 2009
Oh; and another thing: for every user who takes the trouble to post about a problem on a forum somewhere in the big wide interweb, there are probably many dozens more who just accept the bug not ever dreaming that they might be able to influence a fix, or simply not being bothered to try and do something about it.

I reckon this bug might be more prevalent than you think.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 24, 2009 Mar 24, 2009
New information about bug...

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!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 24, 2009 Mar 24, 2009
I just wanted to let everyone know that I'm having this problem on my Mac OS X 10.5.6. Deleted config files, rebooted program, still have the same issue.

I will fill out the bug report form as well
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 24, 2009 Mar 24, 2009
Yes I realise that David. If you look at where I came in a few hours ago, I was mearly letting people know that I had raised a support ticket for this issue. Murray and yourself kept the thread going, to which I naturally responded - as one does when conversing.

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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Mar 24, 2009 Mar 24, 2009
My current work-around (until Adobe pushes out a patch) is to quickly change workspaces (saved pallet locations) to some random workspace and then back to my workspace. This seems to reset some bit inside Dreamwaver getting the code-selection working again TEMPORARILY (it will eventually creep back in).

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?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 25, 2009 Mar 25, 2009
I haven't really found a workaround. One thing I did notice, though, is that if I work with the code in the Code Inspector as opposed to the Code View it doesn't happen. So, I'll now have to just use F10 a whole lot. Still not an ideal workflow that's for sure. Hope they fix it soon!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 26, 2009 Mar 26, 2009
Further info about the bug now that I am using DW4 more...

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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 26, 2009 Mar 26, 2009
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.

--
David Powers
Adobe Community Expert, Dreamweaver
http://foundationphp.com
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 26, 2009 Mar 26, 2009
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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 26, 2009 Mar 26, 2009
"David Powers" <david@example.com> wrote in message
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




Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 26, 2009 Mar 26, 2009
Al Sparber - PVII wrote:
> I didn't know Adobe was still supporting Dreamweaver CS4. That's good to
> know :-)

:-)

--
David Powers
Adobe Community Expert, Dreamweaver
http://foundationphp.com
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 30, 2009 Mar 30, 2009
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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 30, 2009 Mar 30, 2009
Roy Sinclair wrote:
> 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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 02, 2009 Apr 02, 2009
I just submitted a bug report. I have exactly the same problem you all mention here and have tried all the things you all have tried and I'm still having this annoying issue. I'm on a PC, using CS4. As much as I paid for this product, I'd really like some help from Adobe on fixing this bug. Please.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 12, 2009 Apr 12, 2009

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^)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 27, 2009 Apr 27, 2009

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 07, 2009 May 07, 2009

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!!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 07, 2009 May 07, 2009

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 07, 2009 May 07, 2009

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 07, 2009 May 07, 2009

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 19, 2009 May 19, 2009

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 19, 2009 May 19, 2009

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 19, 2009 May 19, 2009

That's a shame. Anyway, I filled in the form. Hope it helps. Thanks for giving the link to the form.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 26, 2009 Jun 26, 2009

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines